/* ==========================================================================
   stakeaustraliagambling.com — design system
   Layers: tokens → base → layout → components → page modules → utilities
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #0b1620;
  --bg-2: #0f212e;
  --bg-3: #152a3a;
  --panel: #1a2c38;
  --panel-2: #213743;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9f1f7;
  --text-2: #b1bad3;
  --text-3: #7f8da0;
  --blue: #1475e1;
  --blue-2: #3b8fee;
  --green: #00e701;
  --green-2: #19b519;
  --gold: #f5c451;
  --gold-2: #d9a62b;
  --red: #ff4d5e;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.75);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
  --wrap: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  padding-top: var(--header-h); /* room for the fixed header */
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.35em; }
strong { color: #fff; }
code, kbd { font-family: var(--mono); font-size: 0.92em; background: rgba(255, 255, 255, 0.07); padding: 0.1em 0.4em; border-radius: 5px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #fff; font-weight: 600; background: rgba(255, 255, 255, 0.03); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--gold); color: #10202c; padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.7rem; }
.section-head .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head p { color: var(--text-2); font-size: 1.05rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.split--rev > :first-child { order: 2; }
.split--top { align-items: start; }
.prose { max-width: 760px; color: var(--text-2); }
.prose h2, .prose h3 { color: #fff; margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose li::marker { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(11, 22, 32, 0.82);
  border-bottom: 1px solid var(--line);
}
/* Blur lives on a pseudo-element so the header does not become the
   containing block for the fixed-position mobile nav. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: #fff; }
.brand img { width: 74px; height: 37px; }
.brand span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); border-left: 1px solid var(--line-strong); padding-left: 0.65rem; line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a { padding: 0.45rem 0.7rem; border-radius: 8px; color: var(--text-2); font-size: 0.93rem; font-weight: 500; position: relative; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); }
.nav .nav-cta { margin-left: 0.4rem; background: var(--blue); color: #fff; font-weight: 600; }
.nav .nav-cta:hover { background: var(--blue-2); }
.nav .nav-cta::after { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease); }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.nav-backdrop { display: none; }

/* ---------- Breadcrumbs (inside <main>, visually part of the page) ---------- */
.hero.hero--crumbs { padding-top: 1.4rem; }
.hero .crumbs { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); position: relative; z-index: 1; }
.crumbs { font-size: 0.84rem; color: var(--text-3); }
.crumbs ol { list-style: none; margin: 0; padding: 0.45rem 0.9rem; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; max-width: 100%; border: 1px solid var(--line); border-radius: 999px; background: rgba(26, 44, 56, 0.6); }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 0.6rem; min-width: 0; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--text-3); border-top: 1.5px solid var(--text-3); transform: rotate(45deg); flex: none; }
.crumbs a { color: var(--text-2); display: inline-flex; align-items: center; gap: 0.4rem; }
.crumbs a svg { color: var(--gold); flex: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
/* ---------- Buttons & badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.78rem 1.3rem; border-radius: 10px; font-weight: 600; font-size: 0.97rem; border: 1px solid transparent; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s; line-height: 1.2; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); color: #fff; }
.btn-gold { background: var(--gold); color: #10202c; }
.btn-gold:hover { background: #ffd56b; color: #10202c; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.88rem; }
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.28rem 0.7rem; border-radius: 999px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.badge-gold { background: rgba(245, 196, 81, 0.14); color: var(--gold); border: 1px solid rgba(245, 196, 81, 0.35); }
.badge-blue { background: rgba(20, 117, 225, 0.16); color: #7ab7ff; border: 1px solid rgba(20, 117, 225, 0.4); }
.badge-red { background: rgba(255, 77, 94, 0.14); color: #ff8a95; border: 1px solid rgba(255, 77, 94, 0.4); }
.badge-green { background: rgba(0, 231, 1, 0.1); color: #5cf15c; border: 1px solid rgba(0, 231, 1, 0.3); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Cards ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; min-width: 0; }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--text-2); font-size: 0.96rem; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem; background: linear-gradient(135deg, rgba(20, 117, 225, 0.25), rgba(0, 231, 1, 0.08)); border: 1px solid var(--line); color: #fff; }
.card .icon svg { width: 24px; height: 24px; }
.card--gold .icon { background: linear-gradient(135deg, rgba(245, 196, 81, 0.28), rgba(245, 196, 81, 0.05)); color: var(--gold); }
.card--link { display: block; color: inherit; }
.card--link .arrow { position: absolute; right: 1.2rem; top: 1.2rem; color: var(--text-3); transition: transform 0.3s var(--ease), color 0.3s; }
.card--link:hover .arrow { transform: translate(3px, -3px); color: var(--gold); }
.card--num { padding-top: 2.1rem; }
.card--num .num { position: absolute; top: 0.9rem; right: 1.1rem; font-size: 2.4rem; font-weight: 800; color: rgba(255, 255, 255, 0.06); line-height: 1; }
.card--img { padding: 0; }
.card--img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card--img .body { padding: 1.3rem 1.5rem; }
.figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.figure img { width: 100%; object-fit: cover; }
.figure figcaption { padding: 0.75rem 1rem; font-size: 0.82rem; color: var(--text-3); border-top: 1px solid var(--line); }

/* ---------- Notice / callouts ---------- */
.notice { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.25rem 1.4rem; border-radius: var(--radius); border: 1px solid rgba(245, 196, 81, 0.35); background: linear-gradient(135deg, rgba(245, 196, 81, 0.1), rgba(245, 196, 81, 0.02)); color: var(--text-2); }
.notice svg { width: 26px; height: 26px; color: var(--gold); flex: none; margin-top: 0.15rem; }
.notice strong { color: #fff; }
.notice--red { border-color: rgba(255, 77, 94, 0.35); background: linear-gradient(135deg, rgba(255, 77, 94, 0.1), rgba(255, 77, 94, 0.02)); }
.notice--red svg { color: var(--red); }
.notice--blue { border-color: rgba(20, 117, 225, 0.4); background: linear-gradient(135deg, rgba(20, 117, 225, 0.14), rgba(20, 117, 225, 0.02)); }
.notice--blue svg { color: var(--blue-2); }
.notice p { margin: 0; }
.notice p + p { margin-top: 0.5rem; }

/* ---------- Hero (shared shell; each page composes its own content) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 55% at 15% 10%, rgba(20, 117, 225, 0.28), transparent 60%),
  radial-gradient(45% 50% at 90% 85%, rgba(245, 196, 81, 0.14), transparent 60%),
  linear-gradient(180deg, var(--bg-2), var(--bg)); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); }
.hero .lede { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--text-2); max-width: 600px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; align-items: center; }
.hero-inner > * { min-width: 0; }
/* Southern Cross constellation – a quiet Australian cue */
.cross { position: absolute; right: 6%; top: 8%; width: 180px; height: 220px; z-index: -1; opacity: 0.55; pointer-events: none; }
.cross i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5); animation: twinkle 4s ease-in-out infinite; }
.cross i:nth-child(1) { left: 50%; top: 0; }
.cross i:nth-child(2) { left: 12%; top: 42%; animation-delay: 1s; }
.cross i:nth-child(3) { left: 85%; top: 38%; animation-delay: 2s; }
.cross i:nth-child(4) { left: 45%; top: 95%; animation-delay: 0.5s; width: 7px; height: 7px; }
.cross i:nth-child(5) { left: 66%; top: 60%; width: 4px; height: 4px; animation-delay: 3s; }
@keyframes twinkle { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* Home hero: fact ledger */
.ledger { background: rgba(26, 44, 56, 0.8); border: 1px solid var(--line-strong); border-radius: 18px; padding: 1.4rem; box-shadow: var(--shadow); backdrop-filter: blur(6px); position: relative; }
.ledger::before { content: ""; position: absolute; inset: -1px; border-radius: 19px; padding: 1px; background: linear-gradient(135deg, rgba(245, 196, 81, 0.5), transparent 40%, transparent 60%, rgba(20, 117, 225, 0.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ledger-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.ledger-head strong { font-size: 0.95rem; }
.ledger dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 0; }
.ledger dl > div { background: rgba(11, 22, 32, 0.6); border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.85rem; min-width: 0; }
.ledger dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 0.2rem; }
.ledger dd { margin: 0; font-weight: 600; color: #fff; font-size: 0.95rem; overflow-wrap: anywhere; }
.ledger .foot { margin-top: 1rem; font-size: 0.82rem; color: var(--text-3); display: flex; gap: 0.6rem; align-items: center; }
.ledger-tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 1rem; }
.ledger-tabs a { font-size: 0.8rem; padding: 0.35rem 0.7rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); }
.ledger-tabs a:hover { border-color: var(--gold); color: var(--gold); }

/* Stat strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.strip > div { padding: 1.2rem 1.3rem; border-right: 1px solid var(--line); min-width: 0; }
.strip > div:last-child { border-right: 0; }
.strip b { display: block; font-size: 1.5rem; color: #fff; letter-spacing: -0.02em; }
.strip span { font-size: 0.86rem; color: var(--text-3); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--blue)); opacity: 0.6; }
.timeline li { padding-top: 1.6rem; position: relative; margin: 0; min-width: 0; }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--gold); }
.timeline time { display: block; font-weight: 800; color: var(--gold); font-size: 1.1rem; }
.timeline p { font-size: 0.9rem; color: var(--text-2); }

/* VIP ladder */
.ladder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem; align-items: end; }
.ladder > div { border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); padding: 0.8rem 0.6rem; text-align: center; min-width: 0; transition: transform 0.3s var(--ease); }
.ladder > div:hover { transform: translateY(-4px); }
.ladder b { display: block; font-size: 0.86rem; color: #fff; }
.ladder small { color: var(--text-3); font-size: 0.74rem; display: block; margin-top: 0.2rem; }
.ladder .t1 { height: 80px; } .ladder .t2 { height: 96px; } .ladder .t3 { height: 112px; } .ladder .t4 { height: 128px; } .ladder .t5 { height: 144px; } .ladder .t6 { height: 160px; }
.ladder .t1 { border-top: 3px solid #b87333; } .ladder .t2 { border-top: 3px solid #c0c0c0; } .ladder .t3 { border-top: 3px solid var(--gold); } .ladder .t4 { border-top: 3px solid #e5e4e2; } .ladder .t5 { border-top: 3px solid #8ad1ff; } .ladder .t6 { border-top: 3px solid #a685ff; }

/* FAQ accordion */
.faq { max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin-bottom: 0.7rem; overflow: hidden; transition: border-color 0.2s; }
.faq-item.is-open { border-color: rgba(245, 196, 81, 0.45); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: #fff; font: inherit; font-weight: 600; font-size: 1.02rem; padding: 1rem 3rem 1rem 1.2rem; cursor: pointer; position: relative; line-height: 1.4; }
.faq-q::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease); }
.faq-item.is-open .faq-q::after { transform: translateY(-30%) rotate(225deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.2rem 1.1rem; color: var(--text-2); font-size: 0.97rem; }

/* Promo code card */
.promo-card { background: linear-gradient(145deg, #15303f, #0f212e); border: 1px solid rgba(245, 196, 81, 0.4); border-radius: 20px; padding: 1.6rem; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.promo-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 196, 81, 0.25), transparent 70%); pointer-events: none; }
.promo-card .label { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.promo-code { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin: 0.9rem 0 1rem; background: rgba(11, 22, 32, 0.75); border: 1px dashed rgba(245, 196, 81, 0.55); border-radius: 12px; padding: 0.7rem 0.7rem 0.7rem 1rem; min-width: 0; }
.promo-code code { font-size: clamp(1.1rem, 4.2vw, 1.7rem); font-weight: 800; letter-spacing: 0.08em; color: #fff; background: none; padding: 0; overflow-wrap: anywhere; min-width: 0; }
.copy-btn { flex: none; display: inline-flex; align-items: center; gap: 0.4rem; background: var(--gold); color: #10202c; border: 0; border-radius: 9px; padding: 0.6rem 0.95rem; font-weight: 700; font-size: 0.88rem; cursor: pointer; font-family: inherit; transition: background 0.2s, transform 0.2s var(--ease); white-space: nowrap; }
.copy-btn:hover { background: #ffd56b; transform: translateY(-1px); }
.copy-btn.is-copied { background: var(--green); }
.copy-btn svg { width: 16px; height: 16px; }
.promo-card .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; font-size: 0.86rem; color: var(--text-2); }
.promo-card .meta div { background: rgba(255, 255, 255, 0.04); border-radius: 8px; padding: 0.55rem 0.7rem; min-width: 0; }
.promo-card .meta b { display: block; color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.promo-card .fine { margin-top: 0.9rem; font-size: 0.78rem; color: var(--text-3); line-height: 1.5; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; margin: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font-weight: 800; font-size: 1.2rem; color: var(--gold); width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(245, 196, 81, 0.1); border: 1px solid rgba(245, 196, 81, 0.3); }
.steps h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.steps p { color: var(--text-2); font-size: 0.95rem; }

/* Compare table */
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.compare table { font-size: 0.93rem; }
.compare th:first-child, .compare td:first-child { width: 28%; color: #fff; font-weight: 600; }
.compare .yes { color: #5cf15c; }
.compare .no { color: #ff8a95; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Tabs */
.tabs { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.tablist { display: flex; gap: 0.25rem; padding: 0.6rem; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.tablist button { flex: none; background: transparent; color: var(--text-2); border: 1px solid transparent; border-radius: 9px; padding: 0.55rem 0.95rem; font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: background 0.2s, color 0.2s; display: inline-flex; align-items: center; gap: 0.45rem; }
.tablist button svg { width: 16px; height: 16px; }
.tablist button:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.tablist button[aria-selected="true"] { background: var(--blue); color: #fff; }
.tabpanel { padding: 1.4rem; }
.tabpanel[hidden] { display: none; }
.tabpanel-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; }
.tabpanel h3 { font-size: 1.25rem; }
.tabpanel .markets { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.tabpanel .markets li { display: flex; justify-content: space-between; gap: 0.7rem; padding: 0.55rem 0.8rem; background: rgba(11, 22, 32, 0.6); border-radius: 8px; border: 1px solid var(--line); font-size: 0.9rem; margin: 0; }
.tabpanel .markets span:last-child { color: var(--text-3); text-align: right; }
.tabpanel .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }
.tabpanel .facts div { background: rgba(255, 255, 255, 0.04); border-radius: 8px; padding: 0.6rem 0.8rem; font-size: 0.85rem; color: var(--text-2); }
.tabpanel .facts b { display: block; color: #fff; font-size: 0.95rem; }

/* Odds calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.calc label { display: block; font-size: 0.85rem; color: var(--text-2); margin-bottom: 0.4rem; font-weight: 600; }
.calc input { width: 100%; font: inherit; font-size: 1.05rem; padding: 0.7rem 0.9rem; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: #fff; }
.calc input:focus { border-color: var(--gold); outline: none; }
.calc .field + .field { margin-top: 1rem; }
.calc .out { display: grid; gap: 0.6rem; }
.calc .out div { background: rgba(11, 22, 32, 0.6); border: 1px solid var(--line); border-radius: 10px; padding: 0.75rem 0.95rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.calc .out span { color: var(--text-3); font-size: 0.86rem; }
.calc .out b { font-size: 1.15rem; color: #fff; font-variant-numeric: tabular-nums; min-width: 5ch; text-align: right; }
.calc .hint { grid-column: 1 / -1; font-size: 0.8rem; color: var(--text-3); margin: 0; }

/* F1 visual */
.track { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0a131c; }
.track img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.track .cap { position: absolute; left: 0.8rem; bottom: 1rem; font-size: 0.72rem; color: #fff; background: rgba(10, 19, 28, 0.78); padding: 0.3rem 0.6rem; border-radius: 6px; max-width: calc(100% - 1.6rem); }
.track .stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, #fff 0 18px, #0a131c 18px 36px); opacity: 0.8; }
.pit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.pit > div { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 10px; padding: 1rem 1.1rem; min-width: 0; }
.pit b { display: block; color: #fff; font-size: 0.98rem; margin-bottom: 0.2rem; }
.pit span { font-size: 0.86rem; color: var(--text-2); }
.pit > div:nth-child(2) { border-left-color: var(--gold); } .pit > div:nth-child(3) { border-left-color: var(--blue); } .pit > div:nth-child(4) { border-left-color: var(--green); }
.season-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.season-flow > div { padding: 1.3rem; background: var(--panel); border-right: 1px solid var(--line); position: relative; min-width: 0; }
.season-flow > div:last-child { border-right: 0; }
.season-flow small { display: block; color: var(--red); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; margin-bottom: 0.4rem; }
.season-flow h3 { font-size: 1.05rem; }
.season-flow p { font-size: 0.92rem; color: var(--text-2); }

/* Poker visuals */
.hand { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.pcard { width: 50px; height: 70px; border-radius: 7px; background: #f7f7f2; color: #1a1a1a; position: relative; font-weight: 800; font-size: 0.95rem; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.7); transition: transform 0.3s var(--ease); flex: none; }
.pcard.red { color: #d12b3a; }
.pcard .r { position: absolute; left: 6px; top: 4px; line-height: 1; }
.pcard .s { position: absolute; right: 6px; bottom: 4px; font-size: 1.25rem; line-height: 1; }
.pcard.back { background: repeating-linear-gradient(45deg, #1475e1 0 6px, #0f5fbf 6px 12px); border: 3px solid #f7f7f2; }
.hand:hover .pcard:nth-child(odd) { transform: translateY(-4px) rotate(-2deg); }
.hand:hover .pcard:nth-child(even) { transform: translateY(-4px) rotate(2deg); }
.rank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.rank-list li { display: grid; grid-template-columns: 2.2rem 1fr auto; gap: 1rem; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 1rem; margin: 0; }
.rank-list .n { font-weight: 800; color: var(--gold); font-size: 1.1rem; }
.rank-list b { color: #fff; display: block; }
.rank-list small { color: var(--text-3); font-size: 0.82rem; }
.rank-list .hand .pcard { width: 34px; height: 48px; font-size: 0.7rem; border-radius: 5px; }
.rank-list .hand .pcard .s { font-size: 0.9rem; right: 4px; bottom: 3px; }
.rank-list .hand .pcard .r { left: 4px; top: 3px; }
.chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.78rem; color: #fff; border: 5px dashed rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.25), 0 6px 14px -6px rgba(0, 0, 0, 0.8); flex: none; }
.chip.c1 { background: #d12b3a; } .chip.c2 { background: #1475e1; } .chip.c3 { background: #19b519; } .chip.c4 { background: #2b2b2b; } .chip.c5 { background: #7a3fe4; }
.street { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.street > div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; min-width: 0; }
.street b { display: block; color: #fff; margin-bottom: 0.3rem; }
.street p { font-size: 0.88rem; color: var(--text-2); margin: 0.5rem 0 0; }

/* Phone mock (app page) */
.phone { width: 230px; aspect-ratio: 9 / 18.5; border-radius: 32px; background: #060d13; border: 6px solid #22343f; padding: 14px 10px; margin-inline: auto; box-shadow: var(--shadow); position: relative; }
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 60px; height: 8px; border-radius: 6px; background: #22343f; }
.phone .scr { height: 100%; border-radius: 20px; background: linear-gradient(180deg, #152a3a, #0f212e); padding: 1.4rem 0.7rem 0.7rem; display: flex; flex-direction: column; gap: 0.5rem; }
.phone .scr .bar { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.12); }
.phone .scr .bar.w1 { width: 60%; } .phone .scr .bar.w2 { width: 85%; } .phone .scr .bar.w3 { width: 40%; }
.phone .scr .tile { flex: 1; border-radius: 12px; background: linear-gradient(135deg, rgba(20, 117, 225, 0.5), rgba(0, 231, 1, 0.12)); }
.phone .scr .tile.g { background: linear-gradient(135deg, rgba(245, 196, 81, 0.5), rgba(245, 196, 81, 0.08)); }
.phone .scr .nav { height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); display: flex; justify-content: space-around; align-items: center; }
.phone .scr .nav i { width: 14px; height: 14px; border-radius: 4px; background: rgba(255, 255, 255, 0.3); }
.phone .scr .nav i:nth-child(2) { background: var(--blue-2); }

/* Login: shield visual */
.shield-wrap { display: grid; place-items: center; }
.shield { width: 180px; height: 200px; position: relative; display: grid; place-items: center; }
.shield svg { width: 100%; height: 100%; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pills span { padding: 0.4rem 0.8rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.85rem; color: var(--text-2); background: rgba(255, 255, 255, 0.03); }

/* ETH flow */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0.8rem; align-items: center; }
.flow > div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; text-align: center; min-width: 0; }
.flow > div b { display: block; color: #fff; }
.flow > div span { font-size: 0.85rem; color: var(--text-2); }
.flow .arr { color: var(--gold); font-size: 1.5rem; }
.eth-mark { width: 54px; height: 54px; margin: 0 auto 0.6rem; }

/* Page nav grid (home) */
.pages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #08111a; padding: 3rem 0 2rem; color: var(--text-2); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-grid h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid a { color: var(--text-2); }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { width: 84px; height: 42px; margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.88rem; color: var(--text-3); }
.footer-rg { display: flex; gap: 0.9rem; align-items: flex-start; }
.age { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--red); display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 0.9rem; }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.5rem; font-size: 0.82rem; color: var(--text-3); }

/* Back to top */
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(26, 44, 56, 0.9); color: #fff; cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s; z-index: 90; backdrop-filter: blur(6px); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--gold); color: var(--gold); }
.to-top svg { width: 20px; height: 20px; }

/* Reveal on scroll (opacity only, no layout shift) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* 404 */
.err { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.err .code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 900; line-height: 1; letter-spacing: -0.05em; background: linear-gradient(135deg, var(--gold), var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .pages-grid { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip > div:nth-child(2) { border-right: 0; }
  .strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pit { grid-template-columns: repeat(2, 1fr); }
  .street { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(320px, 86vw); flex-direction: column; align-items: stretch; gap: 0.2rem; padding: 1rem; background: var(--bg-2); border-left: 1px solid var(--line); transform: translateX(105%); visibility: hidden; transition: transform 0.35s var(--ease), visibility 0s 0.35s; overflow-y: auto; z-index: 99; }
  .nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav a { padding: 0.85rem 0.9rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { left: 0; right: auto; width: 3px; height: 60%; top: 20%; bottom: auto; }
  .nav .nav-cta { margin: 0.8rem 0 0; border-radius: 10px; border-bottom: 0; text-align: center; justify-content: center; }
  .nav-backdrop { display: block; position: fixed; inset: var(--header-h) 0 0; background: rgba(0, 0, 0, 0.55); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; z-index: 98; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .hero-inner, .split, .split--rev { grid-template-columns: 1fr; gap: 2rem; }
  .split--rev > :first-child { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .tabpanel-grid, .calc { grid-template-columns: 1fr; }
  .season-flow { grid-template-columns: 1fr; }
  .season-flow > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .season-flow > div:last-child { border-bottom: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow .arr { transform: rotate(90deg); text-align: center; }
  .ladder { grid-template-columns: repeat(3, 1fr); }
  .ladder > div { height: auto !important; }
}
@media (max-width: 600px) {
  .wrap { width: min(var(--wrap), 100% - 2rem); }
  .grid-2, .grid-3, .grid-4, .pages-grid, .strip, .footer-grid, .pit, .street { grid-template-columns: 1fr; }
  .strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .strip > div:last-child { border-bottom: 0; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .ledger dl, .promo-card .meta, .tabpanel .facts { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .hero .actions .btn { width: 100%; }
  .rank-list li { grid-template-columns: 2rem 1fr; }
  .rank-list .hand { grid-column: 1 / -1; }
  .promo-code { flex-direction: column; align-items: stretch; }
  .copy-btn { justify-content: center; }
  .hero { padding-top: 2rem; }
  .cross { display: none; }
  .phone { width: 200px; }
}
