:root {
  --violet-deep: #12082a;
  --violet-mid: #2a1458;
  --violet-soft: #4a2d8a;
  --magenta: #ff3d9a;
  --magenta-glow: #ff6bb8;
  --cyan: #00d4ff;
  --cyan-soft: #7ae8ff;
  --pearl: #faf7ff;
  --pearl-dim: #ede6fa;
  --ink: #1c1233;
  --ink-soft: #5a4d78;
  --gold-warm: #ffc56d;
  --line: rgba(255, 61, 154, 0.18);
  --glass: rgba(255, 255, 255, 0.06);
  --shadow-neon: 0 0 40px rgba(255, 61, 154, 0.15);
  --nav-h: 56px;
  --sticky-h: 0px;
  --r-xl: 24px;
  --r-lg: 16px;
  --r-md: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  background: var(--pearl);
  color: var(--ink-soft);
  line-height: 1.88;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(255, 61, 154, 0.09), transparent 50%),
    radial-gradient(ellipse 55% 45% at 100% 5%, rgba(0, 212, 255, 0.08), transparent 45%),
    radial-gradient(circle at 50% 95%, rgba(74, 45, 138, 0.1), transparent 55%),
    linear-gradient(175deg, #fffefe 0%, var(--pearl) 35%, #f3ecff 100%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255, 61, 154, 0.03) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0, 212, 255, 0.03) 25%, transparent 25%);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

a {
  color: var(--violet-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--magenta);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(920px, 91vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.vortex-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(18, 8, 42, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 61, 154, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 12px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-mark img {
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(255, 61, 154, 0.35);
}

.nav-main {
  display: none;
  list-style: none;
  gap: 6px;
}

.nav-main a {
  color: rgba(255, 255, 255, 0.82);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 0.88rem;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-main a:hover,
.nav-main a.active {
  background: rgba(255, 61, 154, 0.22);
  color: var(--magenta-glow);
}

.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--magenta), var(--violet-soft));
  color: #fff;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(255, 61, 154, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-neon:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 61, 154, 0.45);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-drawer {
  display: none;
  list-style: none;
  background: rgba(18, 8, 42, 0.98);
  padding: 12px 0 16px;
  border-top: 1px solid rgba(255, 61, 154, 0.15);
}

.nav-drawer.open {
  display: block;
}

.nav-drawer a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  padding: 10px 0;
  font-size: 0.95rem;
}

.vortex-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.vortex-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.vortex-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#sticky-dl {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 250, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

#sticky-dl.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#sticky-dl.menu-hide {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

.sticky-dl-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
}
#sticky-dl .sticky-dl-wrap > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(25% - 4px);
  box-sizing: border-box;
}

#ads img,
#sticky-dl img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(42, 20, 88, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: none;
}

#ads a,
#sticky-dl a {
  display: inline-block;
  border-radius: 14px;
}

#ads img:hover,
#sticky-dl img:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 22px rgba(255, 61, 154, 0.2);
}

#ads figcaption,
#ads .caption,
#sticky-dl figcaption,
#sticky-dl .caption {
  height: 15px;
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
}

main {
  padding-top: calc(var(--nav-h) + 16px);
  padding-bottom: 60px;
}

body.sticky-on main {
  padding-top: calc(var(--nav-h) + var(--sticky-h) + 16px);
}

.ads-block {
  margin: 8px 0 20px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}

.ads-block #ads,
#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  background: transparent;
  margin: 0;
}

#ads > div,
#sticky-dl .sticky-dl-wrap > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(25% - 4px);
  box-sizing: border-box;
}

.hero-vortex {
  position: relative;
  padding: 36px 28px 40px;
  margin-bottom: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, var(--pearl) 45%, rgba(255, 230, 245, 0.92) 100%);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(42, 20, 88, 0.08);
}

.hero-vortex::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 61, 154, 0.12), transparent 65%);
  pointer-events: none;
}

.hero-vortex::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent 60%);
  pointer-events: none;
}

.hero-vortex > * {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-soft);
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid rgba(74, 45, 138, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.hero-vortex h1 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: clamp(1.45rem, 4.5vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 16px;
}

.hero-vortex .lead {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-vortex .btn-ghost {
  display: inline-flex;
  padding: 10px 20px;
  border: 1px solid rgba(74, 45, 138, 0.35);
  border-radius: 999px;
  color: var(--violet-mid);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 0.88rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.hero-vortex .btn-ghost:hover {
  background: rgba(255, 61, 154, 0.08);
  border-color: var(--magenta);
  color: var(--magenta);
}

.btn-ghost {
  display: inline-flex;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 0.88rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  background: rgba(255, 61, 154, 0.08);
  border-color: var(--magenta);
  color: var(--magenta);
}

.block {
  margin-bottom: 42px;
}

.block h2 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 4px solid var(--magenta);
}

.block h3 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--violet-mid);
  margin: 20px 0 10px;
}

.block p {
  margin-bottom: 14px;
  text-align: justify;
}

.block ul {
  margin: 12px 0 16px 20px;
}

.block li {
  margin-bottom: 8px;
}

.t-plain {
  padding: 0 4px;
}

.t-cards .shard-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 20px 0;
}

.shard-card {
  padding: 20px 18px;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(42, 20, 88, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.shard-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255, 61, 154, 0.1);
}

.shard-card .chip {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--magenta), var(--violet-soft));
  color: #fff;
  margin-bottom: 10px;
}

.shard-card h4 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.shard-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.t-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.t-split.reverse .text-col {
  order: 2;
}

.t-split.reverse .pic-col {
  order: 1;
}

.pic-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(42, 20, 88, 0.12);
  border: 2px solid rgba(255, 61, 154, 0.15);
}

.pic-frame img {
  width: 100%;
}

.pic-frame figcaption {
  padding: 10px 14px;
  background: var(--violet-deep);
  color: rgba(255, 255, 255, 0.85);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 0.82rem;
  text-align: center;
}

.t-combo .shard-row {
  margin-top: 18px;
}

.t-combo.cols-2 .shard-row {
  grid-template-columns: 1fr;
}

.inner-link {
  color: var(--magenta);
  font-weight: 500;
  border-bottom: 1px dashed rgba(255, 61, 154, 0.4);
}

.inner-link:hover {
  border-bottom-color: var(--magenta);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.breadcrumb .sep {
  color: rgba(90, 77, 120, 0.5);
}

.page-head {
  margin-bottom: 32px;
}

.page-head h1 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  color: var(--ink);
  margin-bottom: 12px;
}

.page-head p {
  font-size: 0.98rem;
}

.vortex-footer {
  background: var(--violet-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 36px 0 28px;
  margin-top: 20px;
}

.vortex-footer .container {
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  list-style: none;
  margin-bottom: 16px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 0.88rem;
}

.footer-nav a:hover {
  color: var(--magenta-glow);
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.65;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
}

.error-page {
  text-align: center;
  padding: 60px 20px 80px;
}

.error-page h1 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.error-page h2 {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  color: var(--ink);
  margin-bottom: 16px;
}

.error-page p {
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .nav-main {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .t-cards .shard-row,
  .t-combo .shard-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .t-combo.cols-2 .shard-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .t-split {
    grid-template-columns: 7fr 3fr;
  }

  .t-split.wide-pic {
    grid-template-columns: 6fr 4fr;
  }

  .t-split.reverse {
    grid-template-columns: 3fr 7fr;
  }

  .t-split.reverse .text-col {
    order: 1;
  }

  .t-split.reverse .pic-col {
    order: 2;
  }

  #ads > div,
  #sticky-dl .sticky-dl-wrap > div {
    width: calc(12.5% - 4px);
  }
}

@media (max-width: 639px) {
  .btn-neon {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .hero-vortex {
    padding: 28px 20px 32px;
  }
}
