/* ============================================================
   qyi01 · mipcms.css
   基于 xjztyt.com qy_anime 风格（二次元 IP 运营 · 樱花粉系 → 樱花粉）
   主色 #ec4899 / CTA #38bdf8 / 强调 #c084fc
   主题: 国风/仙侠 / 品牌: 云樱物语
   ============================================================ */

:root {
  --qyi-primary: #ec4899;
  --qyi-primary-hover: #ec4899;
  --qyi-cta: #38bdf8;
  --qyi-cta-hover: #38bdf8;
  --qyi-accent: #c084fc;
  --qyi-danger: #ef4444;
  --qyi-success: #10b981;
  --qyi-bg: #1a0f1f;
  --qyi-bg-2: #24142b;
  --qyi-bg-3: #2f1c39;
  --qyi-bg-soft: #422649;
  --qyi-overlay: #ec489924;
  --qyi-border: rgba(255, 255, 255, .08);
  --qyi-border-strong: #ec489966;
  --qyi-text: #e5e7eb;
  --qyi-text-2: #e5e7ebcc;
  --qyi-muted: #e5e7eb80;
  --qyi-shadow-sm: 0 2px 8px rgba(0, 0, 0, .4);
  --qyi-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  --qyi-shadow-lg: 0 16px 40px rgba(0, 0, 0, .6);
  --qyi-radius: 12px;
  --qyi-radius-sm: 8px;
  --qyi-radius-lg: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--qyi-text);
  background: var(--qyi-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--qyi-primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--qyi-cta); text-decoration: none; }

h1, h2, h3, h4, h5, h6 { font-weight: 600; color: var(--qyi-text); margin: 0 0 12px; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }

img { max-width: 100%; height: auto; }
code, pre { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; }

/* ===== Layout ===== */
.qyi-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.qyi-section { padding: 72px 0; position: relative; overflow: hidden; }
.qyi-section-alt { background: var(--qyi-bg-2); }
.qyi-section-head { text-align: center; margin-bottom: 40px; }
.qyi-section-head h2 { color: var(--qyi-text); margin-bottom: 8px; }
.qyi-section-head p { color: var(--qyi-muted); font-size: 15px; }

/* ===== Navbar ===== */
.qyi-header {
  background: rgba(11, 22, 34, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--qyi-border);
  z-index: 1030;
}
.qyi-header .navbar { padding: .6rem 0; }
.qyi-brand-name {
  font-weight: 800; font-size: 19px; color: var(--qyi-text); letter-spacing: .5px;
}
.qyi-brand-name em { font-style: normal; color: var(--qyi-primary); }
.qyi-brand-img { height: 36px; width: auto; display: block; object-fit: contain; }
.qyi-nav-link {
  color: var(--qyi-text-2) !important; font-size: 14px; font-weight: 500;
  padding: 8px 14px !important; border-radius: 6px; transition: all .15s;
}
.qyi-nav-link:hover, .qyi-nav-link.active {
  color: var(--qyi-primary) !important; background: var(--qyi-overlay);
}

/* ===== Hero ===== */
.qyi-top {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #1a0f1f 0%, #24142b 50%, #2f1c39 100%);
  position: relative; overflow: hidden;
}
.qyi-top::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 30%, #ec489922 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, #38bdf822 0%, transparent 50%);
  pointer-events: none;
}
.qyi-tag {
  display: inline-block; padding: 6px 16px;
  background: #ec489933; color: #ec4899;
  border: 1px solid #ec489966; border-radius: 20px;
  font-size: 13px; font-weight: 500; margin-bottom: 20px;
}
.qyi-h1 {
  font-size: 48px; font-weight: 800; color: var(--qyi-text);
  line-height: 1.15; margin-bottom: 16px;
}
.qyi-h1 em {
  font-style: normal; font-size: 22px; font-weight: 600;
  color: #ec4899; display: block; margin-top: 8px;
  letter-spacing: 4px;
}
.qyi-lead {
  font-size: 16px; color: var(--qyi-text-2); margin-bottom: 28px; line-height: 1.7;
}
.qyi-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.qyi-btn-main {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: var(--qyi-primary); color: #fff;
  border-radius: 10px; font-size: 15px; font-weight: 600;
  border: 0; cursor: pointer; transition: all .2s;
  text-decoration: none;
}
.qyi-btn-main:hover { background: var(--qyi-cta); transform: translateY(-2px); color: #fff; text-decoration: none; }
.qyi-btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; background: transparent; color: var(--qyi-text);
  border: 1px solid var(--qyi-border-strong); border-radius: 10px;
  font-size: 15px; font-weight: 500; transition: all .2s;
  text-decoration: none;
}
.qyi-btn-ghost:hover { background: var(--qyi-overlay); color: var(--qyi-primary); text-decoration: none; }
.qyi-meta { display: flex; gap: 24px; flex-wrap: wrap; color: var(--qyi-text-2); font-size: 14px; }
.qyi-meta b { color: var(--qyi-primary); font-size: 22px; margin-right: 6px; }

/* ===== Stage (3 character cards) ===== */
.qyi-stage {
  position: relative; padding: 24px;
  min-height: 380px;
}
.qyi-petal {
  position: absolute; font-size: 28px; color: #ec4899;
  animation: qyiPetalFloat 6s ease-in-out infinite;
  pointer-events: none;
}
.qyi-pt-1 { top: 10%; left: 5%; animation-delay: 0s; }
.qyi-pt-2 { top: 20%; right: 8%; animation-delay: 1s; color: #38bdf8; }
.qyi-pt-3 { bottom: 25%; left: 12%; animation-delay: 2s; color: #c084fc; }
.qyi-pt-4 { bottom: 10%; right: 5%; animation-delay: 3s; }
@keyframes qyiPetalFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -20px) rotate(45deg); }
}
.qyi-card {
  background: #24142b; border: 1px solid #ec489955;
  border-radius: 16px; padding: 24px;
  position: relative; overflow: hidden;
  transition: all .3s;
  margin-bottom: 14px;
}
.qyi-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px #ec489944; }

  .qyi-card-1 {
    background: linear-gradient(135deg, #ec489933, #c084fc22);
    border: 1px solid #ec489966;
    box-shadow: 0 8px 24px #ec489933;
  }
  .qyi-card-1::before {
    background: #ec4899;
  }
  .qyi-card-2 {
    background: linear-gradient(135deg, #ec489933, #c084fc22);
    border: 1px solid #ec489966;
    box-shadow: 0 8px 24px #ec489933;
  }
  .qyi-card-2::before {
    background: #ec4899;
  }
  .qyi-card-3 {
    background: linear-gradient(135deg, #ec489933, #c084fc22);
    border: 1px solid #ec489966;
    box-shadow: 0 8px 24px #ec489933;
  }
  .qyi-card-3::before {
    background: #ec4899;
  }
.qyi-c-no {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: #ec4899; background: #ec489922;
  padding: 2px 8px; border-radius: 4px; margin-bottom: 8px;
}
.qyi-card h5 { font-size: 20px; color: var(--qyi-text); margin-bottom: 4px; }
.qyi-card p { font-size: 13px; color: var(--qyi-muted); margin: 0; }

/* ===== Solutions (6 services) ===== */
.qyi-sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qyi-sol {
  background: var(--qyi-bg-2); border: 1px solid var(--qyi-border);
  border-radius: var(--qyi-radius); padding: 28px 24px;
  transition: all .25s; position: relative; overflow: hidden;
}
.qyi-sol::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--qyi-primary), var(--qyi-cta));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.qyi-sol:hover { border-color: var(--qyi-primary); transform: translateY(-3px); }
.qyi-sol:hover::before { transform: scaleX(1); }
.qyi-sol-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #ec489922; color: #ec4899;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.qyi-sol h4 { font-size: 17px; color: var(--qyi-text); margin-bottom: 8px; }
.qyi-sol p { font-size: 13px; color: var(--qyi-muted); line-height: 1.6; margin: 0; }

/* ===== IP Grid ===== */
.qyi-ips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.qyi-i {
  background: #24142b; border: 1px solid var(--qyi-border);
  border-radius: var(--qyi-radius); padding: 18px;
  text-align: center; transition: all .25s; cursor: pointer;
  text-decoration: none; color: var(--qyi-text);
}
.qyi-i:hover { border-color: var(--qyi-primary); transform: translateY(-2px); text-decoration: none; color: var(--qyi-text); }
.qyi-i-img {
  width: 100%; aspect-ratio: 1/1;
  background: linear-gradient(135deg, #ec489933, #38bdf822);
  border-radius: 10px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #ec4899;
}
.qyi-i-name { font-size: 14px; font-weight: 600; }
.qyi-i-flag {
  display: inline-block; font-size: 11px; padding: 2px 8px;
  background: #ec489922; color: #ec4899;
  border-radius: 4px; margin-top: 6px;
}

/* ===== Shop (products) ===== */
.qyi-shop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.qyi-sp {
  background: #24142b; border: 1px solid var(--qyi-border);
  border-radius: var(--qyi-radius); overflow: hidden;
  transition: all .25s; text-decoration: none; color: var(--qyi-text);
}
.qyi-sp:hover { transform: translateY(-3px); box-shadow: var(--qyi-shadow); text-decoration: none; color: var(--qyi-text); }
.qyi-sp-img {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #ec489944, #c084fc22);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: #ec4899;
}
.qyi-sp-body { padding: 14px 16px; }
.qyi-sp-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.qyi-sp-cat { font-size: 12px; color: var(--qyi-muted); }

/* ===== Expos (4 events) ===== */
.qyi-ex { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.qyi-ex-i {
  display: flex; align-items: center; gap: 16px;
  background: #24142b; border: 1px solid var(--qyi-border);
  border-radius: var(--qyi-radius); padding: 18px 20px;
  transition: all .2s;
}
.qyi-ex-i:hover { border-color: var(--qyi-primary); }
.qyi-ex-num {
  font-size: 36px; font-weight: 800; color: #ec4899;
  min-width: 60px; font-family: 'Courier New', monospace;
}
.qyi-ex-name { font-size: 15px; font-weight: 600; color: var(--qyi-text); margin-bottom: 4px; }
.qyi-ex-time { font-size: 12px; color: var(--qyi-muted); }

/* ===== Voices (3 profiles) ===== */
.qyi-vo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qyi-vc {
  background: #24142b; border: 1px solid var(--qyi-border);
  border-radius: var(--qyi-radius); padding: 24px; text-align: center;
  transition: all .25s;
}
.qyi-vc:hover { transform: translateY(-3px); border-color: var(--qyi-primary); }
.qyi-vc-av {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #ec489944, #38bdf844);
  margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #ec4899; font-weight: 700;
}
.qyi-vc-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.qyi-vc-role { font-size: 13px; color: #ec4899; margin-bottom: 4px; }
.qyi-vc-work { font-size: 12px; color: var(--qyi-muted); }

/* ===== Anime (3 series) ===== */
.qyi-an { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qyi-an-q {
  background: #24142b; border: 1px solid var(--qyi-border);
  border-radius: var(--qyi-radius); overflow: hidden;
  transition: all .25s; text-decoration: none; color: var(--qyi-text);
}
.qyi-an-q:hover { transform: translateY(-3px); box-shadow: var(--qyi-shadow); text-decoration: none; color: var(--qyi-text); }
.qyi-an-img {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #ec489933, #c084fc22);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: #ec4899;
}
.qyi-an-body { padding: 16px 18px; }
.qyi-an-name { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.qyi-an-time { font-size: 13px; color: #ec4899; }

/* ===== News ===== */
.qyi-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qyi-news-c {
  background: #24142b; border: 1px solid var(--qyi-border);
  border-radius: var(--qyi-radius); padding: 20px;
  transition: all .25s; text-decoration: none; color: var(--qyi-text);
}
.qyi-news-c:hover { border-color: var(--qyi-primary); text-decoration: none; color: var(--qyi-text); }
.qyi-news-meta { font-size: 12px; color: var(--qyi-muted); margin-bottom: 6px; }
.qyi-news-title { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.qyi-news-desc { font-size: 13px; color: var(--qyi-muted); line-height: 1.5; }

/* ===== CTA ===== */
.qyi-cta-sec {
  background: linear-gradient(135deg, #ec4899 0%, #38bdf8 100%);
  border-radius: var(--qyi-radius-lg);
  padding: 56px 36px; text-align: center;
  position: relative; overflow: hidden;
}
.qyi-cta-sec::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.1) 0%, transparent 60%);
}
.qyi-cta-sec h2 { color: #fff; font-size: 28px; margin-bottom: 12px; position: relative; }
.qyi-cta-sec p { color: rgba(255,255,255,.85); font-size: 15px; margin-bottom: 24px; position: relative; }
.qyi-cta-sec .qyi-btn-main { background: #fff; color: #ec4899; }
.qyi-cta-sec .qyi-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

/* ===== Footer ===== */
.qyi-footer {
  background: #24142b; border-top: 1px solid var(--qyi-border);
  padding: 48px 0 24px; margin-top: 60px;
}
.qyi-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.qyi-footer-title { font-size: 14px; font-weight: 600; color: var(--qyi-text); margin-bottom: 14px; }
.qyi-footer-desc { font-size: 13px; color: var(--qyi-muted); line-height: 1.6; }
.qyi-footer-links { list-style: none; padding: 0; margin: 0; }
.qyi-footer-links li { margin-bottom: 8px; }
.qyi-footer-links a { color: var(--qyi-muted); font-size: 13px; }
.qyi-footer-links a:hover { color: var(--qyi-primary); }
.qyi-footer-copy {
  text-align: center; color: var(--qyi-muted); font-size: 12px;
  padding-top: 20px; border-top: 1px solid var(--qyi-border);
}

/* ===== Article ===== */
.qyi-article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.qyi-article-c {
  background: #24142b; border: 1px solid var(--qyi-border);
  border-radius: var(--qyi-radius); padding: 24px;
  transition: all .2s; text-decoration: none; color: var(--qyi-text);
}
.qyi-article-c:hover { border-color: var(--qyi-primary); text-decoration: none; color: var(--qyi-text); }
.qyi-article-detail { max-width: 800px; margin: 0 auto; background: #24142b; padding: 36px; border-radius: var(--qyi-radius); border: 1px solid var(--qyi-border); }
.qyi-article-title { font-size: 32px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.qyi-article-meta { color: var(--qyi-muted); font-size: 13px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--qyi-border); }
.qyi-article-content { font-size: 16px; line-height: 1.8; color: var(--qyi-text-2); }
.qyi-article-content p { margin-bottom: 16px; }
.qyi-article-content h2, .qyi-article-content h3 { color: var(--qyi-text); margin-top: 28px; margin-bottom: 14px; }

/* ===== Tag ===== */
.qyi-tag-i { display: inline-block; padding: 4px 12px; background: var(--qyi-overlay); color: var(--qyi-primary); border-radius: 14px; font-size: 12px; margin: 2px; text-decoration: none; }
.qyi-tag-i:hover { background: var(--qyi-primary); color: #fff; text-decoration: none; }

/* ===== Pagination ===== */
.qyi-pagination { display: flex; gap: 6px; justify-content: center; padding: 24px 0; }
.qyi-pagination a, .qyi-pagination span {
  padding: 6px 12px; border: 1px solid var(--qyi-border);
  border-radius: 6px; color: var(--qyi-text); font-size: 13px;
}
.qyi-pagination .active { background: var(--qyi-primary); color: #fff; border-color: var(--qyi-primary); }

/* ===== Search ===== */
.qyi-search { max-width: 600px; margin: 0 auto 32px; position: relative; }
.qyi-search input {
  width: 100%; padding: 12px 16px 12px 42px;
  border: 1px solid var(--qyi-border); border-radius: 8px;
  font-size: 14px; background: var(--qyi-bg-2); color: var(--qyi-text);
}
.qyi-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--qyi-muted); }

/* ===== 404 ===== */
.qyi-404 { text-align: center; padding: 80px 20px; }
.qyi-404-code { font-size: 96px; font-weight: 700; color: var(--qyi-primary); margin-bottom: 20px; }

/* ===== Mobile ===== */
@media (max-width: 991.98px) {
  .qyi-top { padding: 60px 0 40px; }
  .qyi-h1 { font-size: 36px; }
  .qyi-section { padding: 48px 0; }
  .qyi-sol-grid { grid-template-columns: repeat(2, 1fr); }
  .qyi-ips { grid-template-columns: repeat(3, 1fr); }
  .qyi-shop { grid-template-columns: repeat(2, 1fr); }
  .qyi-vo, .qyi-an, .qyi-news { grid-template-columns: repeat(2, 1fr); }
  .qyi-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575.98px) {
  .qyi-top { padding: 40px 0 28px; }
  .qyi-h1 { font-size: 28px; }
  .qyi-h1 em { font-size: 16px; }
  .qyi-section { padding: 36px 0; }
  .qyi-sol-grid, .qyi-ips, .qyi-shop, .qyi-vo, .qyi-an, .qyi-news, .qyi-ex { grid-template-columns: 1fr; }
  .qyi-article-list { grid-template-columns: 1fr; }
  .qyi-footer-grid { grid-template-columns: 1fr; }
}
