/* Chicken Cross Road — style.css
   Brand: gilded-crossing (see /brands/gilded-crossing.json). Reset below is
   the shared portfolio reset (shared/templates/reset.css), inlined per
   project convention. Palette/type/radius/button/card styles are this
   brand's own premium dark gold/emerald casino system — not shared with
   any sibling site's stylesheet. Revision 2 (2026-08-31): replaces the
   original bright hazard-yellow/cream comic-poster system (crosswalk-comic)
   per owner request for a premium casino look; the bold-outline comic
   mascot illustration style is kept, everything else is new. */

*, *::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 {
  --bg: #0E0C0A;
  --surface: #181410;
  --surface-tint: #221C14;
  --line: #3A331F;
  --line-strong: #55492A;

  --gold: #D4AF37;
  --gold-deep: #B8912A;
  --gold-soft: #E8CE7C;
  --emerald: #0F6B4C;
  --emerald-deep: #0A4F38;
  --risk: #C0392B;

  --text: #F3ECDD;
  --muted: #A79A82;

  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex 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: 84px;
  --max: 1140px;
}

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

h1, h2, h3 { font-family: var(--font-display); line-height: 1.18; color: var(--text); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: var(--space-4); scroll-margin-top: var(--header-offset); }
h3 { font-size: 1.18rem; margin-bottom: var(--space-2); scroll-margin-top: var(--header-offset); font-weight: 700; }
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(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.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(--gold); color: #1A1508; padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm); z-index: 200; transition: top .15s ease;
  font-weight: 700;
}
.skip-link:focus { top: var(--space-3); }

/* --- Gold hairline strip --- */
.hazard-strip { height: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep)); }

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 12, 10, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.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: 42px; height: 42px; object-fit: contain; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--gold); }
.brand__word { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--text); line-height: 1; }
.brand__word small { display: block; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .18em; color: var(--gold); font-weight: 500; text-transform: uppercase; margin-top: 3px; }

.nav-primary { display: flex; }
.nav-primary ul { display: flex; gap: var(--space-5); }
.nav-primary a {
  font-family: var(--font-body); font-weight: 600; font-size: .86rem;
  color: var(--muted); padding: var(--space-2) 0; border-bottom: 2px solid transparent;
}
.nav-primary a:hover, .nav-primary a:focus-visible { color: var(--gold-soft); border-color: var(--gold); }

.site-header__actions { display: flex; align-items: center; gap: var(--space-4); }
.header-cta {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--gold); color: #1A1508;
  font-family: var(--font-body); font-weight: 700; font-size: .82rem;
  padding: 9px 18px; border-radius: var(--radius-sm); border: 1px solid var(--gold);
  transition: background .15s ease, box-shadow .15s ease;
}
.header-cta:hover, .header-cta:focus-visible { background: var(--gold-soft); box-shadow: 0 0 0 4px rgba(212,175,55,.18); }

.burger {
  display: none; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  width: 42px; height: 38px; position: relative;
}
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--gold); border-radius: 1px;
}
.burger span { top: 18px; }
.burger::before { top: 12px; }
.burger::after { top: 24px; }

/* --- Hero ---
   Full-width edge-to-edge 1400x900 background per spec §06B/§14.1. Dark
   card panel with a thin gold border sits directly on the artwork's calm
   left/upper-left safe zone. */
.hero {
  background-color: var(--bg);
  background-image: url('assets/images/hero/hero-master-1400x900.webp');
  background-size: cover;
  background-position: 62% 45%;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,5,3,.86) 0%, rgba(6,5,3,.55) 42%, rgba(6,5,3,0) 62%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--max); margin: 0 auto; padding: var(--space-8) var(--space-5) var(--space-9);
  min-height: 640px; display: flex; align-items: flex-start; position: relative; z-index: 1;
}
.hero__panel {
  background: rgba(24, 20, 16, 0.88);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(212,175,55,.08);
  backdrop-filter: blur(2px);
  padding: var(--space-6);
  width: 100%;
  max-width: 640px;
}
.hero__eyebrow {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em;
  font-size: .68rem; font-weight: 500; color: var(--gold-soft); margin-bottom: var(--space-3);
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: rgba(212,175,55,.1); padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(212,175,55,.35);
}
.hero h1 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); margin-bottom: var(--space-3); color: #FFFDF6; }
.hero__value { font-size: 1.02rem; color: var(--muted); max-width: 50ch; margin-bottom: var(--space-5); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: stretch; margin-bottom: var(--space-4); }
.hero__note { font-size: .82rem; color: var(--muted); max-width: none; margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.hero__note a { color: var(--gold-soft); text-decoration: underline; }

.btn {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem;
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-sm);
  border: 1px solid transparent; transition: box-shadow .15s ease, transform .1s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-1px); }
.btn__label { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.btn--primary { background: var(--gold); color: #1A1508; border-color: var(--gold); }
.btn--primary .btn__label { color: rgba(26,21,8,.7); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--gold-soft); box-shadow: 0 6px 24px rgba(212,175,55,.35); }
.btn--secondary { background: var(--emerald); color: #F3ECDD; border: 1px solid var(--gold); }
.btn--secondary .btn__label { color: rgba(243,236,221,.75); }
.btn--secondary:hover, .btn--secondary:focus-visible { background: var(--emerald-deep); box-shadow: 0 6px 24px rgba(15,107,76,.35); }

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

.quick-facts-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5);
  background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius);
  padding: var(--space-5); margin-bottom: var(--space-6);
}
.quick-facts-strip dt { font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.quick-facts-strip dd { margin: 0; font-weight: 700; font-size: .95rem; color: var(--gold-soft); }

.toc { padding: var(--space-5); max-width: 640px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: var(--space-7); }
.toc h2 { font-size: 1.1rem; 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: .92rem; padding: var(--space-1) 0; font-weight: 500; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); color: var(--gold); flex-shrink: 0; font-weight: 500; }
.toc a:hover, .toc a:focus-visible { color: var(--gold-soft); }

.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-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--space-7); align-items: start; }
.section-grid--reverse { grid-template-columns: .85fr 1.15fr; }
.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-strong); background: var(--surface);
}
.article-figure figcaption { font-size: .84rem; color: var(--muted); margin-top: var(--space-2); font-style: italic; }

/* --- 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: 760px; font-size: .9rem; background: var(--surface); }
table.data-table caption { text-align: left; padding: var(--space-4); font-family: var(--font-mono); font-size: .72rem; color: var(--muted); background: var(--surface-tint); border-bottom: 1px solid var(--line); }
table.data-table th, table.data-table td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data-table thead th { background: var(--surface-tint); color: var(--gold-soft); font-family: var(--font-mono); text-transform: uppercase; font-size: .66rem; letter-spacing: .06em; }
table.data-table tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
table.data-table tbody th { font-weight: 700; color: var(--text); background: transparent; white-space: nowrap; font-family: var(--font-display); font-size: 1.05rem; }
table.data-table .mode-badge { display: inline-block; font-family: var(--font-mono); font-size: .74rem; font-weight: 500; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-strong); }
table.data-table .mode-badge--easy { background: rgba(15,107,76,.18); color: #6FCBA2; border-color: rgba(15,107,76,.5); }
table.data-table .mode-badge--medium { background: rgba(212,175,55,.14); color: var(--gold-soft); border-color: rgba(212,175,55,.4); }
table.data-table .mode-badge--hard { background: rgba(212,140,55,.16); color: #E3A45C; border-color: rgba(212,140,55,.4); }
table.data-table .mode-badge--hardcore { background: rgba(192,57,43,.2); color: #E77A6C; border-color: rgba(192,57,43,.5); }

/* --- Record grid (mistakes / misconceptions cards) --- */
.record-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin: var(--space-5) 0 var(--space-6); }
.record-card {
  background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius);
  padding: var(--space-5);
}
.record-card h3 { margin-bottom: var(--space-2); font-size: 1.05rem; }
.record-card p { color: var(--muted); margin-bottom: 0; font-size: .95rem; }
.record-card__tag {
  display: inline-block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; margin-bottom: var(--space-3); font-weight: 500; border: 1px solid var(--line-strong);
}
.record-card__tag--mistake { background: rgba(192,57,43,.16); color: #E77A6C; }
.record-card__tag--fix { background: rgba(15,107,76,.18); color: #6FCBA2; }

/* --- Callouts --- */
.callout { background: var(--surface-tint); border-left: 3px solid var(--gold); 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; }

/* --- Casino / operator listing --- */
.operator-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); margin: var(--space-5) 0 var(--space-6); }
.operator-card {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.operator-card__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--gold-soft); }
.operator-card__tag { font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.operator-card p { color: var(--muted); font-size: .9rem; margin-bottom: 0; flex-grow: 1; }
.operator-card__cta { align-self: flex-start; font-family: var(--font-body); font-weight: 700; font-size: .84rem; color: var(--emerald-deep); background: var(--gold); padding: 8px 16px; border-radius: var(--radius-sm); }
.operator-card__cta:hover, .operator-card__cta:focus-visible { background: var(--gold-soft); }

/* --- Payment methods --- */
.payment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-4); margin: var(--space-5) 0 var(--space-6); }
.payment-chip {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: var(--space-4); text-align: center; font-family: var(--font-body); font-weight: 700; font-size: .88rem; color: var(--text);
}
.payment-chip span { display: block; font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* --- 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(--gold); 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(--surface-tint); color: var(--text); border-radius: var(--radius); padding: var(--space-6); margin-bottom: var(--space-9); border: 1px solid var(--gold); }
.disclosure-block p { color: var(--muted); }
.disclosure-block h2 { margin-bottom: var(--space-3); color: var(--gold-soft); }
.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(--muted); }
.disclosure-block li::before { content: "\2192"; position: absolute; left: 0; color: var(--gold); }
.disclosure-block a { color: var(--gold-soft); text-decoration: underline; }

/* --- Footer --- */
.site-footer { background: #08070A; color: var(--text); padding: var(--space-8) 0 var(--space-6); margin-top: var(--space-8); border-top: 1px solid var(--line); }
.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(--muted); font-size: .9rem; max-width: 42ch; }
.footer__brand .brand__word { color: var(--text); }
.footer__brand .brand__word small { color: var(--gold); }
.footer__col h3 { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-mono); color: var(--gold); margin-bottom: var(--space-3); font-weight: 500; }
.footer__col ul { display: grid; gap: var(--space-2); }
.footer__col a { color: var(--muted); font-size: .92rem; }
.footer__col a:hover, .footer__col a:focus-visible { color: var(--gold-soft); }
.footer__legal { border-top: 1px solid var(--line); padding-top: var(--space-5); }
.footer__legal p { font-size: .8rem; color: var(--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); background: var(--surface-tint); }
.page-header h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: var(--space-3); color: #FFFDF6; }
.page-header p { color: var(--muted); max-width: 60ch; font-size: 1.05rem; }
.page-body { padding: var(--space-7) 0 var(--space-9); max-width: 76ch; }
.page-body h2 { margin-top: var(--space-7); font-size: 1.45rem; }
.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(--gold-soft); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.reviewed-date { font-family: var(--font-mono); font-size: .74rem; font-weight: 500; color: var(--gold-soft); margin-bottom: var(--space-5); display: inline-block; background: var(--surface); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-strong); }
.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); font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  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(--bg); 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); }
  .record-grid { grid-template-columns: 1fr; }
  .quick-facts-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .quick-facts-strip { grid-template-columns: 1fr; }
  .hero {
    background-image: url('assets/images/hero/hero-mobile.webp');
    background-position: top center;
  }
  .hero__inner { min-height: 0; padding-top: 62vw; padding-bottom: var(--space-6); align-items: stretch; }
  .hero__panel { padding: var(--space-5); max-width: 100%; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .btn { align-items: center; }
  .header-cta { display: none; }
}
