:root {
  --bg: #090f0c;
  --panel: rgba(18, 35, 27, 0.74);
  --panel-strong: #102018;
  --gold: #d6b85f;
  --gold-soft: #f0d993;
  --text: #f3eee2;
  --muted: #aab5ad;
  --line: rgba(214, 184, 95, 0.18);
  --danger: #d37b70;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 20%, rgba(214, 184, 95, .1), transparent 32%),
    var(--bg);
}
.age-card {
  width: min(380px, 100%);
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(18, 35, 27, .82);
  box-shadow: 0 30px 100px rgba(0,0,0,.38);
  text-align: center;
}
.age-card h1 { margin: 0 0 10px; font-size: 26px; }
.age-card p:not(.eyebrow) { color: var(--muted); }
.age-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }

.page {
  min-height: 100svh;
  padding-bottom: 92px;
  background:
    radial-gradient(circle at 20% 0%, rgba(214,184,95,.09), transparent 28%),
    radial-gradient(circle at 90% 35%, rgba(50,107,80,.22), transparent 32%),
    var(--bg);
}
.mist { position: fixed; z-index: 0; width: 56vw; height: 56vw; border-radius: 50%; filter: blur(110px); opacity: .18; pointer-events: none; }
.mist-a { right: -30vw; top: 15vh; background: #2f7b58; }
.mist-b { left: -32vw; bottom: 10vh; background: #c8a44b; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 62px;
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(9,15,12,.96), rgba(9,15,12,.66), transparent);
  backdrop-filter: blur(10px);
}
.brand { color: var(--gold-soft); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.header-button, .bottom-bar button {
  border: 0;
  border-radius: 999px;
  padding: 9px 17px;
  color: #08100c;
  background: var(--gold);
  font-weight: 800;
  cursor: pointer;
}

main, .site-header { position: relative; z-index: 1; }
main { width: min(480px, 100%); margin: 0 auto; }
.hero { padding: 28px 18px 18px; }
.hero-card {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(20,40,30,.86), rgba(12,24,18,.74));
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
}
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .22em; }
.hero h1 {
  margin: 0;
  font-size: clamp(36px, 10vw, 52px);
  line-height: 1.12;
  letter-spacing: .04em;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle { margin: 16px 0 8px; color: var(--gold-soft); font-weight: 700; }
.hero-copy, .section-head p, .plan-card p, .rules-grid p, .steps p, .final-cta p, .booking-dialog p { color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.primary-button, .ghost-button {
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  font-weight: 800;
  cursor: pointer;
}
.primary-button { color: #07100c; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); box-shadow: 0 14px 34px rgba(214,184,95,.18); }
.ghost-button, .ghost-link { color: var(--gold); border: 1px solid var(--line); background: rgba(214,184,95,.06); }
.ghost-link { padding: 11px 14px; border-radius: 12px; }
.hero-visual {
  position: relative;
  margin-top: 18px;
  height: 420px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(9,15,12,.88)); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero-visual-label { position: absolute; z-index: 2; left: 18px; bottom: 18px; color: var(--gold-soft); font-size: 12px; letter-spacing: .18em; }

.quick-trust { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.quick-trust article { padding: 16px 8px; text-align: center; border-right: 1px solid var(--line); }
.quick-trust article:last-child { border-right: 0; }
.quick-trust strong { display: block; color: var(--gold-soft); font-size: 16px; }
.quick-trust span { color: var(--muted); font-size: 11px; }

.section { padding: 64px 18px; border-bottom: 1px solid rgba(214,184,95,.08); }
.section-head { margin-bottom: 24px; }
.section-head.centered { text-align: center; }
.section h2, .final-cta h2, .booking-dialog h2 { margin: 0; font-size: 29px; line-height: 1.25; letter-spacing: .03em; }
.plans, .rules-grid, .steps { display: grid; gap: 14px; }
.plan-card, .rules-grid article, .steps article, .story-box, .character-shell {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 54px rgba(0,0,0,.18);
}
.plan-card { padding: 22px; }
.plan-card.highlight { background: linear-gradient(180deg, rgba(214,184,95,.15), rgba(18,35,27,.74)); }
.plan-card span, .character-label { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.plan-card h3 { margin: 10px 0 4px; font-size: 23px; }
.plan-card strong { color: var(--gold-soft); font-size: 30px; }
.plan-card .primary-button { width: 100%; margin-top: 8px; }

.character-shell { padding: 14px; }
.character-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.character-tabs button {
  flex: 1;
  padding: 11px 6px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.character-tabs button.active { color: #07100c; background: var(--gold); border-color: var(--gold); font-weight: 800; }
.character-card { overflow: hidden; border-radius: 18px; background: rgba(0,0,0,.18); }
.character-image { height: 520px; overflow: hidden; }
.character-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.character-copy { padding: 22px; }
.character-copy h3 { margin: 4px 0 12px; font-size: 34px; }
.character-copy blockquote { margin: 0 0 14px; padding-left: 14px; color: var(--gold-soft); border-left: 2px solid var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tags span { padding: 6px 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }

.story-box, .rules-grid article, .steps article { padding: 20px; }
.story-box h3, .rules-grid strong, .steps h3 { margin: 0 0 8px; color: var(--gold-soft); }
.steps article { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; }
.steps span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; color: #07100c; background: var(--gold); border-radius: 50%; font-weight: 900; }
.steps p { margin: 0; }

.final-cta { padding: 70px 22px; text-align: center; background: radial-gradient(circle at 50% 20%, rgba(214,184,95,.14), transparent 40%); }
.bottom-bar {
  position: fixed;
  z-index: 30;
  inset: auto 0 0;
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(9,15,12,.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.bottom-bar small { display: block; color: var(--gold); }
.bottom-bar strong { font-size: 13px; }

.booking-dialog {
  width: min(460px, calc(100% - 28px));
  padding: 30px 22px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel-strong);
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
}
.booking-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 18px; top: 12px; color: var(--muted); border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.booking-dialog form { display: grid; gap: 13px; margin-top: 18px; }
.booking-dialog label { display: grid; gap: 6px; color: var(--gold-soft); font-size: 13px; }
.booking-dialog input, .booking-dialog select, .booking-dialog textarea {
  width: 100%;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0,0,0,.2);
  padding: 12px;
}
.booking-dialog textarea { min-height: 86px; resize: vertical; }
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking-result { min-height: 24px; margin-top: 14px; color: var(--gold-soft); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 380px) {
  .hero-visual, .character-image { height: 430px; }
  .quick-trust { grid-template-columns: repeat(2, 1fr); }
  .quick-trust article:nth-child(2) { border-right: 0; }
  .quick-trust article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .booking-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
