/* ── CSS Variables (shared across all pages) ─────────────── */
:root {
  --bg: #080c18;
  --bg-soft: #0e1528;
  --panel: rgba(255,255,255,0.055);
  --panel-strong: rgba(255,255,255,0.095);
  --text: #f1f5fb;
  --muted: #c4cfe2;
  --soft: #8496b0;
  --line: rgba(255,255,255,0.10);
  --gold: #f5c15d;
  --gold-soft: rgba(245,193,93,0.14);
  --red: #f97373;
  --green: #6ee7b7;
  --blue: #93c5fd;
  --shadow: 0 24px 70px rgba(0,0,0,0.40);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1180px;
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Crimson Pro', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font: var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text);
  background:
    radial-gradient(ellipse 60% 50% at 12% 0%, rgba(245,193,93,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 88% 8%, rgba(147,197,253,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #070b18 0%, #090e1e 42%, #06080f 100%);
  line-height: 1.65;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
}

a { color: inherit; text-decoration: none; }

/* ── Notice ──────────────────────────────────────────────── */
.notice {
  background: linear-gradient(90deg, rgba(245,193,93,0.08), rgba(245,193,93,0.14), rgba(245,193,93,0.08));
  border-bottom: 1px solid rgba(245,193,93,0.22);
  color: #e8d4a0;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 48px 0 36px;
  animation: fadeUp 0.75s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(245,193,93,0.10);
  border: 1px solid rgba(245,193,93,0.28);
  color: #ffe7b0;
  font-size: 11px;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  font-weight: 900;
  background: linear-gradient(150deg, #fff 20%, #f5c15d 60%, #e8a020 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
  margin: 18px 0 0;
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(.22,.68,0,1.2), box-shadow 0.2s, background 0.18s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, #f5c15d, #d97a06);
  color: #0a0d18;
  box-shadow: 0 12px 32px rgba(245,158,11,0.28);
}

.btn-primary:hover { box-shadow: 0 18px 45px rgba(245,158,11,0.40); }

/* ── Summary card ────────────────────────────────────────── */
.summary-card {
  border: 1px solid rgba(245,193,93,0.20);
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.07);
  animation: fadeUp 0.75s 0.12s ease both;
}

.summary-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
}

.summary-list { display: grid; gap: 0; }

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row:last-child { border-bottom: 0; padding-bottom: 0; }

.summary-row strong {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.summary-row span { color: var(--soft); font-size: 14px; }

/* ── Toolbar ─────────────────────────────────────────────── */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  flex-wrap: wrap;
  font-size: 14px;
}

.toolbar strong { color: var(--text); }

.filter-group { display: flex; gap: 6px; }

.filter-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: all 0.18s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-soft);
  border-color: rgba(245,193,93,0.40);
  color: #ffe7b0;
}

/* ── Table ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

th, td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

tr:last-child td { border-bottom: 0; }

tr:hover td { background: rgba(255,255,255,0.025); }

code {
  color: #ffe7b0;
  background: rgba(245,193,93,0.10);
  border: 1px solid rgba(245,193,93,0.22);
  padding: 5px 10px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.copy-btn {
  border: 1px solid rgba(245,193,93,0.32);
  background: rgba(245,193,93,0.10);
  color: #ffe7b0;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.18s;
}

.copy-btn:hover {
  background: rgba(245,193,93,0.22);
  border-color: rgba(245,193,93,0.55);
  transform: translateY(-1px);
}

/* ── Redeem steps ────────────────────────────────────────── */
.redeem-steps {
  counter-reset: step;
  display: grid;
  gap: 10px;
}

.redeem-step {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}

.redeem-step:hover {
  border-color: rgba(245,193,93,0.25);
  background: var(--panel-strong);
}

.redeem-step::before {
  content: counter(step);
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #0a0d18;
  background: linear-gradient(135deg, #f5c15d, #d97a06);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(245,193,93,0.25);
}

.redeem-step strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.03em;
}

.redeem-step span { color: var(--soft); font-size: 15px; }

/* ── Bonus tips ──────────────────────────────────────────── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tip-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.tip-card:hover {
  border-color: rgba(245,193,93,0.28);
  background: var(--panel-strong);
  transform: translateY(-2px);
}

.tip-card .tip-icon {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

.tip-card h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.tip-card p {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.55;
}

/* ── FAQ ─────────────────────────────────────────────────── */
section { padding: 44px 0; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: none;
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .mobile-menu { display: inline-flex; }
}

@media (max-width: 620px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .hero { padding-top: 40px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .tips-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
}
