/* 2HC design system (FIX_PLAN §4.1 / Appendix B).
   Injected as a BASE layer before the page's own CSS so every site looks
   intentional by default. Brand colors are overridden per project by the
   pipeline (the :root block below is replaced with the brand palette). */
:root{
  /* Brand colors — overridden per project */
  --color-primary:   #00ff66;
  --color-accent:    #00d15e;
  --color-bg:        #1f2528;
  --color-bg-2:      #101619;
  --color-text:      #ffffff;
  --color-muted:     #9fb0ab;
  --color-cta:       #00d15e;
  --color-cta-hover: #00c24f;

  /* Spacing scale (8px base) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem;
  --s-6: 1.5rem; --s-8: 2rem; --s-12: 3rem; --s-16: 4rem; --s-24: 6rem;

  /* Radii */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 8px 24px rgba(0,0,0,.45);
  --shadow-glow: 0 0 0 1px rgba(0,255,102,.25), 0 8px 30px rgba(0,255,102,.25);

  /* Layout + type */
  --container: 1180px;
  --section-y: clamp(3rem, 7vw, 6rem);
  --fs-h1: clamp(2.2rem, 5vw, 3.4rem);
  --fs-h2: clamp(1.6rem, 3.5vw, 2.3rem);
  --fs-body: 1.0625rem;
  --lh-body: 1.65;
}*,*::before,*::after{ box-sizing: border-box; }body,h1,h2,h3,p,ul,ol,figure,blockquote{ margin: 0; padding: 0; }body{
  background: radial-gradient(1200px 600px at 50% -10%, #243033 0%, var(--color-bg) 40%, var(--color-bg-2) 100%);
  color: var(--color-text);
  font-family: Inter, system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}.x8660-container{ width: min(100% - 2rem, var(--container)); margin-inline: auto; }section{ padding-block: var(--section-y); }section + section{ padding-block-start: 0; }h1{ font-size: var(--fs-h1); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }h2{ font-size: var(--fs-h2); line-height: 1.15; font-weight: 700; margin-bottom: var(--s-6); }p{ color: var(--color-text); max-width: 68ch; }/* CTA button with glow */
.btn{
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none;
  background: linear-gradient(180deg, var(--color-primary), var(--color-cta));
  color: #06210f; box-shadow: var(--shadow-glow);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}.btn:hover{ transform: translateY(-2px); filter: brightness(1.05);
  box-shadow: 0 0 0 1px rgba(0,255,102,.4), 0 12px 38px rgba(0,255,102,.35); }.btn:focus-visible{ outline: 3px solid var(--color-primary); outline-offset: 3px; }/* Game card — real image,gradient ONLY as overlay{
  position: relative; aspect-ratio: 3/4; border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--shadow-2);
}/* Tables (bonus terms,payments,limits) */
table{ width: 100%; max-width: 100%; border-collapse: collapse; border-radius: var(--r-md); overflow: hidden; }caption{ text-align: left; font-weight: 700; margin-bottom: var(--s-3); }th,td{ padding: .85rem 1rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); overflow-wrap: anywhere; }thead th{ background: rgba(255,255,255,.05); }@media (prefers-reduced-motion: reduce){*,*::before,*::after{ animation: none !important; transition: none !important; }}@media (prefers-reduced-motion: no-preference){html{ scroll-behavior: smooth; }}

/* ── Content panels over image-backed sections ──────────────────────────────
   The CWV step injects a fal.ai background-image onto #bonus/#hero. fal casino
   images often bake the word "BONUS" into the picture, so a data panel sitting
   directly on that section lets the art bleed through behind the terms table and
   obscure values (vision-gate HOLD, Basswin 2026-06-16). Give content panels an
   OPAQUE surface so the table is always readable. */
.bonus-card,.steps,.step{
  background: var(--color-bg-2, #101619);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md, 14px);
  padding: clamp(1.1rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-2, 0 8px 24px rgba(0,0,0,.45));
  position: relative; z-index: 1;
}
.bonus-card table{ background: transparent; }

/* ── FAQ accordion ───────────────────────────────────────────────────────────
   Bare <details> render as broken/empty with dead whitespace (vision). Give
   items a surface, padding and a +/- affordance so even a collapsed FAQ reads
   as an intentional accordion. */
.faq{ display: flex; flex-direction: column; gap: .6rem; max-width: 820px; margin-inline: auto; }
.faq-item{
  background: color-mix(in srgb, var(--color-bg-2, #101619) 80%, transparent);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-sm, 8px);
  padding: .9rem 1.1rem;
}
.faq-item>summary{
  cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  color: var(--color-text);
}
.faq-item>summary::-webkit-details-marker{ display: none; }
.faq-item>summary::after{ content: "+"; font-size: 1.3em; line-height: 1; opacity: .7; }
.faq-item[open]>summary::after{ content: "\2013"; }
.faq-item>*:not(summary){ margin-top: .7rem; }

/* ── Image-free build helpers (text logo / text payment pills / text game tiles)
   These give an intentional look when the project is generated with no pictures
   (logo as text, favicon only). Harmless when images ARE used — themes/layout
   CSS override the .game-card gradient. */
.x8660-brand-mark--text{ font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em;
  color: var(--color-text); text-decoration: none; display: inline-flex; align-items: center; }
.x8660-brand-mark--text.brand-mark--footer{ font-size: 1.05rem; }
.x8660-pay,.payment-pill{ display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .7rem; border-radius: var(--r-sm, 8px); border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); font-size: .8rem; font-weight: 600; color: var(--color-text); }
.game-card:not(:has(img)){ display: flex; align-items: center; justify-content: center;
  text-align: center; min-height: 90px; padding: .75rem; border-radius: var(--r-md, 14px);
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--color-primary, #4f46e5) 30%, #0b0b14),
    color-mix(in srgb, var(--color-accent, #a855f7) 24%, #0b0b14));
  border: 1px solid rgba(255,255,255,.10); font-weight: 700; color: var(--color-text); }
.game-name{ display: flex; align-items: center; justify-content: center; text-align: center;
  padding: .5rem; font-weight: 600; color: var(--color-text); }
/* Games grid — responsive columns. design-system OWNS this so it applies in
   NO-IMAGES mode too: generate_images only injects the grid on the image path,
   so the phased writer's <div class="games-grid"> was otherwise unstyled →
   full-width stacked bars that read as "broken artwork" (vision-gate 2026-06). */
.games-grid,.game-grid{ display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-4, 1rem); }

/* ── page-specific CSS ── */
:root {
  --color-primary:    #ff6813;
  --color-accent:     #d43a09;
  --color-bg:         #1b204f;
  --color-bg-2:       #111645;
  --color-text:       #ffffff;
  --color-secondary:  #ff5823;
  --color-cta:        #d43a09;
  --color-cta-hover:  #c52b00;
  --font-main: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body, h1, h2, h3, p, ul, ol, figure, table {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-2) 100%);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.x8660-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 999;
}
.x8660-skip:focus { left: 0.5rem; top: 0.5rem; }

h1, h2, h3 { font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 22, 69, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.x8660-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
}

.x8660-brand-mark--text {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.x8660-brand-mark--text span { color: var(--color-primary); }

nav.x8660-main-nav ul {
  list-style: none;
  display: none;
  gap: 1.5rem;
}

nav.x8660-main-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.95rem;
}

.x8660-nav-cta { display: none; }

.x8660-hamburger-toggle { display: none; }
.x8660-hamburger-label {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.4rem;
}
.x8660-hamburger-label span {
  width: 24px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
}

.x8660-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem 1.2rem 1.4rem;
  background: var(--color-bg-2);
}
.x8660-mobile-menu a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
}
.x8660-hamburger-toggle:checked ~ .x8660-mobile-menu { display: flex; }

.x8660-container {
  max-width: var(--container, 1140px);
  margin: 0 auto;
  padding: 0 1.2rem;
}

#hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 20% 20%, rgba(255,104,19,0.25), transparent 55%), linear-gradient(160deg, var(--color-bg) 0%, var(--color-bg-2) 100%);
  padding: 3rem 0 2.5rem;
}

.x8660-hero-eyebrow {
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.x8660-hero-lead {
  max-width: 640px;
  margin: 1rem 0 1.5rem;
  font-size: 1.05rem;
}

.x8660-bonus-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 1.4rem;
  border-radius: var(--r-md, 10px);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(212,58,9,0.4);
  font-size: 1.05rem;
}

.x8660-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.x8660-btn-primary {
  background: var(--color-cta);
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: var(--r-pill, 999px);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 6px 18px rgba(212,58,9,0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}
.x8660-btn-primary:hover { background: var(--color-cta-hover); transform: translateY(-2px); }

.x8660-btn-outline {
  background: transparent;
  color: var(--color-text);
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: var(--r-pill, 999px);
  border: 2px solid var(--color-text);
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}
.x8660-btn-outline:hover { background: rgba(255,255,255,0.12); }

.x8660-trust-bar {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.x8660-trust-bar li::before { content: "✓ "; color: var(--color-primary); font-weight: 700; }

section {
  padding: var(--section-y, 3.5rem) 0;
}

.x8660-glass {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg, 16px);
  padding: 2rem;
}

.x8660-steps-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0;
  grid-template-columns: 1fr;
}
.x8660-steps-list li {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md, 10px);
  padding: 1rem 1.2rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.x8660-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6rem 0;
  background: rgba(255,255,255,0.04);
  border-radius: var(--r-md, 10px);
  overflow: hidden;
}
caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--color-primary);
}
th, td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.92rem;
}
thead th {
  background: rgba(255,255,255,0.08);
  font-weight: 700;
}

.x8660-fine-print {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin: 1.2rem 0 1.6rem;
}

.x8660-pay-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0 1.6rem;
}
.x8660-pay {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-pill, 999px);
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
}

details {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md, 10px);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}
summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary h3 { display: inline; font-size: 1.05rem; }
summary::after {
  content: "+";
  float: right;
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 700;
}
details[open] summary::after { content: "−"; }
details p { margin-top: 0.8rem; color: rgba(255,255,255,0.85); }

.x8660-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-2);
  border-top: 2px solid var(--color-primary);
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  z-index: 90;
}
.x8660-sticky-cta span { font-weight: 700; font-size: 0.85rem; }
.x8660-sticky-cta .x8660-btn-primary { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

footer {
  background: var(--color-bg-2);
  padding: 3rem 0 6.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.x8660-footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.x8660-footer-col h3 { margin-bottom: 0.8rem; font-size: 1rem; color: var(--color-primary); }
.x8660-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.x8660-footer-col p { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.x8660-age-gate {
  font-weight: 700;
  color: var(--color-primary);
  margin: 1.4rem 0;
  font-size: 0.95rem;
}
.x8660-cookie-strip {
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-md, 10px);
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-top: 1.4rem;
}
.x8660-copyright {
  margin-top: 1.6rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

@media (min-width: 768px) {
  nav.x8660-main-nav ul { display: flex; }
  .x8660-nav-cta { display: inline-block; }
  .x8660-hamburger-label { display: none; }
  .x8660-steps-list { grid-template-columns: repeat(3, 1fr); }
  .x8660-footer-grid { grid-template-columns: repeat(3, 1fr); }
  .x8660-sticky-cta { display: none; }
}

@media (min-width: 1200px) {
  .x8660-hero-lead { font-size: 1.15rem; }
}
img[src*="hero"], img[src*="bonus_bg"], img.hero-image, img.bonus-banner { width: 100% !important; height: auto !important; max-height: 60vh !important; aspect-ratio: 16 / 9 !important; object-fit: cover !important; display: block !important; }
