/* Chicken Road Game — brand: launch-pad (see /brands/launch-pad.json)
   shared portfolio reset (shared/templates/reset.css), inlined per project convention.

   2026-08-27 retheme: a real AI-generated mascot image set arrived
   (dark volcanic "lava road" scenes — the chicken in sunglasses, gold
   chain and a jetpack) and replaced the original procedural sunburst-
   badge placeholders. Retheme moves the whole site from a light warm-
   cream body to a dark near-black "night arcade" body with gold and
   ember-red accents to match that art, and to read clearly distinct
   from site-05 (light warm-paper/emerald), site-06 (cream body / dark
   navy header-footer / amber, warm-mascot *photo* set) and site-07
   (cool blue-white / indigo / gold-seal). Keeps the Baloo 2 rounded
   display font and 16px "physical button" radius from the original
   build. */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; text-rendering: optimizeSpeed; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }

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

:root {
  --teal: #0A0812;
  --teal-deep: #050409;
  --teal-text: #F5F1E8;
  --teal-muted: #B8AFC9;

  --bg: #0F0C18;
  --surface: #1C1728;
  --surface-tint: #251E36;
  --line: #372D4C;

  --primary: #FF5A36;
  --primary-text: #2A0E06;
  --secondary: #F5A623;
  --secondary-dk: #F5A623;
  --secondary-bright: #FFC94D;

  --text: #F1ECE2;
  --muted: #ACA3C0;

  --radius: 16px;
  --font-display: 'Baloo 2', 'Arial Rounded MT Bold', 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --header-offset: 76px;
  --max: 1120px;
}

@font-face { font-family: 'Baloo 2'; src: local('Baloo 2'); font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: local('Nunito Sans'); font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: local('JetBrains Mono'); font-display: swap; }

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.16; color: var(--text); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: var(--space-4); scroll-margin-top: var(--header-offset); }
h3 { font-size: 1.15rem; margin-bottom: var(--space-2); scroll-margin-top: var(--header-offset); }
p { margin-bottom: var(--space-4); color: var(--text); }
a { text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--space-5); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--space-3); top: -60px;
  background: var(--primary); color: var(--primary-text); padding: var(--space-2) var(--space-4);
  border-radius: 8px; z-index: 200; transition: top .15s ease;
}
.skip-link:focus { top: var(--space-3); }

/* --- Header (near-black, matches the body — no light/dark split; the
   whole site now reads as one dark "night arcade" surface) --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--teal);
  border-bottom: 1px solid rgba(255, 138, 92, 0.28);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-3) var(--space-5);
  max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand img { width: 40px; height: 40px; }
.brand__word { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--teal-text); }
.brand__word small { display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; color: var(--secondary-bright); font-weight: 400; }

.nav-primary { display: flex; }
.nav-primary ul { display: flex; gap: var(--space-5); }
.nav-primary a {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--teal-muted); padding: var(--space-2) 0; border-bottom: 2px solid transparent;
}
.nav-primary a:hover, .nav-primary a:focus-visible { color: var(--secondary-bright); border-color: var(--secondary-bright); }

.burger {
  display: none; background: none; border: 1px solid rgba(255,138,92,.5); border-radius: 8px;
  width: 42px; height: 38px; position: relative;
}
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--teal-text);
}
.burger span { top: 18px; }
.burger::before { top: 12px; }
.burger::after { top: 24px; }

/* --- Hero ---
   Full-bleed edge-to-edge background per spec, dramatized directly against
   the mascot artwork rather than tucked inside a boxed card: a left-weighted
   dark scrim guarantees text contrast while leaving the artwork fully
   visible, and the copy floats straight on top of it. Deliberately not a
   rounded panel-on-image layout, so this doesn't read like a re-skin of
   site-06/site-07's boxed hero cards. */
.hero {
  background-color: var(--teal-deep);
  background-image: url('assets/images/hero/hero-1400x900.webp');
  background-size: cover;
  background-position: 32% center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5,4,8,.95) 0%, rgba(5,4,8,.88) 32%, rgba(5,4,8,.52) 54%, rgba(5,4,8,.1) 76%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5,4,8,.6) 0%, rgba(5,4,8,0) 26%);
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto; padding: var(--space-9) var(--space-5) var(--space-9);
  min-height: 680px; display: flex; align-items: center;
}
.hero__panel { max-width: 640px; }
.hero__eyebrow {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .16em;
  font-size: .74rem; font-weight: 700; color: var(--secondary-bright); margin-bottom: var(--space-4);
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.hero__eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px 2px rgba(255,90,54,.7); }
.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.75rem); margin-bottom: var(--space-5); color: #FFFFFF;
  text-shadow: 0 4px 26px rgba(0,0,0,.6); letter-spacing: -.01em;
}
.hero__value { font-size: 1.16rem; color: #F1ECE2; opacity: .95; max-width: 52ch; margin-bottom: var(--space-6); text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: flex-start; margin-bottom: var(--space-4); }
.hero__note { font-size: .85rem; color: #DCD6E6; max-width: 52ch; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.hero__note a { color: var(--secondary-bright); text-decoration: underline; }

.btn {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  font-family: var(--font-body); font-weight: 800; font-size: 1.05rem;
  padding: var(--space-4) var(--space-6); border-radius: var(--radius);
  border: 2px solid transparent; transition: transform .12s ease, box-shadow .12s ease;
}
.btn__label { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.btn--primary {
  background: linear-gradient(155deg, #FF7A4D 0%, var(--primary) 55%, #E4342B 100%);
  color: var(--primary-text);
  box-shadow: 0 10px 26px -10px rgba(255,90,54,.55), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary .btn__label { color: var(--primary-text); opacity: .75; }
.btn--primary:hover { box-shadow: 0 14px 32px -10px rgba(255,90,54,.7), inset 0 1px 0 rgba(255,255,255,.3); transform: translateY(-2px); }
.btn--secondary {
  background: rgba(28, 23, 40, .55); color: #FFFFFF; border-color: var(--secondary);
  backdrop-filter: blur(2px);
}
.btn--secondary .btn__label { color: var(--secondary-bright); }
.btn--secondary:hover { background: rgba(37, 30, 54, .75); transform: translateY(-2px); }

/* --- Main layout --- */
main { padding-top: var(--space-8); }
.article__lead { max-width: 70ch; font-size: 1.08rem; color: var(--text); opacity: .9; margin-bottom: var(--space-6); }

.toc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-5); margin-bottom: var(--space-8); max-width: 640px;
  box-shadow: 0 1px 0 rgba(27,36,48,.03);
}
.toc h2 { font-size: 1.05rem; margin-bottom: var(--space-3); }
.toc ol { display: grid; gap: var(--space-2); counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: var(--space-3); color: var(--text); font-size: .94rem; padding: var(--space-1) 0; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); color: var(--primary); flex-shrink: 0; }
.toc a:hover, .toc a:focus-visible { color: var(--primary); }

.section { padding-bottom: var(--space-9); border-bottom: 1px solid var(--line); margin-bottom: var(--space-9); }
.section:last-of-type { border-bottom: none; }
.section__index {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: var(--space-2); display: block;
}
.section-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-7); align-items: start; }
.section-grid--reverse { grid-template-columns: .9fr 1.1fr; }
.section-grid--reverse .section-grid__figure { order: -1; }

.article-figure { margin: 0; }
.article-figure img {
  width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface-tint);
  box-shadow: 0 12px 28px -18px rgba(0,0,0,.55);
}
.article-figure figcaption { font-size: .84rem; color: var(--muted); margin-top: var(--space-2); }

/* --- Table --- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: var(--space-5) 0 var(--space-6); }
table.data-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .92rem; background: var(--surface); }
table.data-table caption { text-align: left; padding: var(--space-4); font-family: var(--font-mono); font-size: .78rem; color: var(--muted); background: var(--surface-tint); }
table.data-table th, table.data-table td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--line); }
table.data-table thead th { background: var(--teal); font-family: var(--font-mono); text-transform: uppercase; font-size: .7rem; letter-spacing: .06em; color: var(--secondary-bright); }
table.data-table tbody tr:nth-child(even) { background: var(--surface-tint); }
table.data-table tbody th { font-weight: 700; color: var(--text); background: transparent; }

/* --- Callouts --- */
.callout { background: var(--surface-tint); border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--space-5); margin: var(--space-5) 0; }
.callout h3 { margin-bottom: var(--space-2); }
.callout p:last-child { margin-bottom: 0; }

/* --- FAQ / accordion --- */
.accordion { display: grid; gap: var(--space-3); }
.accordion__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.accordion__trigger {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: var(--space-4) var(--space-5); display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
}
.accordion__trigger::after { content: "+"; font-family: var(--font-mono); color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }
.accordion__trigger[aria-expanded="true"]::after { content: "\2212"; }
.accordion__panel { padding: 0 var(--space-5) var(--space-5); color: var(--text); }
.accordion__panel p { color: var(--muted); margin-bottom: 0; }

/* --- Responsible gambling / disclosure --- */
.disclosure-block { background: var(--teal); color: var(--teal-text); border-radius: var(--radius); padding: var(--space-6); margin-bottom: var(--space-9); border: 1px solid rgba(255,138,92,.3); }
.disclosure-block p { color: var(--teal-text); }
.disclosure-block h2 { margin-bottom: var(--space-3); color: var(--teal-text); }
.disclosure-block ul { display: grid; gap: var(--space-2); margin: var(--space-4) 0; }
.disclosure-block li { padding-left: var(--space-4); position: relative; color: var(--teal-muted); }
.disclosure-block li::before { content: "\2013"; position: absolute; left: 0; color: var(--secondary-bright); }
.disclosure-block a { color: var(--secondary-bright); text-decoration: underline; }

/* --- Footer --- */
.site-footer { background: var(--teal); color: var(--teal-text); padding: var(--space-8) 0 var(--space-6); margin-top: var(--space-8); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-7); margin-bottom: var(--space-6); }
.footer__brand p { color: var(--teal-muted); font-size: .9rem; max-width: 42ch; }
.footer__col h3 { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-mono); color: var(--secondary-bright); margin-bottom: var(--space-3); }
.footer__col ul { display: grid; gap: var(--space-2); }
.footer__col a { color: var(--teal-muted); font-size: .92rem; }
.footer__col a:hover, .footer__col a:focus-visible { color: var(--secondary-bright); }
.footer__legal { border-top: 1px solid rgba(255,246,232,.14); padding-top: var(--space-5); }
.footer__legal p { font-size: .8rem; color: var(--teal-muted); margin-bottom: var(--space-2); }
.footer__legal p:last-child { margin-bottom: 0; }

/* --- Simple content pages (about/contact/legal) --- */
.page-header { padding: var(--space-8) 0 var(--space-6); border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: var(--space-3); }
.page-header p { color: var(--muted); max-width: 60ch; }
.page-body { padding: var(--space-7) 0 var(--space-9); max-width: 76ch; }
.page-body h2 { margin-top: var(--space-7); }
.page-body ul, .page-body ol { margin: 0 0 var(--space-4); padding-left: var(--space-5); }
.page-body li { margin-bottom: var(--space-2); color: var(--text); }
.page-body a { color: var(--secondary-bright); text-decoration: underline; text-underline-offset: 3px; }
.reviewed-date { font-family: var(--font-mono); font-size: .78rem; color: var(--secondary-bright); margin-bottom: var(--space-5); display: inline-block; }
.contact-form { display: grid; gap: var(--space-4); max-width: 480px; margin-top: var(--space-5); }
.contact-form label { display: block; font-size: .88rem; margin-bottom: var(--space-2); color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: var(--space-3); color: var(--text);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-primary { position: fixed; inset: var(--header-offset) 0 0 0; background: var(--teal); flex-direction: column; padding: var(--space-6) var(--space-5); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
  .nav-primary.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-primary ul { flex-direction: column; gap: var(--space-5); }
  .burger { display: block; }
  .section-grid, .section-grid--reverse { grid-template-columns: 1fr; }
  .section-grid--reverse .section-grid__figure { order: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

@media (max-width: 640px) {
  .hero { background-image: url('assets/images/hero/hero-mobile.webp'); background-position: 22% center; }
  .hero__inner { min-height: 0; padding-top: var(--space-6); padding-bottom: var(--space-6); }
  .hero__panel { max-width: 100%; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .btn { align-items: center; }
}
