:root {
  --bg: #070b16;
  --bg-elevated: #0e1424;
  --bg-card: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f7ff;
  --muted: rgba(244, 247, 255, 0.55);
  --faint: rgba(244, 247, 255, 0.35);
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --blue-glow: rgba(59, 130, 246, 0.35);
  --rose: #e879a9;
  --crimson: #ef4444;
  --sky: #38bdf8;
  --radius: 18px;
  --max: 920px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", sans-serif;
  --display: "DIN Alternate", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Sarasa Mono SC", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(800px 500px at 100% 20%, rgba(14, 165, 233, 0.08), transparent 50%),
    var(--bg);
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.hero {
  position: relative;
  min-height: min(100dvh, 820px);
  display: grid;
  place-items: center;
  padding: 72px 20px 56px;
  text-align: center;
  overflow: hidden;
  perspective: 1200px;
  --hero-veil: 0;
}

.hero__fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.hero__glow {
  position: absolute;
  inset: 8% 18% auto;
  height: 46%;
  background: radial-gradient(circle, rgba(56, 168, 255, 0.45), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: orbFloat 9s ease-in-out infinite;
}

.hero__orb--a {
  width: 220px;
  height: 220px;
  left: -40px;
  top: 18%;
  background: rgba(47, 155, 255, 0.35);
}

.hero__orb--b {
  width: 180px;
  height: 180px;
  right: -30px;
  bottom: 16%;
  background: rgba(228, 92, 138, 0.28);
  animation-delay: -3s;
}

.hero__logo-wrap {
  position: relative;
  width: min(220px, 58vw);
  margin: 0 auto 22px;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.hero__logo {
  width: 100%;
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 40px rgba(59, 130, 246, 0.25);
}

.hero__logo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 34px;
  border: 1px solid rgba(125, 211, 252, 0.35);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
  animation: ringPulse 3.2s ease-in-out infinite;
  pointer-events: none;
}

.hero__eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--faint);
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 10vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero__title-glow {
  display: inline-block;
  color: #f5f9ff;
  text-shadow: 0 0 28px rgba(96, 165, 250, 0.55);
}

.hero__tagline {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 2.6vw, 1.05rem);
}

.hero__scroll {
  display: inline-block;
  margin-top: 42px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: rgba(226, 239, 255, 0.72);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: color 0.25s;
}

.hero__scroll:hover {
  color: #fff;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  pointer-events: none;
  background: transparent;
}

.scroll-progress > i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #2f9bff, #7dd3fc, #e45c8a, #2f9bff);
  background-size: 200% 100%;
  animation: progressShine 3s linear infinite;
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.65);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
  opacity: calc(var(--hero-veil) * 1.2);
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  transform-style: preserve-3d;
  will-change: transform;
}

.banner,
.fold,
.game-tab {
  --tx: 0deg;
  --ty: 0deg;
  transform-style: preserve-3d;
}

.banner.is-in,
.fold.is-in,
.game-tab {
  transition: transform 0.25s ease-out, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.banner img {
  will-change: transform;
}

.main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.catalog-select {
  position: relative;
  width: 100%;
  margin-bottom: 28px;
  z-index: 20;
}

.catalog-select__trigger {
  position: static;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.catalog-select__trigger:focus {
  outline: none;
}

.catalog-select__trigger:focus-visible .catalog-select__caret {
  filter: drop-shadow(0 0 5px currentColor);
}

.catalog-select__trigger .accent-bar {
  height: 34px;
  margin-top: 6px;
}

.catalog-select__copy {
  min-width: 0;
}

.catalog-select__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-select__copy strong,
.catalog-select__copy small,
.catalog-option strong,
.catalog-option small {
  display: block;
  letter-spacing: 0;
}

.catalog-select__copy strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.catalog-select__copy small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.catalog-select__caret {
  display: inline-block;
  position: static;
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  border-top: 8px solid var(--blue-bright);
  transition: transform 0.2s ease;
}

.catalog-select.is-open .catalog-select__caret {
  transform: rotate(180deg);
}

.catalog-select.is-benefits .catalog-select__trigger {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.catalog-select.is-benefits .catalog-select__trigger .accent-bar {
  background: linear-gradient(180deg, #ff6b6b, #d9364f);
}

.catalog-select.is-benefits .catalog-select__caret {
  border-top-color: #ff8a8a;
}

.catalog-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  padding: 6px;
  border: 1px solid rgba(96, 165, 250, 0.42);
  border-radius: 8px;
  background: #0d1424;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

.catalog-select__menu[hidden] {
  display: none;
}

.catalog-option {
  display: block;
  width: 100%;
  padding: 11px 13px;
  text-align: left;
  border-radius: 6px;
  color: var(--muted);
}

.catalog-option + .catalog-option {
  margin-top: 4px;
}

.catalog-option:hover,
.catalog-option:focus-visible,
.catalog-option.is-active {
  color: var(--text);
  background: rgba(96, 165, 250, 0.12);
  outline: none;
}

.catalog-option[data-catalog="benefits"]:hover,
.catalog-option[data-catalog="benefits"]:focus-visible,
.catalog-option[data-catalog="benefits"].is-active {
  background: rgba(217, 54, 79, 0.14);
}

.catalog-option strong {
  color: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
}

.catalog-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}

.catalog-panel {
  display: none;
}

.catalog-panel.is-active {
  display: block;
  animation: fadeIn 0.28s ease;
}

.theme-benefits {
  --accent: #d9364f;
  --accent-bright: #ff8a8a;
  --accent-soft: rgba(217, 54, 79, 0.1);
  --accent-line: rgba(255, 107, 107, 0.3);
}

.benefit-intro {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.benefit-intro .accent-bar {
  background: linear-gradient(180deg, #ff6b6b, #d9364f);
}

.benefit-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.65rem;
  letter-spacing: 0;
}

.benefit-intro p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.benefit-tier {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  min-width: 0;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-soft), transparent 58%), var(--bg-card);
  overflow: hidden;
}

.benefit-tier--featured {
  border-color: rgba(255, 138, 138, 0.48);
  box-shadow: inset 3px 0 0 rgba(255, 107, 107, 0.72);
}

.benefit-tier:last-child {
  grid-column: 1 / -1;
}

.benefit-tier__amount {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(217, 54, 79, 0.08);
}

.benefit-tier__amount span {
  color: var(--muted);
  font-size: 0.75rem;
}

.benefit-tier__amount strong {
  margin-top: 3px;
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 1.45rem;
  letter-spacing: 0;
}

.benefit-list {
  margin: 0;
  padding: 14px 16px 14px 30px;
  color: rgba(244, 247, 255, 0.8);
  font-size: 0.84rem;
  line-height: 1.65;
}

.benefit-list li::marker {
  color: var(--accent-bright);
}

.benefit-policy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border-top: 1px solid var(--accent-line);
  border-bottom: 1px solid var(--accent-line);
  color: var(--muted);
  font-size: 0.86rem;
}

.benefit-policy strong {
  color: var(--accent-bright);
}

.section__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}

.section__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section__head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.accent-bar {
  width: 3px;
  height: 34px;
  margin-top: 6px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  flex-shrink: 0;
}

.game-tabs,
.lol-tabs,
.sub-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.game-tabs {
  flex-wrap: wrap;
}

.lol-tabs {
  padding: 5px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.lol-tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lol-tab.is-active {
  color: var(--text);
  background: rgba(96, 165, 250, 0.18);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.32);
}

.game-tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-weight: 600;
  transition: 0.2s ease;
}

.game-tab.is-active {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.28), rgba(59, 130, 246, 0.12));
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.15);
}

.sub-tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.sub-tabs::-webkit-scrollbar {
  display: none;
}

.sub-tab {
  flex: 1 0 auto;
  min-width: max-content;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.sub-tab.is-active {
  color: var(--text);
  background: rgba(59, 130, 246, 0.2);
}

.sub-tab[data-sub="male"].is-active {
  background: rgba(47, 155, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(94, 200, 255, 0.35);
}

.sub-tab[data-sub="female"].is-active {
  background: rgba(228, 92, 138, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 143, 179, 0.38);
}

.sub-tab[data-sub="fun"].is-active {
  background: rgba(225, 29, 46, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.38);
}

.game-tab[data-game="delta"].is-active {
  background: linear-gradient(180deg, rgba(59, 167, 232, 0.28), rgba(59, 167, 232, 0.12));
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow: 0 0 24px rgba(59, 167, 232, 0.15);
}

.game-tab[data-game="steam"].is-active {
  background: linear-gradient(180deg, rgba(76, 201, 240, 0.28), rgba(76, 201, 240, 0.12));
  border-color: rgba(144, 224, 239, 0.55);
  box-shadow: 0 0 24px rgba(76, 201, 240, 0.15);
}

.game-panel,
.lol-section,
.sub-panel {
  display: none;
}

.game-panel.is-active,
.lol-section.is-active,
.sub-panel.is-active {
  display: block;
  animation: fadeIn 0.28s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 固定尺寸横幅组件：图片填入，不随原图比例撑开 */
.banner {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid color-mix(in srgb, var(--accent, #60a5fa) 35%, transparent);
  background: #0a1020;
  box-shadow: 0 0 28px color-mix(in srgb, var(--accent-glow, rgba(59, 130, 246, 0.25)) 80%, transparent);
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #121826;
}

.banner__meta {
  position: absolute;
  inset: auto 0 0;
  padding: 22px 16px 14px;
  background: linear-gradient(to top, rgba(7, 11, 22, 0.9) 0%, rgba(7, 11, 22, 0.4) 60%, transparent 100%);
  pointer-events: none;
}

.banner__meta h3 {
  margin: 6px 0 2px;
  font-size: 1.15rem;
}

.banner__meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.poster-panel {
  width: 100%;
}

.poster-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.poster-panel__head h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.poster-panel__head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.delta-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin: 8px 0 0;
  color: var(--muted);
}

.delta-jump a {
  color: var(--accent-bright, #70e1ad);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-bright, #70e1ad) 45%, transparent);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.delta-jump a:hover,
.delta-jump a:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
  outline: none;
}

.price-poster {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--accent, #2fb980) 35%, transparent);
  border-radius: 14px;
  overflow: hidden;
  background: #0a1020;
  box-shadow: 0 0 28px color-mix(in srgb, var(--accent-glow, rgba(47, 185, 128, 0.28)) 70%, transparent);
  cursor: zoom-in;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  text-align: left;
}

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  font-family: var(--mono);
  color: var(--accent-bright, var(--blue-bright));
  background: color-mix(in srgb, var(--accent, #3b82f6) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #60a5fa) 40%, transparent);
}

/* —— 分类主题色（随顶部图色） —— */
.theme-male {
  --accent: #2f9bff;
  --accent-bright: #5ec8ff;
  --accent-glow: rgba(47, 155, 255, 0.35);
  --accent-soft: rgba(47, 155, 255, 0.12);
  --accent-line: rgba(94, 200, 255, 0.35);
}

.theme-female {
  --accent: #e45c8a;
  --accent-bright: #ff8fb3;
  --accent-glow: rgba(228, 92, 138, 0.32);
  --accent-soft: rgba(228, 92, 138, 0.12);
  --accent-line: rgba(255, 143, 179, 0.38);
}

.theme-fun {
  --accent: #e11d2e;
  --accent-bright: #ff6b6b;
  --accent-glow: rgba(225, 29, 46, 0.35);
  --accent-soft: rgba(225, 29, 46, 0.12);
  --accent-line: rgba(255, 107, 107, 0.38);
}

.theme-brawl {
  --accent: #3ba7e8;
  --accent-bright: #7dd3fc;
  --accent-glow: rgba(59, 167, 232, 0.3);
  --accent-soft: rgba(59, 167, 232, 0.12);
  --accent-line: rgba(125, 211, 252, 0.38);
}

.theme-canyon {
  --accent: #4cc9f0;
  --accent-bright: #90e0ef;
  --accent-glow: rgba(76, 201, 240, 0.32);
  --accent-soft: rgba(76, 201, 240, 0.12);
  --accent-line: rgba(144, 224, 239, 0.4);
}

.theme-delta {
  --accent: #2fb980;
  --accent-bright: #70e1ad;
  --accent-glow: rgba(47, 185, 128, 0.28);
  --accent-soft: rgba(47, 185, 128, 0.1);
  --accent-line: rgba(112, 225, 173, 0.34);
}

.delta-posters {
  gap: 12px;
  width: 100%;
  margin: 0 auto;
}

.delta-posters .fold__body {
  padding: 8px;
}

.delta-posters .fold {
  transform: none !important;
}

.price-poster {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.price-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.img-zoom {
  border: 0;
  padding: 0;
  margin: 0;
  max-width: none;
  width: min(96vw, 1400px);
  background: transparent;
}

.img-zoom::backdrop {
  background: rgba(3, 6, 14, 0.88);
  backdrop-filter: blur(6px);
}

.img-zoom__inner {
  position: relative;
  max-height: 92vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  background: #05080f;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.img-zoom__inner img {
  display: block;
  width: 100%;
  height: auto;
  min-width: min(100%, 1100px);
}

.img-zoom__close {
  position: sticky;
  top: 10px;
  float: right;
  z-index: 2;
  margin: 10px 10px 0 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.theme-steam {
  --accent: #4ea1d3;
  --accent-bright: #8bd3f7;
  --accent-glow: rgba(78, 161, 211, 0.28);
  --accent-soft: rgba(78, 161, 211, 0.1);
  --accent-line: rgba(139, 211, 247, 0.34);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fold {
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.theme-male .fold,
.theme-female .fold,
.theme-fun .fold,
.theme-brawl .fold,
.theme-canyon .fold,
.theme-delta .fold,
.theme-steam .fold {
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
  background: linear-gradient(180deg, var(--accent-soft), transparent 48%), var(--bg-card);
}

.fold summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}

.fold summary::-webkit-details-marker {
  display: none;
}

.fold summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.fold[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.fold__hint {
  margin-left: auto;
  margin-right: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-bright, var(--blue-bright));
  font-family: var(--mono);
}

.fold__body {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.price-grid--compact {
  grid-template-columns: 1fr;
}

.price-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid color-mix(in srgb, var(--accent, #fff) 14%, rgba(255, 255, 255, 0.05));
}

.price-cell span {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-cell strong {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--accent-bright, var(--blue-bright));
  font-weight: 600;
}

.price-cell strong span {
  font-size: 0.72rem;
  color: var(--faint);
  margin-left: 2px;
}

.note {
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 0.8rem;
  line-height: 1.7;
}

.note.center {
  text-align: center;
  margin-top: 18px;
}

.hall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 920px);
  margin: 14px auto 0;
}

.hall-card {
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none !important;
}

.hall-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.text-price-stack {
  max-width: 900px;
  margin: 0 auto;
}

.text-price-stack .scroll-table {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.text-price-stack table {
  min-width: 0;
  table-layout: fixed;
}

.text-price-stack th,
.text-price-stack td {
  text-align: center;
  padding-right: 6px;
  padding-left: 6px;
}

.text-price-stack th:first-child,
.text-price-stack td:first-child {
  text-align: left;
  width: 40%;
  white-space: normal;
}

.list {
  margin: 12px 0 0;
  padding-left: 1.1rem;
  color: rgba(244, 247, 255, 0.78);
  font-size: 0.9rem;
}

.list li + li {
  margin-top: 8px;
}

.list.numbered {
  padding-left: 1.25rem;
}

.list b {
  color: var(--text);
}

.dual-tables {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.dual-tables h4 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.scroll-table {
  margin-top: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

th {
  color: var(--faint);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td:first-child {
  font-family: var(--mono);
  color: var(--accent-bright, var(--blue-bright));
  white-space: nowrap;
  width: 4.5rem;
}

.challenge-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  counter-reset: challenge;
}

.challenge-list li {
  position: relative;
  padding: 11px 12px 11px 42px;
  border-radius: 12px;
  background: var(--accent-soft, rgba(239, 68, 68, 0.08));
  border: 1px solid var(--accent-line, rgba(239, 68, 68, 0.18));
  font-size: 0.92rem;
}

.challenge-list li::before {
  counter-increment: challenge;
  content: counter(challenge, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent-bright, #fca5a5);
}

.settle {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--accent-soft, rgba(59, 130, 246, 0.1));
  border: 1px solid var(--accent-line, rgba(96, 165, 250, 0.25));
  font-size: 0.9rem;
}

.settle em {
  font-style: normal;
  color: var(--accent-bright, var(--blue-bright));
  font-family: var(--mono);
  font-weight: 600;
}

.cta {
  margin-top: 42px;
  padding: 28px 20px;
  text-align: center;
  border-radius: 22px;
  background:
    radial-gradient(600px 180px at 50% 0%, rgba(7, 193, 96, 0.14), transparent 70%),
    rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.cta h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.cta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.cta__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cta__qr img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.cta__qr span {
  font-size: 0.78rem;
  color: var(--faint);
}

.cta__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.contact-pill {
  min-width: 148px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.contact-pill span {
  display: block;
  font-size: 0.72rem;
  color: var(--faint);
  margin-bottom: 4px;
}

.contact-pill strong {
  font-family: var(--mono);
  font-size: 0.95rem;
}

@media (min-width: 560px) {
  .cta__body {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 28px;
  }

  .cta__contacts {
    flex-direction: column;
    align-items: stretch;
  }
}

.footer {
  padding: 36px 20px 48px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer img {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: #fff;
}

.footer p {
  margin: 0;
  font-size: 0.92rem;
}

.footer__copy {
  margin-top: 8px !important;
  color: var(--faint);
  font-size: 0.78rem !important;
}

@media (min-width: 720px) {
  .main {
    width: min(var(--max), calc(100% - 48px));
  }

  .banner {
    height: 240px;
  }

  .price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .price-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dual-tables {
    grid-template-columns: 1fr 1fr;
  }

  .hall-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .challenge-list {
    grid-template-columns: 1fr 1fr;
  }

  .game-tab {
    flex: 0 0 auto;
    min-width: 180px;
  }
}

@media (max-width: 379px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 679px) {
  .catalog-select__trigger {
    min-height: 0;
    padding: 0;
    gap: 8px;
  }

  .catalog-select__trigger .accent-bar {
    height: 32px;
  }

  .catalog-select__copy strong {
    font-size: 1.55rem;
  }

  .catalog-select__caret {
    margin-top: 2px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-tier,
  .benefit-tier:last-child {
    grid-column: auto;
    grid-template-columns: 102px minmax(0, 1fr);
  }

  .benefit-tier__amount strong {
    font-size: 1.25rem;
  }

  .benefit-policy {
    flex-direction: column;
  }
}

/* ========== Animations ========== */
/* 内容始终可见：绝不用 opacity:0 / display:none 藏正文 */
.js .anim-hero {
  transform: translateY(16px);
  animation: heroIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--d, 0) * 0.08s);
}

.js .hero__logo-wrap.anim-hero {
  transform: translateY(12px) scale(0.97);
  animation: logoIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__glow {
  animation: glowPulse 4.5s ease-in-out infinite;
}

.main,
.section {
  perspective: 1200px;
}

.js [data-reveal] {
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}

.js [data-reveal="rise3d"],
.js [data-reveal="fade-up"],
.js [data-reveal="flip3d"],
.js [data-reveal="card3d"],
.js [data-reveal="scale"] {
  transform: translateY(18px);
}

.js [data-reveal].is-in {
  transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
}

.game-panel.is-active,
.lol-section.is-active,
.sub-panel.is-active {
  animation: panelIn 0.35s ease;
}

.sub-tab,
.contact-pill,
.cta__qr img,
.price-cell {
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.2s ease;
}

.game-tab:active,
.sub-tab:active {
  transform: scale(0.97);
}

.fold summary:hover {
  background: rgba(255, 255, 255, 0.025);
}

.fold[open].is-in {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px color-mix(in srgb, var(--accent, #60a5fa) 22%, transparent);
}

.price-cell.stagger-in,
.challenge-list li.stagger-in,
.banner.stagger-in {
  animation: cellIn 0.4s ease both;
  animation-delay: calc(var(--i, 0) * 0.035s);
}

.cta__qr img:hover {
  transform: translateY(-4px) scale(1.02);
}

.contact-pill:hover {
  transform: translateY(-2px);
}

body.hero-away .hero__scroll {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.3s;
}

@keyframes heroIn { to { transform: none; } }
@keyframes logoIn { to { transform: none; } }
@keyframes glowPulse { 0%,100%{opacity:.65} 50%{opacity:1} }
@keyframes orbFloat { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(18px,-24px,0) scale(1.08)} }
@keyframes ringPulse { 0%,100%{opacity:.45;transform:scale(1)} 50%{opacity:.9;transform:scale(1.04)} }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes wheelDrop { 0%{transform:translateY(0);opacity:1} 70%{transform:translateY(12px);opacity:0} 100%{transform:translateY(0);opacity:0} }
@keyframes beamPulse { 0%,100%{opacity:.35;transform:scaleY(.7)} 50%{opacity:1;transform:scaleY(1)} }
@keyframes progressShine { to { background-position: 200% 0; } }
@keyframes panelIn { from { transform: translateY(8px); } to { transform: none; } }
@keyframes cellIn { from { transform: translateY(8px); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .anim-hero,
  .hero__glow,
  .hero__orb,
  .hero__logo-ring,
  .hero__scroll-ring,
  .hero__scroll-wheel,
  .hero__scroll-beam,
  .game-panel.is-active,
  .lol-section.is-active,
  .sub-panel.is-active,
  .price-cell.stagger-in,
  .challenge-list li.stagger-in,
  .banner.stagger-in {
    animation: none !important;
    transform: none !important;
  }
  .js [data-reveal] {
    transform: none !important;
    transition: none !important;
  }
  .hero__fx { display: none !important; }
}

/* ===== 图片位置编辑 ===== */
body.pos-edit-ready img[data-pos-key] {
  cursor: grab;
  outline: 1px dashed rgba(96, 165, 250, 0.35);
  outline-offset: -1px;
}

body.pos-editing {
  user-select: none;
  -webkit-user-select: none;
}

img[data-pos-key].is-posing {
  cursor: grabbing;
  outline: 2px solid rgba(96, 165, 250, 0.85);
  outline-offset: -2px;
  touch-action: none;
}

.pos-editor {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(10, 16, 32, 0.92);
  border: 1px solid rgba(125, 211, 252, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.pos-editor[hidden] {
  display: none !important;
}

.pos-editor__tip {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(226, 239, 255, 0.85);
}

.pos-editor__actions {
  display: flex;
  gap: 10px;
}

.pos-editor__btn {
  min-width: 88px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.9rem;
}

.pos-editor__btn--save {
  background: linear-gradient(180deg, rgba(47, 155, 255, 0.45), rgba(47, 155, 255, 0.2));
  border-color: rgba(125, 211, 252, 0.55);
}

.pos-editor__btn:disabled {
  opacity: 0.55;
  pointer-events: none;
}

.pos-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 210;
  max-width: min(90vw, 360px);
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(10, 16, 32, 0.92);
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: #e8f3ff;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.pos-toast[hidden] {
  display: none !important;
}

[data-unlock] {
  cursor: pointer;
}
