/* ============================================================
   TE ESPORTS — Free Fire India tournament site
   Dark / neon-cyan theme built around the org emblem.
   ============================================================ */

:root {
  --bg: #04070c;
  --bg-soft: #070d15;
  --bg-alt: #060b12;
  --panel: #0a131e;
  --panel-2: #0d1826;
  --line: rgba(94, 190, 214, 0.16);
  --line-strong: rgba(34, 227, 255, 0.38);
  --cyan: #22e3ff;
  --cyan-soft: #7defff;
  --cyan-deep: #0a93b0;
  --text: #e9f7fc;
  --muted: #90a8b8;
  --muted-2: #6c8494;
  --gold: #ffcf5c;
  --green: #35e08a;
  --red: #ff5c72;
  --amber: #ffb84d;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px -30px rgba(0, 0, 0, 0.9);
  --glow: 0 0 0 1px rgba(34, 227, 255, 0.25), 0 0 42px -8px rgba(34, 227, 255, 0.55);
  --font-display: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --font-body: "Rajdhani", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: 0.01em; margin: 0; }
p { margin: 0; }
::selection { background: rgba(34, 227, 255, 0.28); color: #fff; }

.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* ---------------- Background FX ---------------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.bg-grid {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(34, 227, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 227, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.orb-1 { width: 560px; height: 560px; top: -220px; right: -120px; background: rgba(0, 170, 210, 0.4); }
.orb-2 { width: 460px; height: 460px; top: 40%; left: -220px; background: rgba(0, 110, 150, 0.35); }
.orb-3 { width: 420px; height: 420px; bottom: -180px; right: 20%; background: rgba(34, 227, 255, 0.14); }
.scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.018) 0 1px, transparent 1px 4px);
  opacity: 0.5; pointer-events: none;
}

/* ---------------- Navigation ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 16px 0;
  background: rgba(4, 7, 12, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}
.nav.scrolled { background: rgba(4, 7, 12, 0.9); border-bottom-color: var(--line); padding: 10px 0; }
.nav-solid { background: rgba(4, 7, 12, 0.92); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand-logo {
  width: 46px; height: 46px; border-radius: 12px; overflow: hidden; flex: 0 0 auto;
  border: 1px solid rgba(34, 227, 255, 0.35);
  box-shadow: 0 0 22px -6px rgba(34, 227, 255, 0.8);
  background: #061019;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: 0.14em; white-space: nowrap; }
.brand-text small { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) {
  color: var(--muted); font-weight: 600; font-size: 15px; letter-spacing: 0.04em;
  position: relative; padding: 6px 0; transition: color 0.2s ease;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan); transition: width 0.25s ease;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }
.nav-links-simple { gap: 16px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: rgba(10, 19, 30, 0.8); border-radius: 12px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--cyan); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Buttons ---------------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; letter-spacing: 0.05em;
  cursor: pointer; white-space: nowrap; text-align: center;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  position: relative; overflow: hidden;
}
.btn svg { width: 19px; height: 19px; fill: currentColor; flex: 0 0 auto; }
.btn:active { transform: translateY(1px) scale(0.995); }
.btn:focus-visible { outline: 2px solid var(--cyan-soft); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, #29e6ff 0%, #0fb4d6 55%, #0a8aa8 100%);
  color: #00141c;
  box-shadow: 0 10px 32px -12px rgba(34, 227, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 34%, rgba(255,255,255,0.35) 50%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(34, 227, 255, 0.95); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:focus-visible::after { transform: translateX(120%); }

.btn-ghost {
  background: rgba(10, 19, 30, 0.6); color: var(--text);
  border-color: var(--line); backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(16, 30, 46, 0.8); transform: translateY(-2px); }

.btn-yt {
  background: linear-gradient(135deg, #ff3d3d, #c90000);
  color: #fff;
  box-shadow: 0 12px 34px -14px rgba(255, 60, 60, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-yt:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -14px rgba(255, 60, 60, 1); }
.btn-yt:disabled { opacity: 0.75; cursor: progress; transform: none; }
.btn-yt .ext { width: 15px; height: 15px; opacity: 0.85; }

.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(34, 227, 255, 0.3);
  background: rgba(8, 24, 34, 0.7);
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan-soft);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(53, 224, 138, 0.14); animation: pulse 2s infinite; }
.pill-sep { width: 1px; height: 12px; background: var(--line-strong); }

.hero h1 { margin: 22px 0 20px; font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 900; line-height: 0.98; }
.h1-top {
  display: block; font-size: 0.42em; letter-spacing: 0.42em; font-weight: 700;
  color: var(--muted); margin-bottom: 14px; padding-left: 4px;
}
.h1-bottom { display: block; }
.h1-bottom em {
  font-style: normal; color: transparent;
  background: linear-gradient(100deg, #8cf4ff 0%, #22e3ff 45%, #0a93b0 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 26px rgba(34, 227, 255, 0.35));
}
.lede { color: var(--muted); font-size: 18px; max-width: 540px; }
.lede strong { color: var(--cyan-soft); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 36px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 12px 34px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.stat strong { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }
.stat .accent { color: var(--cyan); }

/* Hero visual */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.logo-stage { position: relative; width: min(390px, 84vw); aspect-ratio: 1; display: grid; place-items: center; }
.logo-ring {
  position: absolute; inset: 6%; border-radius: 50%;
  border: 1px dashed rgba(34, 227, 255, 0.28);
}
.ring-a { animation: spin 26s linear infinite; }
.ring-b { inset: -2%; border-style: solid; border-color: rgba(34, 227, 255, 0.1); animation: spin 40s linear infinite reverse; }
.ring-a::before, .ring-b::before {
  content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 14px 3px rgba(34, 227, 255, 0.8);
}
.logo-glow {
  position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 227, 255, 0.35) 0%, rgba(34, 227, 255, 0.08) 45%, transparent 70%);
  filter: blur(18px); animation: breathe 5s ease-in-out infinite;
}
.logo-frame {
  position: relative; width: 74%; aspect-ratio: 1; border-radius: 26%;
  overflow: hidden;
  border: 1px solid rgba(34, 227, 255, 0.32);
  box-shadow: 0 0 0 8px rgba(34, 227, 255, 0.035), 0 30px 70px -25px rgba(0, 0, 0, 0.95), 0 0 60px -10px rgba(34, 227, 255, 0.35);
  transform: perspective(900px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.5s ease;
}
.logo-frame:hover { transform: perspective(900px) rotateY(0) rotateX(0) scale(1.02); }
.logo-frame img { width: 100%; height: 100%; object-fit: cover; }
.logo-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(34, 227, 255, 0.14), transparent 40%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.chip {
  position: absolute; padding: 6px 12px; border-radius: 8px;
  background: rgba(6, 16, 25, 0.9); border: 1px solid var(--line-strong);
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.2em; color: var(--cyan-soft);
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.9);
}
.chip-tl { top: 4%; left: -2%; transform: rotate(-6deg); }
.chip-br { bottom: 6%; right: -4%; transform: rotate(5deg); }

.countdown-card {
  width: 100%; max-width: 390px; text-align: center;
  padding: 18px 20px 16px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 26, 40, 0.9), rgba(7, 13, 21, 0.9));
  box-shadow: var(--shadow);
}
.countdown-head { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.8s infinite; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 8px; }
.cd-unit { padding: 8px 4px; border-radius: 10px; background: rgba(34, 227, 255, 0.055); border: 1px solid rgba(34, 227, 255, 0.1); }
.cd-unit strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--cyan-soft); font-variant-numeric: tabular-nums; }
.cd-unit span { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.countdown-date { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* ---------------- Ticker ---------------- */
.ticker {
  border-block: 1px solid var(--line);
  background: rgba(34, 227, 255, 0.035);
  overflow: hidden; padding: 12px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; gap: 44px; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track span { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.22em; color: var(--muted); white-space: nowrap; }
.ticker-track span:nth-child(even) { color: var(--cyan); }

/* ---------------- Sections ---------------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(7, 15, 24, 0.75) 18%, rgba(7, 15, 24, 0.75) 82%, transparent); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }
.grad-text {
  color: transparent; background: linear-gradient(100deg, #a6f7ff, #22e3ff 50%, #0a93b0);
  -webkit-background-clip: text; background-clip: text;
}

/* ---------------- Flow ---------------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow-card {
  position: relative; padding: 28px 22px 24px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(15, 29, 44, 0.75), rgba(7, 13, 21, 0.85));
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.flow-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity 0.28s ease;
}
.flow-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.9); }
.flow-card:hover::before { opacity: 1; }
.flow-num {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-display); font-size: 42px; font-weight: 900;
  color: rgba(34, 227, 255, 0.09); line-height: 1;
}
.flow-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(34, 227, 255, 0.09); border: 1px solid rgba(34, 227, 255, 0.22);
  margin-bottom: 20px;
}
.flow-icon svg { width: 24px; height: 24px; fill: var(--cyan); }
.flow-icon.yt svg { fill: #ff4747; }
.flow-icon.yt { background: rgba(255, 71, 71, 0.08); border-color: rgba(255, 71, 71, 0.25); }
.flow-card h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: 0.01em; }
.flow-card p { color: var(--muted); font-size: 15.5px; }
.flow-card p strong { color: var(--cyan-soft); }
.flow-tag {
  display: inline-block; margin-top: 18px; padding: 4px 10px; border-radius: 6px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  color: var(--cyan-soft); background: rgba(34, 227, 255, 0.08);
}

.notice {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 32px; padding: 20px 24px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 184, 77, 0.28);
  background: linear-gradient(100deg, rgba(255, 184, 77, 0.08), rgba(255, 184, 77, 0.02));
}
.notice svg { width: 22px; height: 22px; fill: var(--amber); flex: 0 0 auto; margin-top: 2px; }
.notice p { color: #d9c8a8; font-size: 15.5px; }
.notice strong { color: var(--amber); }
.notice em { color: #fff; font-style: normal; }

/* ---------------- Prizes ---------------- */
.prize-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.prize-card {
  position: relative; text-align: center; padding: 36px 20px 30px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 27, 42, 0.8), rgba(7, 13, 21, 0.9));
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.prize-card:hover { transform: translateY(-4px); }
.prize-card.first {
  border-color: rgba(255, 207, 92, 0.4);
  background: linear-gradient(180deg, rgba(48, 38, 16, 0.55), rgba(12, 16, 22, 0.95));
  box-shadow: 0 0 60px -28px rgba(255, 207, 92, 0.55);
  transform: scale(1.03);
}
.prize-card.first:hover { transform: scale(1.03) translateY(-4px); }
.prize-card.second { border-color: rgba(200, 220, 235, 0.22); }
.prize-card.third { border-color: rgba(214, 145, 90, 0.28); }
.prize-rank {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted-2);
}
.prize-card.first .prize-rank { color: var(--gold); }
.prize-amount { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: 0.01em; }
.prize-card.first .prize-amount { color: var(--gold); text-shadow: 0 0 34px rgba(255, 207, 92, 0.35); }
.prize-note { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.crown { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #ffe9a8, #ffbf3f); box-shadow: 0 10px 30px -10px rgba(255, 191, 63, 0.9); }
.crown svg { width: 22px; height: 22px; fill: #3a2a05; }

.perk-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.perk {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(10, 19, 30, 0.55); font-size: 14.5px; color: var(--muted); font-weight: 600;
}
.perk span { font-size: 17px; }

/* ---------------- Schedule ---------------- */
.schedule-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 36px; align-items: start; }
.timeline { position: relative; padding-left: 8px; }
.tl-item { display: grid; grid-template-columns: 92px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px dashed var(--line); position: relative; }
.tl-item:last-child { border-bottom: 0; }
.tl-time { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--cyan); letter-spacing: 0.06em; padding-top: 2px; }
.tl-body h3 { font-size: 17px; margin-bottom: 4px; }
.tl-body p { color: var(--muted); font-size: 15px; }

.info-card {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(15, 30, 46, 0.85), rgba(7, 13, 21, 0.92));
  box-shadow: var(--shadow); position: sticky; top: 100px;
}
.info-card h3 { font-size: 18px; margin-bottom: 18px; letter-spacing: 0.05em; text-transform: uppercase; }
.info-list { margin: 0 0 24px; display: grid; gap: 0; }
.info-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(94, 190, 214, 0.08); }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { color: var(--muted-2); font-size: 14px; letter-spacing: 0.05em; }
.info-list dd { margin: 0; text-align: right; font-weight: 600; font-size: 15px; }
.info-list dd.accent { color: var(--cyan); }

/* ---------------- Rules ---------------- */
.rules-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rule {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(10, 19, 30, 0.6);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.rule:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.rule-ico {
  font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--cyan);
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto;
  background: rgba(34, 227, 255, 0.08); border: 1px solid rgba(34, 227, 255, 0.18);
}
.rule p { font-size: 15px; color: var(--muted); }
.rule strong { color: var(--text); }

/* ---------------- FAQ ---------------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(10, 19, 30, 0.55); overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq details[open] { border-color: var(--line-strong); background: rgba(12, 25, 38, 0.8); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative;
  font-weight: 700; font-size: 16.5px; letter-spacing: 0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 20px; color: var(--cyan); transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); font-size: 15.5px; }
.faq details p strong { color: var(--cyan-soft); }

/* ---------------- CTA band ---------------- */
.cta-band { padding: 40px 0 100px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
  padding: 44px 48px; border-radius: 24px; position: relative; overflow: hidden;
  border: 1px solid rgba(34, 227, 255, 0.25);
  background:
    radial-gradient(600px 200px at 15% 0%, rgba(34, 227, 255, 0.18), transparent 70%),
    linear-gradient(120deg, rgba(10, 25, 38, 0.95), rgba(6, 11, 18, 0.98));
}
.cta-inner::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  border: 1px dashed rgba(34, 227, 255, 0.25); border-radius: 50%;
  pointer-events: none;
}
.cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 8px; }
.cta-inner p { color: var(--muted); }
.cta-inner .btn { flex: 0 0 auto; position: relative; z-index: 1; }

/* ---------------- Footer ---------------- */
.footer { border-top: 1px solid var(--line); background: rgba(4, 8, 13, 0.85); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 0.7fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.footer-col a { color: var(--muted); font-size: 15px; font-weight: 600; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid rgba(94, 190, 214, 0.1);
  font-size: 13px; color: var(--muted-2);
}
.footer-slim { padding-top: 0; margin-top: 40px; }
.footer-bottom a { color: var(--muted-2); font-weight: 600; transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------------- Legal pages ---------------- */
.legal-main { padding: 56px 0 80px; }
.legal-wrap { max-width: 880px; margin: 0 auto; }
.legal-card { padding: 40px 44px 38px; }
.legal-card h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 6px 0 8px; }
.legal-meta { color: var(--muted-2); font-size: 13px; margin-bottom: 26px; }
.legal-card h2 {
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.02em;
  margin: 30px 0 10px; color: var(--text);
}
.legal-card p, .legal-card li { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.legal-card p { margin: 0 0 12px; }
.legal-card ul { margin: 8px 0 14px; padding-left: 20px; }
.legal-card li { margin-bottom: 6px; }
.legal-card strong { color: var(--text); }
.legal-card a { color: var(--cyan); }
.legal-back { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ============================================================
   REGISTER PAGE
   ============================================================ */
.page-register .reg-main { padding: 56px 0 20px; }
.reg-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.reg-head h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 12px; }
.reg-head p { color: var(--muted); }

.stepbar {
  list-style: none; padding: 0; margin: 0 auto 34px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 820px;
}
.stepbar li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: 12px; border: 1px solid var(--line);
  background: rgba(8, 16, 25, 0.6); opacity: 0.55;
  transition: opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.stepbar li > span {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  background: rgba(34, 227, 255, 0.08); border: 1px solid rgba(34, 227, 255, 0.18); color: var(--cyan);
  flex: 0 0 auto;
}
.stepbar li div { display: flex; flex-direction: column; line-height: 1.25; }
.stepbar strong { font-size: 14px; font-weight: 700; }
.stepbar small { font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.04em; }
.stepbar li.active { opacity: 1; border-color: var(--line-strong); background: rgba(12, 27, 40, 0.85); box-shadow: 0 0 30px -18px rgba(34, 227, 255, 0.9); }
.stepbar li.done { opacity: 0.9; border-color: rgba(53, 224, 138, 0.35); }
.stepbar li.done > span { background: rgba(53, 224, 138, 0.12); border-color: rgba(53, 224, 138, 0.35); color: var(--green); }
.stepbar li.done > span::before { content: "✓"; font-size: 14px; }
.stepbar li.done > span { font-size: 0; }
.stepbar li.done > span::before { font-size: 14px; }

.card {
  border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(175deg, rgba(13, 25, 39, 0.9), rgba(6, 12, 19, 0.95));
  box-shadow: var(--shadow);
}

/* Gate */
.gate-card {
  max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
}
.gate-visual {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; padding: 30px;
  background:
    radial-gradient(circle at 50% 40%, rgba(34, 227, 255, 0.22), transparent 62%),
    linear-gradient(160deg, rgba(10, 28, 42, 0.9), rgba(5, 10, 16, 0.98));
  border-right: 1px solid var(--line);
}
.gate-visual::before {
  content: ""; position: absolute; inset: 18px; border: 1px dashed rgba(34, 227, 255, 0.2); border-radius: 18px;
}
.gate-logo { width: 190px; aspect-ratio: 1; border-radius: 24%; overflow: hidden; border: 1px solid rgba(34, 227, 255, 0.35); box-shadow: 0 0 60px -14px rgba(34, 227, 255, 0.75); position: relative; }
.gate-logo img { width: 100%; height: 100%; object-fit: cover; }
.gate-points {
  list-style: none; padding: 0; margin: 0; width: 100%; max-width: 210px;
  display: grid; gap: 9px;
}
.gate-points li {
  display: flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.gate-points li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; flex: 0 0 auto;
  background: var(--cyan); box-shadow: 0 0 9px var(--cyan);
}
.gate-badge {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 9.5px; letter-spacing: 0.24em; color: var(--cyan-soft);
  padding: 5px 10px; border-radius: 6px; background: rgba(4, 10, 16, 0.9); border: 1px solid var(--line-strong);
  white-space: nowrap;
}
.gate-body { padding: 40px 38px 32px; }
.gate-body h2 { font-size: 1.7rem; margin-bottom: 12px; }
.gate-body > p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.gate-body > p strong { color: var(--text); }
.gate-body .btn { margin-bottom: 14px; }

.gate-status {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px; margin-bottom: 16px;
  border: 1px solid var(--line); background: rgba(34, 227, 255, 0.04);
  font-size: 14px; color: var(--muted);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); flex: 0 0 auto; animation: pulse 1.8s infinite; }
.gate-status.ready { border-color: rgba(53, 224, 138, 0.3); background: rgba(53, 224, 138, 0.06); color: #b6f3d3; }
.gate-status.ready .status-dot { background: var(--green); box-shadow: 0 0 10px var(--green); animation: none; }
.gate-status.waiting .status-dot { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box {
  width: 22px; height: 22px; border-radius: 6px; flex: 0 0 auto; margin-top: 2px;
  border: 1px solid var(--line-strong); background: rgba(4, 10, 16, 0.8);
  display: grid; place-items: center; transition: background 0.2s ease, border-color 0.2s ease;
}
.check .box::after {
  content: ""; width: 10px; height: 6px; border-left: 2px solid #00141c; border-bottom: 2px solid #00141c;
  transform: rotate(-45deg) scale(0); transition: transform 0.18s ease; margin-top: -2px;
}
.check input:checked + .box { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 16px -2px rgba(34, 227, 255, 0.8); }
.check input:checked + .box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--cyan-soft); outline-offset: 2px; }
.check input:disabled + .box { opacity: 0.4; }
.check-text { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.check-text strong { color: var(--text); }
.gate-check { margin-bottom: 18px; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(34, 227, 255, 0.03); }
.gate-check:has(input:disabled) { opacity: 0.6; cursor: not-allowed; }

/* Subscribe screenshot */
.proof { margin-bottom: 18px; }
.proof-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.proof-head strong { font-size: 14.5px; }
.proof-req {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); background: rgba(255, 184, 77, 0.08); border: 1px solid rgba(255, 184, 77, 0.28);
  padding: 3px 8px; border-radius: 5px; white-space: nowrap;
}
.proof-hint { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0 0 10px; }
.proof-hint b { color: var(--text); }
.proof-drop {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 14px; border-radius: 12px; border: 1px dashed var(--line-strong);
  background: rgba(34, 227, 255, 0.03); cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.proof-drop:hover { border-color: var(--cyan); background: rgba(34, 227, 255, 0.07); }
.proof-drop:focus-within { outline: 2px solid var(--cyan-soft); outline-offset: 2px; }
.proof-drop.is-busy { opacity: 0.65; cursor: progress; }
.proof-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.proof-drop svg { width: 26px; height: 26px; fill: var(--cyan); flex: 0 0 auto; }
.proof-drop-text { display: flex; flex-direction: column; line-height: 1.3; }
.proof-drop-text strong { font-size: 14px; }
.proof-drop-text small { font-size: 11.5px; color: var(--muted-2); }
.proof-preview {
  display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px;
  border-radius: 12px; border: 1px solid rgba(53, 224, 138, 0.3); background: rgba(53, 224, 138, 0.05);
}
.proof-preview img { width: 74px; height: 74px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.proof-preview-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.proof-preview-meta span { font-size: 12.5px; font-weight: 700; color: var(--green); }

/* 4-Screenshot Grid */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}
@media (max-width: 600px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.proof-slot {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.proof-slot.verified {
  border-color: rgba(53, 224, 138, 0.6);
  background: rgba(53, 224, 138, 0.05);
}
.proof-slot.rejected {
  border-color: rgba(255, 77, 77, 0.6);
  background: rgba(255, 77, 77, 0.08);
}
.proof-slot-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.proof-thumb-wrap {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 120px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.proof-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.proof-slot-status {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3px 2px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}
.proof-slot.verified .proof-slot-status {
  background: rgba(53, 224, 138, 0.85);
  color: #04070c;
}
.proof-slot.rejected .proof-slot-status {
  background: rgba(255, 77, 77, 0.85);
  color: #fff;
}
.proof-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}
.proof .error { margin-top: 8px; }

.fineprint { font-size: 12.5px; color: var(--muted-2); line-height: 1.5; text-align: center; margin-top: 12px; }

/* Form */
.form-card { max-width: 900px; margin: 0 auto; padding: 38px 40px 34px; transition: opacity 0.4s ease, transform 0.4s ease; }
.form-card.is-locked { display: none; }
.form-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.form-card-head h2 { font-size: 1.6rem; margin-bottom: 8px; }
.form-card-head p { color: var(--muted); font-size: 15px; }
.lock-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber); background: rgba(255, 184, 77, 0.08); border: 1px solid rgba(255, 184, 77, 0.25);
  white-space: nowrap;
}
.lock-chip svg { width: 13px; height: 13px; fill: currentColor; }
.lock-chip.open { color: var(--green); background: rgba(53, 224, 138, 0.08); border-color: rgba(53, 224, 138, 0.28); }
.lock-chip.open svg { display: none; }
.lock-chip.open::before { content: "●"; font-size: 8px; }

.fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.fieldset legend {
  display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px;
  font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.fieldset legend span {
  font-size: 10px; color: var(--cyan); background: rgba(34, 227, 255, 0.08);
  border: 1px solid rgba(34, 227, 255, 0.2); padding: 3px 7px; border-radius: 5px;
}
.legend-note { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.legend-note strong { color: var(--cyan-soft); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.grid-2 .field { margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 700; letter-spacing: 0.03em; margin-bottom: 7px; color: #cfe6ef; }
.req { color: var(--cyan); }
.optional { color: var(--muted-2); font-weight: 500; font-size: 12px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], select {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(4, 10, 16, 0.75);
  color: var(--text); font-size: 16px; font-family: var(--font-body); font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
}
input::placeholder { color: #566c7a; }
input:focus, select:focus {
  outline: none; border-color: var(--cyan); background: rgba(6, 16, 24, 0.95);
  box-shadow: 0 0 0 3px rgba(34, 227, 255, 0.12);
}
input.invalid, select.invalid { border-color: rgba(255, 92, 114, 0.75); box-shadow: 0 0 0 3px rgba(255, 92, 114, 0.1); }
.hint { font-size: 12px; color: var(--muted-2); margin-top: 6px; }
.error { font-size: 12.5px; color: #ff8b9c; margin-top: 6px; min-height: 0; display: none; }
.error.show { display: block; }
.roster-error { display: block; }

.select-wrap { position: relative; }
.select-wrap select { padding-right: 40px; cursor: pointer; }
.select-wrap svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: var(--muted); pointer-events: none; }

.phone-wrap { display: flex; align-items: stretch; }
.phone-prefix {
  display: grid; place-items: center; padding: 0 13px; border-radius: 10px 0 0 10px;
  border: 1px solid var(--line); border-right: 0; background: rgba(34, 227, 255, 0.05);
  font-weight: 700; color: var(--muted); font-size: 15px;
}
.phone-wrap input { border-radius: 0 10px 10px 0; }

.roster-row {
  display: grid; grid-template-columns: 52px 1fr 1fr; gap: 14px; align-items: start;
  padding: 14px; margin-bottom: 10px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(9, 18, 28, 0.55);
}
.roster-row .field { margin-bottom: 0; }
.roster-row.sub { border-style: dashed; }
.roster-badge {
  font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(34, 227, 255, 0.08); border: 1px solid rgba(34, 227, 255, 0.18); color: var(--cyan);
  margin-top: 26px;
}
.roster-row.sub .roster-badge { color: var(--muted); border-color: var(--line); background: rgba(255,255,255,0.02); }

.fieldset .check { margin: 4px 0 6px; }
.form-actions { padding-top: 8px; }
.form-actions .fineprint { margin-top: 14px; }

.form-alert {
  margin-top: 18px; padding: 14px 16px; border-radius: 10px;
  border: 1px solid rgba(255, 92, 114, 0.35); background: rgba(255, 92, 114, 0.08);
  color: #ffb3bf; font-size: 14.5px;
}
.form-alert.success { border-color: rgba(53, 224, 138, 0.35); background: rgba(53, 224, 138, 0.08); color: #b6f3d3; }

.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0, 20, 28, 0.3); border-top-color: #00141c; animation: spin 0.7s linear infinite; }
.btn.loading .btn-label { opacity: 0.7; }
.btn.loading .spinner { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; filter: grayscale(0.35); }

/* Success */
.success-card { max-width: 720px; margin: 0 auto; padding: 46px 44px 40px; text-align: center; }
.success-icon {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #8dffc4, #21c46e);
  box-shadow: 0 0 50px -10px rgba(53, 224, 138, 0.8);
}
.success-icon svg { width: 34px; height: 34px; fill: #00240f; }
.success-card h2 { font-size: 2rem; margin-bottom: 10px; }
.success-sub { color: var(--muted); margin-bottom: 26px; }
.reg-id-box {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: 12px; margin-bottom: 24px;
  border: 1px dashed var(--line-strong); background: rgba(34, 227, 255, 0.05);
}
.reg-id-box > span { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
.reg-id-box strong { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.08em; color: var(--cyan-soft); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 7px;
  background: rgba(34, 227, 255, 0.1); border: 1px solid rgba(34, 227, 255, 0.25);
  color: var(--cyan-soft); font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.copy-btn svg { width: 13px; height: 13px; fill: currentColor; }
.copy-btn:hover { background: rgba(34, 227, 255, 0.18); }

.success-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; margin-bottom: 26px; }
.success-grid > div { padding: 13px 16px; border-radius: 10px; background: rgba(255,255,255,0.025); border: 1px solid var(--line); }
.success-grid span { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; }
.success-grid strong { font-size: 15.5px; font-weight: 700; word-break: break-word; }
.status-pending { color: var(--amber) !important; }

.next-steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; text-align: left; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; }
.next-steps li span {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  font-family: var(--font-display); font-size: 11px; color: var(--cyan);
  background: rgba(34, 227, 255, 0.08); border: 1px solid rgba(34, 227, 255, 0.2);
}
.next-steps p { font-size: 14.5px; color: var(--muted); }
.next-steps strong { color: var(--cyan-soft); }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.reg-foot { text-align: center; color: var(--muted-2); font-size: 14px; margin-top: 30px; }
.reg-foot a { color: var(--cyan); font-weight: 600; }

/* ============================================================
   ADMIN
   ============================================================ */
.page-admin .admin-main { padding: 48px 0 80px; }
.login-card { max-width: 420px; margin: 40px auto; padding: 40px 36px 32px; text-align: center; }
.login-logo { width: 74px; height: 74px; border-radius: 18px; overflow: hidden; margin: 0 auto 18px; border: 1px solid var(--line-strong); box-shadow: 0 0 40px -12px rgba(34, 227, 255, 0.7); }
.login-logo img { width: 100%; height: 100%; object-fit: cover; }
.login-card h1 { font-size: 1.6rem; margin-bottom: 8px; }
.login-card > p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.login-card form { text-align: left; }
.login-card .btn { margin-top: 6px; }
.login-card code { color: var(--cyan-soft); background: rgba(34, 227, 255, 0.08); padding: 1px 5px; border-radius: 4px; font-size: 12px; }

.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.admin-head h1 { font-size: 2rem; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-card { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(10, 19, 30, 0.7); }
.stat-card span { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.stat-card strong { font-family: var(--font-display); font-size: 28px; font-weight: 800; }
.amber { color: var(--amber); } .green { color: var(--green); } .red { color: var(--red); }

.toolbar { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.search-wrap { position: relative; flex: 1 1 320px; }
.search-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: var(--muted-2); }
.search-wrap input { padding-left: 42px; }
.toolbar-select { flex: 0 0 190px; }

.table-wrap { border-radius: 16px; border: 1px solid var(--line); background: rgba(8, 16, 25, 0.7); overflow-x: auto; }
.reg-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.reg-table th {
  text-align: left; padding: 13px 16px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-2); background: rgba(34, 227, 255, 0.04); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.reg-table td { padding: 15px 16px; border-bottom: 1px solid rgba(94, 190, 214, 0.08); vertical-align: top; }
.reg-table td:nth-child(5) { white-space: nowrap; }
.reg-table tr:last-child td { border-bottom: 0; }
.reg-table tr:hover td { background: rgba(34, 227, 255, 0.025); }
.team-cell strong { display: block; font-size: 15.5px; }
.team-cell span { color: var(--muted-2); font-size: 12px; letter-spacing: 0.1em; white-space: nowrap; }
.contact-cell { display: flex; flex-direction: column; gap: 2px; }
.contact-cell strong { font-weight: 700; }
.contact-cell a { color: var(--cyan); font-size: 13.5px; word-break: break-all; }
.contact-cell small { color: var(--muted-2); font-size: 12.5px; }
.roster-cell { color: var(--muted); font-size: 13px; line-height: 1.5; }
.status-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.status-badge.pending { color: var(--amber); background: rgba(255, 184, 77, 0.1); border: 1px solid rgba(255, 184, 77, 0.28); }
.status-badge.approved { color: var(--green); background: rgba(53, 224, 138, 0.1); border: 1px solid rgba(53, 224, 138, 0.28); }
.status-badge.rejected { color: var(--red); background: rgba(255, 92, 114, 0.1); border: 1px solid rgba(255, 92, 114, 0.28); }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.icon-btn {
  padding: 6px 10px; border-radius: 7px; border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.18s ease;
}
.icon-btn:hover { border-color: var(--line-strong); color: var(--text); }
.icon-btn.ok:hover { border-color: rgba(53, 224, 138, 0.5); color: var(--green); }
.icon-btn.no:hover { border-color: rgba(255, 92, 114, 0.5); color: var(--red); }
.empty-state { padding: 60px 20px; text-align: center; }
.empty-state span { font-size: 34px; }
.empty-state h3 { margin: 10px 0 6px; font-size: 18px; }
.empty-state p { color: var(--muted); font-size: 14.5px; }

.proof-btn { color: var(--cyan); border-color: rgba(34, 227, 255, 0.3); }
.proof-btn:hover { border-color: var(--cyan); color: var(--cyan-soft); background: rgba(34, 227, 255, 0.1); }
.proof-none { color: var(--muted-2); }
.room-sent {
  display: inline-flex; align-items: center; padding: 6px 9px; border-radius: 7px;
  font-size: 11.5px; font-weight: 700; color: var(--green);
  background: rgba(53, 224, 138, 0.1); border: 1px solid rgba(53, 224, 138, 0.28);
}

/* ---------------- Staff notifications ---------------- */
.notif-wrap { position: relative; }
.notif-bell {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(10, 19, 30, 0.6); color: var(--text); cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.notif-bell:hover { border-color: var(--line-strong); background: rgba(16, 30, 46, 0.8); }
.notif-bell svg { width: 18px; height: 18px; fill: currentColor; }
.notif-badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 999px; background: #ff4d5e; color: #fff;
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px var(--bg);
}
.notif-panel {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 70;
  width: min(370px, calc(100vw - 32px)); max-height: min(70vh, 520px);
  display: flex; flex-direction: column;
  background: rgba(7, 13, 21, 0.98); border: 1px solid var(--line-strong);
  border-radius: 16px; box-shadow: 0 28px 70px -20px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
}
.notif-panel[hidden] { display: none; }
.notif-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.notif-head strong { font-size: 13.5px; letter-spacing: 0.04em; }
.notif-head-actions { display: flex; gap: 10px; }
.link-btn {
  background: none; border: 0; padding: 0; color: var(--cyan);
  font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
}
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: var(--red); }
.notif-list { overflow-y: auto; padding: 6px; }
.notif-item { display: flex; gap: 10px; padding: 10px; border-radius: 10px; }
.notif-item:hover { background: rgba(34, 227, 255, 0.05); }
.notif-item.unread { background: rgba(34, 227, 255, 0.08); }
.notif-ico {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  background: rgba(34, 227, 255, 0.12);
}
.notif-item.type-approved .notif-ico { background: rgba(53, 224, 138, 0.15); }
.notif-item.type-rejected .notif-ico { background: rgba(255, 92, 114, 0.15); }
.notif-item.type-summary .notif-ico { background: rgba(255, 207, 92, 0.15); }
.notif-item.type-room_sent .notif-ico { background: rgba(255, 184, 77, 0.15); }
.notif-body { min-width: 0; }
.notif-body strong { display: block; font-size: 13.5px; }
.notif-body span { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.notif-body time { display: block; color: var(--muted-2); font-size: 11px; margin-top: 3px; }
.notif-empty { padding: 26px 16px; text-align: center; color: var(--muted-2); font-size: 13px; }
.notif-foot { padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.notif-state { display: block; margin-top: 8px; color: var(--muted-2); font-size: 11.5px; line-height: 1.4; }

.notif-toasts {
  position: fixed; top: 76px; right: 18px; z-index: 80;
  display: flex; flex-direction: column; gap: 10px;
  width: min(340px, calc(100vw - 36px)); pointer-events: none;
}
.notif-toast {
  pointer-events: auto; display: flex; gap: 10px; padding: 12px 14px;
  background: rgba(7, 16, 25, 0.97); border: 1px solid rgba(34, 227, 255, 0.35);
  border-left: 3px solid var(--cyan); border-radius: 12px;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.9);
  animation: notifIn 0.25s ease both;
}
.notif-toast.out { animation: notifOut 0.25s ease both; }
.notif-toast strong { display: block; font-size: 13px; }
.notif-toast span { display: block; color: var(--muted); font-size: 12.5px; }
@keyframes notifIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes notifOut { to { opacity: 0; transform: translateX(20px); } }

@media (max-width: 560px) {
  .notif-wrap { margin-left: auto; }
  .notif-toasts { top: 70px; right: 12px; }
}


.proof-modal {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(2, 6, 10, 0.86); backdrop-filter: blur(6px);
}
.proof-modal[hidden] { display: none; }
.proof-modal-inner {
  position: relative; width: min(880px, 100%); max-height: 92vh; overflow-y: auto;
  padding: 18px; border-radius: 16px; border: 1px solid var(--line-strong);
  background: var(--panel); box-shadow: var(--shadow);
}
.proof-modal-inner h2 { font-size: 1.05rem; margin: 0 40px 12px 4px; }
.proof-modal-inner img { display: block; width: 100%; height: auto; border-radius: 10px; background: #fff; }
.proof-modal-note { margin: 12px 4px 2px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.proof-modal-note strong { color: var(--text); }
.proof-modal-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(4, 10, 16, 0.9); color: var(--text);
  font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.proof-modal-close:hover { border-color: var(--line-strong); color: var(--cyan); }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  padding: 12px 22px; border-radius: 10px; z-index: 100;
  background: #0e2430; border: 1px solid var(--line-strong); color: var(--cyan-soft);
  font-size: 14px; font-weight: 600; box-shadow: 0 20px 50px -20px #000;
  animation: toastIn 0.25s ease;
}

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Keyframes ---------------- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: 0.65; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------------- Responsive ---------------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .lede { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(4, auto); }
  .pill { margin-inline: auto; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .schedule-grid, .rules-wrap, .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .info-card { position: static; }
  .perk-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav { padding: 12px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 10, 16, 0.98); border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px; display: none; box-shadow: 0 30px 50px -20px #000;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid rgba(94, 190, 214, 0.08); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 12px; width: 100%; }
  .nav-links-simple { position: static; display: flex; flex-direction: row; background: none; border: 0; padding: 0; box-shadow: none; gap: 8px; }
  .nav-links-simple .btn { margin-top: 0; width: auto; padding: 8px 12px; font-size: 12.5px; }
  .nav-links-simple a:not(.btn) { border-bottom: 0; padding: 0; font-size: 13px; white-space: nowrap; }
  .brand-text strong { font-size: 13px; letter-spacing: 0.1em; }
  .brand-text small { font-size: 9.5px; letter-spacing: 0.12em; }
  .brand-logo { width: 40px; height: 40px; }
  .nav-inner { gap: 10px; }

  .hero { padding: 40px 0 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px 24px; text-align: left; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .flow { grid-template-columns: 1fr; }
  .prize-grid { grid-template-columns: 1fr; }
  .prize-card.first { transform: none; order: -1; }
  .prize-card.first:hover { transform: translateY(-4px); }
  .perk-row { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; padding: 34px 24px; }
  .cta-inner .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; }

  .gate-card { grid-template-columns: 1fr; }
  .gate-visual { padding: 28px 20px 64px; border-right: 0; border-bottom: 1px solid var(--line); }
  .gate-logo { width: 130px; }
  .gate-body { padding: 30px 22px 26px; }
  .form-card { padding: 26px 20px 24px; }
  .form-card-head { flex-direction: column; }
  .grid-2 { grid-template-columns: 1fr; gap: 0; }
  .roster-row { grid-template-columns: 42px 1fr; }
  .roster-row .field:nth-child(3) { grid-column: 2; }
  .roster-badge { margin-top: 0; align-self: center; }
  .stepbar { grid-template-columns: 1fr; gap: 8px; }
  .stepbar li { padding: 11px 14px; }
  .success-card { padding: 34px 22px 30px; }
  .success-grid { grid-template-columns: 1fr; }
  .success-actions .btn { width: 100%; }

  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .admin-head { align-items: flex-start; }
  .admin-actions { width: 100%; }
  .admin-actions .btn { flex: 1; }
  .toolbar-select { flex: 1 1 100%; }
  .table-wrap { overflow-x: auto; }
  .reg-table { min-width: 880px; }
}

@media (max-width: 560px) {
  .nav-help, .nav-public { display: none; }
  .legal-card { padding: 30px 24px; }
}

@media (max-width: 440px) {
  .brand-text small { display: none; }
  .logo-stage { width: 78vw; }
  .chip { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .reg-id-box strong { font-size: 18px; }
}

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