/* ==========================================================================
   期友俱乐部 QIYOU CLUB — Design System
   深夜蓝 + 金色 K 线 · Dark OLED · Marketing density (spacious)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --bg-0: #070B14;
  --bg-1: #0B1120;
  --bg-2: #0F172A;
  --card: #131C30;
  --card-2: #16223A;
  --border: rgba(148, 163, 184, .14);
  --border-strong: rgba(148, 163, 184, .26);

  --text-1: #F5F8FC;
  --text-2: #C3CEDD;
  --text-3: #8CA0B8;

  --gold: #E9B44C;
  --gold-2: #F6D584;
  --gold-deep: #C98F2B;
  --ink-on-gold: #241703;

  --cyan: #7DDCF5;
  --green: #86E3AE;
  --violet: #C4B5FD;
  --up: #F0655E;
  --down: #3FBF8A;

  --danger: #F87171;
  --ring: rgba(233, 180, 76, .55);

  /* Type */
  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-display: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;

  /* Spacing */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;

  --shadow-1: 0 2px 8px rgba(2, 6, 16, .35);
  --shadow-2: 0 12px 32px -8px rgba(2, 6, 16, .55);
  --shadow-gold: 0 8px 28px -8px rgba(233, 180, 76, .45);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 72px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(125, 220, 245, .07), transparent 60%),
    radial-gradient(900px 600px at -12% 4%, rgba(233, 180, 76, .08), transparent 55%),
    var(--bg-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
strong { color: var(--text-1); font-weight: 600; }

::selection { background: rgba(233, 180, 76, .32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

section { padding-block: var(--space-9); position: relative; }
.section-tight { padding-block: var(--space-8); }

/* ---------- Typography helpers ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.kicker::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  color: var(--text-1);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .01em;
}

.h2 { font-size: clamp(28px, 3.6vw, 40px); }
.h3 { font-size: 20px; line-height: 1.45; }

.section-head { max-width: 640px; margin-bottom: var(--space-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker::before { display: none; }
.section-head p { margin-top: var(--space-3); font-size: 17px; }
.section-head .more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--space-4);
  color: var(--gold); font-weight: 600; font-size: 15px;
  transition: gap .2s var(--ease);
}
.section-head .more:hover { gap: 10px; }

.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: .02em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn .ic { width: 17px; height: 17px; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  color: var(--ink-on-gold);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(233, 180, 76, .55); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  background: rgba(148, 163, 184, .05);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Pills / Tags ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid var(--border);
  color: var(--text-2);
  background: rgba(148, 163, 184, .07);
}
.pill-gold   { color: var(--gold);  border-color: rgba(233, 180, 76, .38); background: rgba(233, 180, 76, .10); }
.pill-cyan   { color: var(--cyan);  border-color: rgba(125, 220, 245, .35); background: rgba(125, 220, 245, .08); }
.pill-green  { color: var(--green); border-color: rgba(134, 227, 174, .32); background: rgba(134, 227, 174, .08); }
.pill-violet { color: var(--violet);border-color: rgba(196, 181, 253, .32); background: rgba(196, 181, 253, .08); }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(233, 180, 76, .40);
  box-shadow: var(--shadow-2);
}

/* ---------- Icons (Lucide-style outline) ---------- */
.ic {
  width: 18px; height: 18px; flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic-s { width: 15px; height: 15px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9, 14, 26, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; gap: var(--space-6); }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--text-1);
  letter-spacing: .06em;
}
.brand-name em { font-style: normal; color: var(--gold); }
.brand-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .34em;
  color: var(--text-3);
  line-height: 1;
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: var(--space-1); margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 999px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover { color: var(--text-1); background: rgba(148, 163, 184, .09); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 1px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}

.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
.nav .btn-sm { min-height: 40px; }

.nav-burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-1);
  margin-left: auto;
}
.nav-burger .ic { width: 20px; height: 20px; }
.nav-burger .i-close { display: none; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: rgba(7, 11, 20, .97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding: var(--space-6) var(--space-5);
  display: none;
  flex-direction: column;
  gap: var(--space-2);
}
.drawer.open { display: flex; }
.drawer a {
  padding: 15px 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-1);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer a.active { color: var(--gold); }
.drawer .btn { margin-top: var(--space-5); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-block: calc(var(--nav-h) + var(--space-9)) var(--space-9);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: var(--space-8);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(233, 180, 76, .35);
  background: rgba(233, 180, 76, .08);
  color: var(--gold-2);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: var(--space-5);
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.18;
  letter-spacing: .02em;
}
.hero h1 .gold {
  color: transparent;
  background: linear-gradient(120deg, var(--gold-2) 10%, var(--gold) 50%, var(--gold-deep) 90%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-sub {
  margin-top: var(--space-5);
  max-width: 480px;
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--text-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-7); }
.hero-note {
  margin-top: var(--space-5);
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-3);
}
.hero-note .ic { width: 15px; height: 15px; color: var(--green); }

/* Hero visual */
.hero-visual { position: relative; min-height: 460px; }
.chart-panel {
  position: absolute;
  inset: 8% 0 12% 6%;
  border-radius: var(--radius-l);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(22, 34, 58, .92), rgba(15, 23, 42, .94));
  box-shadow: var(--shadow-2);
  overflow: hidden;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.chart-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(75% 75% at 50% 45%, #000 30%, transparent 100%);
}
.chart-panel .panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.chart-panel .panel-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--text-2);
  letter-spacing: .06em;
}
.chart-panel .panel-title .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--down);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63, 191, 138, .5); }
  50% { box-shadow: 0 0 0 6px rgba(63, 191, 138, 0); }
}
.chart-panel .panel-tag { font-size: 11.5px; color: var(--text-3); letter-spacing: .2em; }
.chart-svg { width: 100%; height: calc(100% - 57px); }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(19, 28, 48, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-2);
  animation: floaty 6s ease-in-out infinite;
}
.float-card .fc-icon {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
}
.float-card .fc-title { font-size: 13.5px; font-weight: 600; color: var(--text-1); line-height: 1.4; }
.float-card .fc-sub { font-size: 12px; color: var(--text-3); line-height: 1.4; }
.fc-1 { top: 0; right: 2%; animation-delay: .4s; }
.fc-1 .fc-icon { background: rgba(233, 180, 76, .14); color: var(--gold); }
.fc-2 { bottom: 4%; left: -2%; animation-delay: 1.6s; }
.fc-2 .fc-icon { background: rgba(125, 220, 245, .13); color: var(--cyan); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.avatar-stack { display: flex; }
.avatar-stack .avatar {
  width: 34px; height: 34px;
  font-size: 13px;
  border: 2px solid var(--card-2);
  margin-left: -9px;
}
.avatar-stack .avatar:first-child { margin-left: 0; }

/* Avatars */
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 19px;
  background: linear-gradient(135deg, hsl(var(--h, 40) 55% 42%), hsl(calc(var(--h, 40) + 40) 60% 28%));
  flex: none;
  user-select: none;
}

/* ---------- Stats band ---------- */
.stats {
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(19, 28, 48, .5), rgba(11, 17, 32, .2));
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  padding-block: var(--space-7);
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute; left: calc(-1 * var(--space-3) - 1px); top: 12%;
  height: 76%;
  width: 1px;
  background: var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.15;
}
.stat-num .unit { font-size: .55em; color: var(--gold-deep); margin-left: 2px; }
.stat-label { margin-top: 6px; font-size: 14px; color: var(--text-3); letter-spacing: .08em; }

/* ---------- Feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }

.feature-card { padding: var(--space-6); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: var(--space-5);
  background: rgba(233, 180, 76, .10);
  border: 1px solid rgba(233, 180, 76, .28);
  color: var(--gold);
}
.feature-icon .ic { width: 24px; height: 24px; }
.feature-card.tint-cyan .feature-icon { background: rgba(125, 220, 245, .09); border-color: rgba(125, 220, 245, .3); color: var(--cyan); }
.feature-card.tint-green .feature-icon { background: rgba(134, 227, 174, .09); border-color: rgba(134, 227, 174, .3); color: var(--green); }
.feature-card p { margin-top: var(--space-3); font-size: 15px; }
.feature-card ul { margin-top: var(--space-4); display: grid; gap: 9px; }
.feature-card ul li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--text-3);
}
.feature-card ul .ic { color: var(--gold); width: 15px; height: 15px; }

/* ---------- Event cards ---------- */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.event-card { display: flex; flex-direction: column; overflow: hidden; }
.event-cover {
  position: relative;
  height: 148px;
  display: grid; place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.event-cover .cover-icon { width: 44px; height: 44px; color: rgba(255,255,255,.9); filter: drop-shadow(0 4px 14px rgba(0,0,0,.4)); }
.event-cover .cover-date {
  position: absolute; top: 14px; left: 14px;
  text-align: center;
  background: rgba(7, 11, 20, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 7px 13px 8px;
  line-height: 1.1;
}
.event-cover .cover-date b {
  display: block;
  font-family: var(--font-display);
  font-size: 24px; color: #fff; font-weight: 700;
}
.event-cover .cover-date span { font-size: 11.5px; color: var(--text-2); letter-spacing: .1em; }
.event-cover .cover-tags { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; }

.cover-grad-gold  { background: linear-gradient(135deg, rgba(233,180,76,.85), rgba(201,143,43,.55) 60%, rgba(24,34,58,.9)); }
.cover-grad-cyan  { background: linear-gradient(135deg, rgba(125,220,245,.75), rgba(56,142,178,.5) 60%, rgba(24,34,58,.9)); }
.cover-grad-green { background: linear-gradient(135deg, rgba(134,227,174,.7), rgba(63,151,106,.5) 60%, rgba(24,34,58,.9)); }
.cover-grad-violet{ background: linear-gradient(135deg, rgba(196,181,253,.7), rgba(124,102,196,.5) 60%, rgba(24,34,58,.9)); }

.event-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.event-body h3 { font-size: 18.5px; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
.event-meta { display: grid; gap: 7px; font-size: 13.5px; color: var(--text-3); }
.event-meta li { display: flex; align-items: center; gap: 8px; }
.event-meta .ic { width: 15px; height: 15px; color: var(--text-3); }
.event-foot {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
}
.event-seats { font-size: 12.5px; color: var(--text-3); }
.event-seats b { color: var(--gold); font-weight: 600; }
.event-seats .full { color: var(--danger); }

/* seat progress */
.seat-bar { height: 4px; border-radius: 99px; background: rgba(148,163,184,.14); overflow: hidden; }
.seat-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }

/* ---------- Members ---------- */
.member-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.member-card { padding: var(--space-5); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.member-card .avatar { width: 58px; height: 58px; }
.member-name { font-size: 17px; font-weight: 700; color: var(--text-1); display: flex; align-items: center; gap: 8px; }
.member-name .v-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10.5px; font-weight: 600; color: var(--gold);
  border: 1px solid rgba(233,180,76,.4);
  border-radius: 5px; padding: 1px 6px;
}
.member-sign { font-size: 13.5px; color: var(--text-2); line-height: 1.65; min-height: 44px; }
.member-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.member-tags .pill { padding: 3px 10px; font-size: 11.5px; }
.member-foot {
  width: 100%;
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--text-3);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); counter-reset: step; }
.step { position: relative; padding: var(--space-6) var(--space-5); }
.step-num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .1em;
}
.step-num::before { content: "0" counter(step); }
.step h3 { margin-top: var(--space-3); font-size: 18px; font-family: var(--font-sans); }
.step p { margin-top: var(--space-2); font-size: 14px; }
.step::after {
  content: "";
  position: absolute;
  top: 50%; right: calc(-1 * var(--space-5) + 6px);
  width: calc(var(--space-5) - 12px); height: 1px;
  background: linear-gradient(90deg, rgba(233,180,76,.5), transparent);
}
.step:last-child::after { display: none; }

/* ---------- Testimonials ---------- */
.quote-card { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); }
.quote-mark {
  font-family: var(--font-display);
  font-size: 52px; line-height: .6;
  color: var(--gold);
  opacity: .8;
}
.quote-card blockquote { font-size: 15.5px; line-height: 1.9; color: var(--text-2); }
.quote-by { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.quote-by .avatar { width: 44px; height: 44px; font-size: 16px; }
.quote-by b { display: block; font-size: 14.5px; color: var(--text-1); }
.quote-by span { font-size: 12.5px; color: var(--text-3); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-l);
  border: 1px solid rgba(233, 180, 76, .35);
  background:
    radial-gradient(600px 240px at 18% 0%, rgba(233, 180, 76, .16), transparent 65%),
    linear-gradient(180deg, #182238, #101a2e);
  padding: var(--space-8) var(--space-7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(60% 120% at 80% 50%, #000, transparent);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-banner p { margin-top: var(--space-3); color: var(--text-2); max-width: 520px; }
.cta-banner .btn { position: relative; z-index: 1; flex: none; }

/* ---------- Footer ---------- */
footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding-top: var(--space-8);
  margin-top: var(--space-9);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
}
.foot-brand p { margin-top: var(--space-4); font-size: 14px; max-width: 300px; }
.foot-col h4 {
  font-size: 14px; font-weight: 700; color: var(--text-1);
  letter-spacing: .12em; margin-bottom: var(--space-4);
}
.foot-col ul { display: grid; gap: 11px; }
.foot-col a { font-size: 14px; color: var(--text-3); transition: color .2s var(--ease); }
.foot-col a:hover { color: var(--gold); }
.foot-col li { font-size: 14px; color: var(--text-3); display: flex; gap: 9px; align-items: flex-start; }
.foot-col li .ic { width: 15px; height: 15px; margin-top: 4px; color: var(--gold); }
.foot-bottom {
  border-top: 1px solid var(--border);
  padding-block: var(--space-5);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
  align-items: center; justify-content: space-between;
  font-size: 12.5px; color: #5D7089;
}
.foot-disclaimer {
  font-size: 12.5px; color: #5D7089; line-height: 1.8;
  border-top: 1px dashed var(--border);
  padding-block: var(--space-4);
  margin-top: 0;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding-block: calc(var(--nav-h) + var(--space-8)) var(--space-7);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .kicker { justify-content: center; }
.page-hero .kicker::before { display: none; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); }
.page-hero p { max-width: 560px; margin: var(--space-4) auto 0; font-size: 16.5px; }
.page-hero .crumbs {
  margin-top: var(--space-5);
  display: flex; justify-content: center; gap: 8px;
  font-size: 13px; color: var(--text-3);
}
.page-hero .crumbs a:hover { color: var(--gold); }

/* ---------- Filters ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: rgba(19, 28, 48, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  margin-bottom: var(--space-6);
}
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 14px; font-weight: 500;
  transition: all .2s var(--ease);
  cursor: pointer;
}
.chip:hover { border-color: var(--border-strong); color: var(--text-1); }
.chip.active {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: transparent;
  color: var(--ink-on-gold);
  font-weight: 600;
}
.filter-select {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(11, 17, 32, .6);
  color: var(--text-2);
  font-size: 14px;
}
.filter-select select {
  background: transparent; border: 0; outline: none;
  color: var(--text-1); font-size: 14px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  padding-right: 4px;
}
.filter-select select option { background: var(--bg-2); color: var(--text-1); }
.result-count { font-size: 13.5px; color: var(--text-3); margin-bottom: var(--space-4); }
.result-count b { color: var(--gold); }

.empty-tip {
  display: none;
  padding: var(--space-8);
  text-align: center;
  color: var(--text-3);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-m);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--text-1);
  margin-bottom: 9px;
}
.field label .req { color: var(--up); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--border-strong);
  background: rgba(11, 17, 32, .65);
  color: var(--text-1);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5D7089; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 180, 76, .15);
}
.field .hint { margin-top: 7px; font-size: 12.5px; color: var(--text-3); }
.field select { cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238CA0B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field select option { background: var(--bg-2); }
.field-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

.form-panel { padding: var(--space-7); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 34px;
  transform: translate(-50%, 80px);
  z-index: 200;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(19, 28, 48, .95);
  border: 1px solid rgba(233, 180, 76, .45);
  color: var(--text-1);
  font-size: 14.5px; font-weight: 500;
  box-shadow: var(--shadow-2);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  pointer-events: none;
  max-width: calc(100vw - 40px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast .ic { color: var(--gold); width: 17px; height: 17px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: var(--space-3); max-width: 760px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  overflow: hidden;
  transition: border-color .25s var(--ease);
}
.faq-item[open] { border-color: rgba(233, 180, 76, .4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: 19px 24px;
  font-size: 16px; font-weight: 600; color: var(--text-1);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--gold); transition: transform .25s var(--ease); }
.faq-item[open] summary .ic { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 24px 21px; font-size: 14.5px; line-height: 1.85; color: var(--text-2); }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; max-width: 720px; margin-inline: auto; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(233,180,76,.08));
}
.timeline-item { position: relative; padding-bottom: var(--space-6); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -31px; top: 7px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(233, 180, 76, .14);
}
.timeline-item .t-year {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 19px; font-weight: 700;
}
.timeline-item h3 { font-family: var(--font-sans); font-size: 17px; margin-top: 4px; }
.timeline-item p { margin-top: 6px; font-size: 14.5px; }

/* ---------- Values / about ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--space-8);
  align-items: center;
}
.about-copy p { margin-top: var(--space-4); font-size: 15.5px; }
.about-copy p:first-of-type { margin-top: var(--space-5); }
.about-art {
  border-radius: var(--radius-l);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #182238, #0e1728);
  min-height: 380px;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.about-art::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.about-art .big-char {
  font-family: var(--font-display);
  font-size: clamp(120px, 16vw, 200px);
  font-weight: 900;
  color: transparent;
  background: linear-gradient(160deg, var(--gold-2), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  opacity: .92;
  position: relative;
  text-shadow: 0 24px 60px rgba(233, 180, 76, .25);
}
.about-art .art-caption {
  position: absolute;
  bottom: 22px; left: 0; right: 0;
  text-align: center;
  font-size: 13px; letter-spacing: .3em; color: var(--text-3);
}

.rule-card { padding: var(--space-5); display: flex; gap: var(--space-4); align-items: flex-start; }
.rule-card .rc-icon {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(233, 180, 76, .1);
  border: 1px solid rgba(233, 180, 76, .3);
  color: var(--gold);
}
.rule-card.tint-red .rc-icon { background: rgba(240,101,94,.1); border-color: rgba(240,101,94,.35); color: var(--up); }
.rule-card h3 { font-family: var(--font-sans); font-size: 16px; }
.rule-card p { margin-top: 5px; font-size: 13.5px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .hero-visual { min-height: 400px; max-width: 640px; }
  .hero-sub { max-width: 620px; }
  .grid-3, .event-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .member-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .about-split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 62px; }
  section { padding-block: var(--space-8); }
  .container { width: min(1180px, 100% - 36px); }

  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta { margin-left: 0; }
  .nav-inner { gap: var(--space-3); }

  .hero { padding-block: calc(var(--nav-h) + var(--space-7)) var(--space-8); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-visual { min-height: 0; height: 340px; }
  .fc-2 { left: 2%; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-4); }
  .stat + .stat::before { display: none; }

  .grid-3, .grid-4, .event-grid, .member-grid, .steps, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-row-split { grid-template-columns: 1fr; }
  .form-panel { padding: var(--space-5); }
  .filter-select { margin-left: 0; }

  .cta-banner { flex-direction: column; align-items: flex-start; padding: var(--space-6) var(--space-5); }
  .foot-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .foot-bottom { justify-content: flex-start; }

  .about-art { min-height: 260px; }
}

@media (max-width: 420px) {
  .event-cover .cover-tags { display: none; }
  .brand-sub { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
