/* ==========================================================================
   PrizeHub — Design System
   Light editorial theme · black chrome · condensed display type
   Inspired by the bold competition-site language of Dream Car Giveaways
   ========================================================================== */
:root {
  /* Ink & paper — warm Sahel palette */
  --ink: #231b12;
  --ink-2: #2f251a;
  --ink-3: #433626;
  --paper: #f6ecdc;
  --paper-2: #efe2ce;
  --white: #fffdf7;
  /* Brand — Senegal flag + Sahel earth */
  --orange: #007a3d;
  --orange-dark: #005c2e;
  --orange-soft: #e6f3ea;
  --orange-line: #b9dcc7;
  --purple: #d62828;
  --purple-dark: #b21f1f;
  --purple-soft: #fde8e6;
  --green: #007a3d;
  --red: #d62828;
  --yellow: #fcd116;
  --yellow-dark: #c9a600;
  --yellow-soft: #fff7d6;
  --terracotta: #c4552d;
  /* Text */
  --text: #231b12;
  --text-soft: #51463b;
  --text-mute: #7c6f60;
  --text-faint: #a39380;
  /* Surfaces */
  --line: #e3d5c1;
  --line-strong: #cfbda4;
  --line-dark: rgba(255, 253, 247, .16);
  /* Shape */
  --r-xs: 3px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 10px;
  --r-pill: 999px;
  /* Shadow */
  --sh-sm: 0 1px 2px rgba(17, 17, 17, .05);
  --sh-md: 0 8px 24px -12px rgba(17, 17, 17, .22);
  --sh-lg: 0 24px 60px -28px rgba(17, 17, 17, .35);
  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 44px);
  --nav-h: 74px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --font-display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-accent: "Caveat", "Segoe Script", cursive;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}
/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, canvas, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: #fff; }
/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: #bdbdbd; border-radius: 99px; border: 3px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: #9a9a9a; }
/* ---------- Ambient layers (kept for markup compatibility) ---------- */
.bg-ambient, .bg-grid, .bg-grain, .cursor-glow { display: none !important; }
/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: clamp(52px, 7vw, 92px); }
.section-tight { padding-block: clamp(32px, 4.5vw, 58px); }
.stack { display: grid; gap: 18px; }
.row { display: flex; align-items: center; gap: 14px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .96;
  letter-spacing: .012em;
  text-transform: uppercase;
  text-wrap: balance;
}
.display { font-size: clamp(2.5rem, 4.4vw, 4.35rem); line-height: 1.02; letter-spacing: -.005em; }
.h1 { font-size: clamp(1.95rem, 3.3vw, 2.95rem); line-height: 1.05; }
.h2 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); line-height: 1.08; }
.h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.15; }
.h4 { font-size: 1.15rem; }
.lead { font-size: clamp(1rem, 1.25vw, 1.08rem); color: var(--text-soft); line-height: 1.7; }
.muted { color: var(--text-mute); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--orange);
}
.eyebrow.on-dark { color: #ff8a45; }
.grad-text { color: var(--orange); }
.outline-text { color: transparent; -webkit-text-stroke: 1.4px rgba(27, 28, 30, .55); }
.mono { font-family: var(--font-mono); letter-spacing: .04em; }
.tabular { font-variant-numeric: tabular-nums; }
/* Section head — "DRAWING SOON" + "VIEW ALL" */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.sec-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.sec-head p { margin-top: 6px; color: var(--text-mute); font-size: .92rem; max-width: 56ch; }
/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  height: 50px;
  border-radius: var(--r-xs);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1.5px solid var(--ink);
  background: var(--btn-bg);
  color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-gold { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-gold:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { height: 40px; padding: 0 16px; font-size: .72rem; }
.btn-lg { height: 56px; padding: 0 30px; font-size: .84rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
/* On dark bands */
.on-dark .btn-ghost, .footer .btn-ghost, .cta-band .btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.on-dark .btn-ghost:hover, .footer .btn-ghost:hover, .cta-band .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.on-dark .btn-primary, .cta-band .btn-primary { background: #fff; border-color: #fff; color: var(--ink); }
.on-dark .btn-primary:hover, .cta-band .btn-primary:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
/* ---------- Chips / pills ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-size: .76rem;
  font-weight: 700;
  color: var(--text-soft);
  transition: .2s ease;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.chip-live { color: var(--green); border-color: #bfe3cc; background: #f0faf3; }
.chip-live .dot { box-shadow: 0 0 0 3px rgba(28, 139, 74, .14); }
a.chip:hover, button.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  font-weight: 700;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--r-xs);
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--ink);
  border: 0;
  color: #fff;
}
.tag-hot { background: var(--orange); color: #fff; }
.tag-new { background: var(--purple); color: #fff; }
.tag-soon { background: var(--purple-soft); color: var(--purple); }
/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.65rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  z-index: 2;
}
.logo-mark {
  position: relative;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--orange);
  color: #fff;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transform: rotate(-4deg);
}
.logo-mark svg { width: 19px; height: 19px; color: #fff; }
.logo-mark::after { display: none; }
.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: .5rem;
  letter-spacing: .34em;
  white-space: nowrap;
  color: var(--orange);
  font-weight: 700;
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: 0; }
.nav-link {
  position: relative;
  padding: 6px 0;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  transition: color .2s ease;
}
.nav-link:hover { color: #fff; }
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--orange);
}
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-actions .btn { height: 38px; padding: 0 16px; font-size: .7rem; border-radius: 0; }
.nav-actions .btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.nav-actions .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.nav-actions .btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.nav-actions .btn-primary:hover { background: #fff; border-color: #fff; color: var(--ink); }
.nav-actions .chip { height: 32px; background: transparent; border-color: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .85); }
.nav-toggle { display: none; color: #fff; border-color: rgba(255, 255, 255, .4) !important; }
.nav-toggle:hover { background: rgba(255, 255, 255, .12) !important; }
/* Mobile drawer */
.drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 89;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  padding: 12px var(--gutter) 24px;
  display: grid;
  gap: 0;
  transform-origin: top;
  transition: opacity .25s ease, transform .3s var(--ease), visibility .3s;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a {
  padding: 14px 2px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid var(--line-dark);
}
.drawer .btn { color: var(--ink); }
/* ---------- Cards ---------- */
.card {
  position: relative;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.card-pad { padding: clamp(20px, 2.4vw, 30px); }
.card-hover { transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.card-hover:hover { border-color: var(--line-strong); box-shadow: var(--sh-md); }
/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(28, 139, 74, .4); }
  70% { box-shadow: 0 0 0 10px rgba(28, 139, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(28, 139, 74, 0); }
}
@keyframes shimmer { 0% { background-position: -160% 0; } 100% { background-position: 260% 0; } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* ---------- Footer ---------- */
.footer {
  position: relative;
  margin-top: 0;
  background: var(--ink);
  color: #fff;
  padding-block: 56px 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.footer h5 {
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9b9b9b;
  margin-bottom: 16px;
  font-weight: 800;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: .84rem; color: #d8d8d8; transition: color .2s ease; width: fit-content; }
.footer-links a:hover { color: var(--orange); }
.footer-brand .logo { position: static; transform: none; font-size: 1.55rem; margin-bottom: 14px; }
.footer-brand p { font-size: .84rem; color: #a8a8a8; max-width: 34ch; margin-top: 4px; line-height: 1.65; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.social {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  background: transparent;
  color: #fff;
  transition: .2s ease;
}
.social:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: none; }
.social svg { width: 15px; height: 15px; }
.legal {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: 10px;
  font-size: .7rem;
  line-height: 1.7;
  color: #8f8f8f;
}
.legal strong { color: #d8d8d8; font-weight: 700; }
/* ---------- Toast ---------- */
.toast-host {
  position: fixed;
  z-index: 200;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 28px));
}
.toast {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 17px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  background: #fff;
  box-shadow: var(--sh-lg);
  animation: rise .35s var(--ease) both;
  font-size: .86rem;
  line-height: 1.5;
}
.toast .toast-ico {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #e8f6ed;
  color: var(--green);
}
.toast[data-kind="win"] { border-left-color: var(--orange); }
.toast[data-kind="win"] .toast-ico { background: var(--orange-soft); color: var(--orange); }
.toast[data-kind="err"] { border-left-color: var(--red); }
.toast[data-kind="err"] .toast-ico { background: #fdecea; color: var(--red); }
.toast strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 1px; }
.toast.is-out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px) scale(.98); } }
/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease, visibility .25s;
}
.modal.is-open { visibility: visible; opacity: 1; }
.modal-veil {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, .62);
  backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh-lg);
  padding: clamp(24px, 3vw, 32px);
  transform: translateY(14px);
  transition: transform .3s var(--ease);
}
.modal.is-open .modal-panel { transform: none; }
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 0;
  color: var(--text-mute);
  border: 1px solid var(--line);
  transition: .2s ease;
}
.modal-close:hover { color: var(--ink); background: var(--paper); }
.modal-panel h3 { font-size: 1.9rem; margin-bottom: 4px; }
.modal-panel .sub { color: var(--text-mute); font-size: .86rem; margin-bottom: 20px; }
/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 13px; }
.field label { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.input, .select, .textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-size: .92rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 110px; }
.input::placeholder { color: #a3a3a3; }
.input:focus, .select:focus, .textarea:focus {
  outline: 0;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 95, 1, .12);
}
.input.is-bad { border-color: var(--red); box-shadow: 0 0 0 3px rgba(212, 58, 47, .1); }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23717171' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.select option { background: #fff; color: var(--ink); }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .78rem;
  color: var(--text-soft);
  line-height: 1.5;
  cursor: pointer;
  margin: 4px 0 14px;
}
.check input { appearance: none; width: 17px; height: 17px; flex: none; margin-top: 2px; border-radius: 2px; border: 1px solid var(--line-strong); background: #fff; transition: .2s ease; }
.check input:checked { background: var(--orange); border-color: var(--orange); }
.check input:checked::after { content: "✓"; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #fff; height: 100%; }
.form-note { font-size: .72rem; color: var(--text-mute); line-height: 1.6; }
.alert { padding: 11px 14px; border-radius: var(--r-xs); font-size: .8rem; margin-bottom: 13px; border: 1px solid #f2c9c5; background: #fdf0ef; color: #a32a22; }
.alert.ok { border-color: #bfe3cc; background: #f0faf3; color: #186c3a; }
/* ---------- Tabs ---------- */
.tabs { display: grid; gap: 3px; padding: 3px; border-radius: var(--r-xs); border: 1px solid var(--line); background: var(--paper); width: fit-content; }
.tabs button {
  padding: 9px 18px;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-mute);
  transition: .2s ease;
}
.tabs button.is-active { background: var(--ink); color: #fff; }
/* ---------- Skeleton ---------- */
.skeleton {
  border-radius: var(--r-md);
  background: linear-gradient(90deg, #ededed, #f7f7f7, #ededed);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}
/* ---------- Empty state ---------- */
.empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 56px 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: #fff;
}
.empty .ico-wrap {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  border: 0;
}
/* ---------- Progress ---------- */
.bar { height: 5px; border-radius: 0; background: #ececec; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 0; background: var(--orange); transition: width 1s var(--ease); }
.bar.gold > i { background: var(--orange); }
.bar.cyan > i { background: var(--purple); }
/* ---------- Marquee ticker ---------- */
.ticker {
  border-block: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  padding-block: 12px;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track { display: flex; gap: 38px; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
}
.ticker-item b { color: var(--orange); font-weight: 700; }
.ticker-item .sep { width: 5px; height: 5px; background: var(--purple); }
@keyframes ticker { to { transform: translateX(-50%); } }
/* ---------- Utilities ---------- */
.divider { height: 1px; background: var(--line); border: 0; }
.glass-strip {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
}
.hide { display: none !important; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 26px; } .mt-4 { margin-top: 40px; }
/* ---------- Dark band ---------- */
.band-dark { background: var(--ink); color: #fff; }
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark .lead, .band-dark p { color: #b9b9b9; }
/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .logo { position: static; transform: none; margin-right: auto; }
  .nav-actions { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .logo { font-size: 1.4rem; }
  .logo small { display: none; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 0 12px; }
  #navLogin { display: none; }
  .nav-actions .chip { display: none; }
  .eyebrow { font-size: .6rem; letter-spacing: .12em; gap: 6px; }
  .btn-lg { height: 52px; padding: 0 22px; font-size: .78rem; }
}
@media (max-width: 380px) {
  .logo { font-size: 1.22rem; gap: 7px; }
  .logo-mark { width: 28px; height: 28px; }
  .nav-actions .btn { padding: 0 9px; font-size: .64rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
/* ---------- inline icon sizing guards ---------- */
#authBody .tabs { margin-top: 16px; }
.tag svg { width: 11px; height: 11px; }
.chip svg { width: 13px; height: 13px; }
.alert svg { width: 15px; height: 15px; vertical-align: -2px; }
.toast-ico svg { width: 15px; height: 15px; }
.empty .ico-wrap svg { width: 24px; height: 24px; }
.winner-av svg { width: 18px; height: 18px; }
.acct-avatar svg { width: 28px; height: 28px; }
.stage-float { display: inline-flex; align-items: center; gap: 6px; }
.stage-float svg { width: 13px; height: 13px; }
.spin-result .glass-strip svg { width: 15px; height: 15px; vertical-align: -3px; }
.prize-cta svg { width: 15px; height: 15px; flex: none; }
.btn svg:not([class]), .btn svg.ico { flex: none; }
.row-between svg.ico, .row svg.ico { flex: none; }
.btn > svg { width: 1.05em; height: 1.05em; flex: none; }
/* ---------- Footer age note ---------- */
.footer-age {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-age .age-badge {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .02em;
  border-radius: 50%;
}
.footer-age p { font-size: .74rem; color: #9b9b9b; max-width: 68ch; line-height: 1.6; }
@media (max-width: 560px) { .footer-age { align-items: flex-start; } }

/* ==========================================================================
   SENEGAL THEME — flag colours, Sahel paper, wax motifs, baobab warmth
   ========================================================================== */
body {
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23007a3d' stroke-opacity='.055' stroke-width='1'%3E%3Cpath d='M48 0 96 48 48 96 0 48Z'/%3E%3Cpath d='M48 16 80 48 48 80 16 48Z'/%3E%3Ccircle cx='48' cy='48' r='5'/%3E%3Cpath d='M0 0h96v96H0z'/%3E%3C/g%3E%3C/svg%3E");
}
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline-color: var(--green); }
::-webkit-scrollbar-thumb { background: #b7a58c; border-color: var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: var(--green); }
/* Buttons */
.btn { letter-spacing: .07em; }
.btn-primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn-primary:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-gold { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-gold:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--yellow); }
.on-dark .btn-primary, .cta-band .btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.on-dark .btn-primary:hover, .cta-band .btn-primary:hover { background: var(--green); border-color: var(--green); color: #fff; }
/* Navbar */
.nav { background: #0b3a23; }
.nav::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: linear-gradient(90deg, #00853f 0 33.33%, #fcd116 33.33% 66.66%, #e31b23 66.66% 100%);
  z-index: 3;
}
.logo-mark { background: var(--yellow); color: var(--ink); transform: rotate(-5deg); }
.logo-mark svg { color: var(--ink); }
.logo small { color: var(--yellow); }
.nav-link.is-active::after { background: var(--yellow); height: 3px; }
.nav-link:hover { color: var(--yellow); }
.nav-actions .btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.nav-actions .btn-primary:hover { background: #fff; border-color: #fff; color: var(--ink); }
.nav-actions .btn-ghost { border-color: rgba(255, 253, 247, .55); }
.nav-actions .btn-ghost:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.nav-actions .chip { border-color: rgba(252, 209, 22, .4); color: var(--yellow-soft); }
.drawer { background: #0b3a23; }
/* Footer */
.footer { background: #0d2a1c; }
.footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 6px;
  background: linear-gradient(90deg, #00853f 0 33.33%, #fcd116 33.33% 66.66%, #e31b23 66.66% 100%);
}
.footer h5 { color: var(--yellow); }
.footer-links a { color: #e8dfcf; }
.footer-links a:hover { color: var(--yellow); }
.footer-brand p { color: #b9ad9b; }
.footer-brand .logo-mark { background: var(--yellow); }
.social { border-color: rgba(252, 209, 22, .28); color: var(--yellow-soft); }
.social:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.footer-age .age-badge { background: var(--yellow); color: var(--ink); }
.footer-age p { color: #b9ad9b; }
.footer .legal p { color: #a89b88; }
/* Ticker — flag-yellow band */
.ticker { background: var(--yellow); border-block-color: var(--ink); padding-block: 11px; }
.ticker-item { color: var(--ink); font-weight: 600; }
.ticker-item b { color: var(--green); font-weight: 800; }
.ticker-item .sep { background: var(--red); }
/* Dark bands become deep forest green */
.band-dark { background: #0b3a23; color: #fff; }
.band-dark .lead, .band-dark p { color: #c9d8cc; }
/* Utility */
.script { font-family: var(--font-accent); font-weight: 700; letter-spacing: 0; }

/* Alfa Slab needs a little more breathing room than the condensed face */
.hero-title { font-size: clamp(2.6rem, 4.2vw, 4.15rem); line-height: 1.04; }
.page-head h1, .detail-title { font-size: clamp(1.85rem, 2.9vw, 2.55rem); line-height: 1.08; }
.modal-panel h3 { font-size: 1.55rem; line-height: 1.15; }
