:root {
  --bg-void: #0d0612;
  --bg-surface: #faf5ff;
  --bg-card: #ffffff;
  --magenta: #d946ef;
  --magenta-deep: #a21caf;
  --cyan: #22d3ee;
  --plum: #581c87;
  --rose-glow: #f472b6;
  --ink: #1a0f24;
  --ink-mid: #4a3558;
  --ink-soft: #7c6b8a;
  --line: rgba(168, 85, 247, 0.22);
  --shadow: 0 20px 60px rgba(88, 28, 135, 0.14);
  --nav-h: 60px;
  --sticky-h: 0px;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Outfit", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-surface);
  color: var(--ink-mid);
  line-height: 1.88;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(217, 70, 239, 0.09), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 5%, rgba(34, 211, 238, 0.07), transparent 50%),
    radial-gradient(ellipse 60% 35% at 50% 100%, rgba(244, 114, 182, 0.06), transparent 60%),
    linear-gradient(175deg, #fdf8ff 0%, #f8f0ff 45%, #fff5fb 100%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--magenta-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cyan);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(960px, 93vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(13, 6, 18, 0.96), rgba(88, 28, 135, 0.94));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 70, 239, 0.25);
  height: var(--nav-h);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(217, 70, 239, 0.4);
}

.nav-desktop {
  display: none;
  list-style: none;
  gap: 6px;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  background: rgba(217, 70, 239, 0.28);
  color: #fff;
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: linear-gradient(120deg, var(--magenta), var(--rose-glow));
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(217, 70, 239, 0.35);
  flex-shrink: 0;
}

.btn-dl:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  list-style: none;
  background: rgba(13, 6, 18, 0.98);
  padding: 12px 0 16px;
  border-bottom: 1px solid rgba(217, 70, 239, 0.2);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  padding: 11px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.menu-open {
  background: rgba(13, 6, 18, 0.99);
}

main {
  padding-top: calc(var(--nav-h) + 16px);
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

body.sticky-on main {
  padding-top: calc(var(--nav-h) + var(--sticky-h) + 16px);
}

.ads-zone {
  margin-bottom: 20px;
}

#ads,
.sticky-dl-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  background: transparent;
  margin: 8px 0;
  gap: 4px;
}

#ads > div,
.sticky-dl-inner > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12.5%;
  min-width: 70px;
  box-sizing: border-box;
}

#ads img,
.sticky-dl-inner img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: linear-gradient(135deg, #fff, #fff);
}

#ads a,
.sticky-dl-inner a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}

#ads img:hover,
.sticky-dl-inner img:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.18);
}

#ads figcaption,
#ads .caption,
.sticky-dl-inner figcaption,
.sticky-dl-inner .caption {
  height: 15px;
  font-size: 11px;
  color: #666;
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
}

.sticky-dl {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 6px 8px;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-dl.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-dl.menu-hide {
  display: none;
}

@media (max-width: 768px) {
  #ads > div,
  .sticky-dl-inner > div {
    width: 25%;
  }

  #ads img,
  .sticky-dl-inner img {
    width: 52px;
    height: 52px;
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.breadcrumb a {
  color: var(--magenta-deep);
}

.breadcrumb span.sep {
  opacity: 0.4;
}

.hero-panel {
  background: linear-gradient(145deg, var(--bg-void) 0%, var(--plum) 55%, #3b0764 100%);
  border-radius: var(--radius-xl);
  padding: 36px 28px 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 65%);
  pointer-events: none;
}

.hero-panel .tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-panel h1 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.35;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.hero-panel .lead {
  font-size: 0.96rem;
  line-height: 1.92;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  position: relative;
}

.hero-cta a {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-cta .primary {
  background: linear-gradient(120deg, var(--magenta), var(--rose-glow));
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(217, 70, 239, 0.4);
}

.hero-cta .ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
}

.content-block {
  margin-bottom: 32px;
}

.content-block h2 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  color: var(--ink);
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 4px solid var(--magenta);
}

.content-block h3 {
  font-size: 1.05rem;
  color: var(--plum);
  margin: 18px 0 10px;
}

.content-block p {
  margin-bottom: 14px;
  text-align: justify;
}

.block-text {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(88, 28, 135, 0.05);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 18px 0;
}

@media (min-width: 600px) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: linear-gradient(160deg, #fff 0%, #fdf4ff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-card .icon-dot {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card h4 {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}

.media-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  margin: 18px 0;
}

@media (min-width: 700px) {
  .media-row {
    grid-template-columns: 1fr 1.1fr;
  }

  .media-row.reverse {
    direction: rtl;
  }

  .media-row.reverse > * {
    direction: ltr;
  }
}

.media-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(217, 70, 239, 0.2);
  box-shadow: 0 12px 40px rgba(88, 28, 135, 0.12);
  background: #fff;
}

.media-frame img {
  width: 100%;
}

.media-caption {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 8px 12px;
  background: #faf5ff;
}

.combo-block {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  border: 1px solid var(--line);
}

.combo-block .card-grid {
  margin-top: 16px;
}

.highlight-box {
  background: linear-gradient(120deg, rgba(217, 70, 239, 0.08), rgba(34, 211, 238, 0.06));
  border-left: 4px solid var(--magenta);
  padding: 16px 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 16px 0;
}

.highlight-box p {
  margin: 0;
  font-size: 0.92rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: 0.94rem;
}

.faq-item p {
  font-size: 0.88rem;
  margin: 0;
}

.site-footer {
  background: linear-gradient(180deg, var(--bg-void), #1a0a28);
  color: rgba(255, 255, 255, 0.7);
  padding: 36px 0 28px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
}

.page-hero h1 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  color: var(--ink);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.legal-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}

.legal-section h2 {
  font-size: 1.1rem;
  color: var(--plum);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.legal-section p,
.legal-section li {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.legal-section ul,
.legal-section ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.error-page {
  text-align: center;
  padding: 48px 20px;
}

.error-code {
  font-size: 5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.error-page h1 {
  font-family: "Noto Serif SC", serif;
  color: var(--ink);
  margin-bottom: 12px;
}

.error-page p {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .hamburger {
    display: none;
  }
}
