/* 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;
}.x98ca-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 */
.x98ca-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;
}.x98ca-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); }.x98ca-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,.x98ca-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; }
.x98ca-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;
}
.x98ca-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);
}
.x98ca-faq-item>summary::-webkit-details-marker{ display: none; }
.x98ca-faq-item>summary::after{ content: "+"; font-size: 1.3em; line-height: 1; opacity: .7; }
.x98ca-faq-item[open]>summary::after{ content: "\2013"; }
.x98ca-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 .x98ca-game-card gradient. */
.x98ca-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; }
.x98ca-brand-mark--text.brand-mark--footer{ font-size: 1.05rem; }
.x98ca-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); }
.x98ca-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 ── */
*,*::before,*::after{box-sizing:border-box}
body,h1,h2,h3,p,ul,ol,figure{margin:0;padding:0}
:root{
  --color-primary:#007cba;
  --color-accent:#7a00df;
  --color-bg:#102726;
  --color-bg-2:#061d1c;
  --color-text:#ffffff;
  --color-secondary:#006ba1;
  --color-cta:#7a00df;
  --color-cta-hover:#6b00d0;
  --color-muted:#a9c2c0;
}
html{scroll-behavior:auto}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none !important;transition:none !important}}
body{font-family:'Inter',sans-serif;background:var(--color-bg);color:var(--color-text);font-size:16px;line-height:1.6}
h1,h2,h3{font-weight:700;line-height:1.15}
a{color:inherit}
.x98ca-skip{position:absolute;left:-9999px;top:0;background:var(--color-primary);color:#fff;padding:.75rem 1rem;z-index:1000}
.x98ca-skip:focus{left:0}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--color-primary);outline-offset:2px}
.x98ca-container{width:100%;max-width:1180px;margin:0 auto;padding:0 1.25rem}
.x98ca-btn{display:inline-block;background:var(--color-cta);color:#fff;font-weight:700;padding:.9rem 1.75rem;border-radius:999px;text-decoration:none;box-shadow:0 8px 24px rgba(122,0,223,.4);transition:transform .2s,background .2s}
.x98ca-btn:hover{background:var(--color-cta-hover);transform:translateY(-2px)}
.x98ca-btn-ghost{display:inline-block;background:transparent;color:var(--color-text);font-weight:700;padding:.85rem 1.7rem;border-radius:999px;border:2px solid var(--color-text);text-decoration:none}
.x98ca-btn-ghost:hover{background:rgba(255,255,255,.1)}
header.x98ca-site-header{position:sticky;top:0;z-index:500;background:rgba(6,29,28,.92);backdrop-filter:blur(8px);border-bottom:1px solid rgba(255,255,255,.08)}
.x98ca-nav-wrap{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1.25rem;max-width:1180px;margin:0 auto}
.x98ca-brand-mark--text{font-size:1.6rem;font-weight:700;letter-spacing:.5px;color:#ffe066;text-decoration:none}
nav.x98ca-main-nav ul{list-style:none;display:flex;gap:1.6rem}
nav.x98ca-main-nav a{text-decoration:none;color:var(--color-text);font-weight:700;font-size:.95rem}
nav.x98ca-main-nav a:hover{color:#ffe066}
.x98ca-nav-cta{display:flex;align-items:center;gap:1rem}
.burger{display:none}
.x98ca-burger-label{display:none}
#hero{background:radial-gradient(circle at top right,var(--color-secondary) 0%,transparent 45%),linear-gradient(160deg,var(--color-bg) 0%,var(--color-bg-2) 100%);padding:3.5rem 0 3rem;min-height:88vh;display:flex;align-items:center}
.x98ca-hero-inner{display:flex;flex-direction:column;gap:1.2rem;max-width:720px}
.x98ca-eyebrow{color:#ffe066;font-weight:700;letter-spacing:1px;text-transform:uppercase;font-size:.85rem}
h1{font-size:clamp(2.4rem,7vw,3.4rem);color:#fff}
.x98ca-hero-sub{font-size:1.15rem;color:var(--color-muted);font-weight:400}
.x98ca-badge{display:inline-block;background:linear-gradient(90deg,var(--color-accent),var(--color-primary));color:#fff;font-weight:700;padding:.9rem 1.4rem;border-radius:14px;font-size:1.05rem;box-shadow:0 10px 28px rgba(122,0,223,.35)}
.x98ca-hero-cta-row{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.5rem}
.x98ca-trust-bar{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.5rem;list-style:none}
.x98ca-trust-bar li{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);padding:.5rem 1rem;border-radius:999px;font-size:.85rem;color:var(--color-muted)}
section{padding:4rem 0}
.x98ca-section-head{max-width:680px;margin-bottom:2rem}
.x98ca-section-head h2{font-size:clamp(1.6rem,4.5vw,2.2rem);color:#fff}
.x98ca-section-head p{color:var(--color-muted);margin-top:.6rem}
.x98ca-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);border-radius:16px;padding:1.5rem;box-shadow:0 12px 30px rgba(0,0,0,.25);transition:transform .2s}
.x98ca-card:hover{transform:translateY(-4px)}
.x98ca-grid{display:grid;gap:1.25rem}
.x98ca-grid-3{grid-template-columns:1fr}
@media (min-width:768px){.x98ca-grid-3{grid-template-columns:repeat(3,1fr)}}
.x98ca-steps{counter-reset:step}
.x98ca-step-num{width:2.4rem;height:2.4rem;border-radius:50%;background:var(--color-accent);display:flex;align-items:center;justify-content:center;font-weight:700;margin-bottom:.75rem}
table{width:100%;border-collapse:collapse;margin-top:1.25rem;background:rgba(255,255,255,.04);border-radius:12px;overflow:hidden}
caption{caption-side:top;text-align:left;color:var(--color-muted);font-size:.9rem;margin-bottom:.5rem}
th,td{padding:.85rem 1rem;text-align:left;border-bottom:1px solid rgba(255,255,255,.08);font-size:.92rem}
th{background:rgba(255,255,255,.07);color:#ffe066}
.x98ca-fineprint{color:var(--color-muted);font-size:.85rem;margin-top:1rem}
.x98ca-grid-games{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
@media (min-width:768px){.x98ca-grid-games{grid-template-columns:repeat(4,1fr)}}
.x98ca-game-card{border-radius:14px;padding:1.6rem 1rem;min-height:110px;display:flex;align-items:flex-end;font-weight:700;color:#fff;font-size:1rem;box-shadow:0 10px 24px rgba(0,0,0,.3)}
.x98ca-game-card:nth-child(1){background:linear-gradient(135deg,#ff6b35,#7a00df)}
.x98ca-game-card:nth-child(2){background:linear-gradient(135deg,#007cba,#061d1c)}
.x98ca-game-card:nth-child(3){background:linear-gradient(135deg,#7a00df,#006ba1)}
.x98ca-game-card:nth-child(4){background:linear-gradient(135deg,#0fa,#007cba)}
.x98ca-game-card:nth-child(5){background:linear-gradient(135deg,#ffb703,#7a00df)}
.x98ca-game-card:nth-child(6){background:linear-gradient(135deg,#e63946,#102726)}
.x98ca-game-card:nth-child(7){background:linear-gradient(135deg,#006ba1,#7a00df)}
.x98ca-game-card:nth-child(8){background:linear-gradient(135deg,#ffe066,#006ba1);color:#102726}
.x98ca-game-card:nth-child(9){background:linear-gradient(135deg,#7a00df,#ff6b35)}
.x98ca-game-card:nth-child(10){background:linear-gradient(135deg,#00c2a8,#061d1c)}
.x98ca-provider-bar{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.75rem;list-style:none}
.x98ca-provider-bar li{background:rgba(255,255,255,.06);padding:.6rem 1.1rem;border-radius:8px;font-weight:700;font-size:.9rem;color:var(--color-muted);border:1px solid rgba(255,255,255,.1)}
.x98ca-pay-grid{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:1.5rem}
.x98ca-pay{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);padding:.7rem 1.3rem;border-radius:10px;font-weight:700;font-size:.95rem}
details.x98ca-faq-item{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);border-radius:12px;padding:1rem 1.25rem;margin-bottom:1rem}
details.x98ca-faq-item summary{cursor:pointer;font-weight:700;font-size:1.05rem;list-style:none}
details.x98ca-faq-item summary::-webkit-details-marker{display:none}
details.x98ca-faq-item summary::after{content:"+";float:right;font-size:1.3rem;color:#ffe066}
details.x98ca-faq-item[open] summary::after{content:"–"}
details.x98ca-faq-item p{margin-top:.75rem;color:var(--color-muted)}
.x98ca-sticky-cta{position:fixed;bottom:0;left:0;right:0;background:var(--color-bg-2);border-top:1px solid rgba(255,255,255,.1);padding:.75rem 1.25rem;display:flex;justify-content:center;z-index:400}
footer{background:var(--color-bg-2);padding:3rem 0 6rem;border-top:1px solid rgba(255,255,255,.08)}
.x98ca-footer-grid{display:grid;gap:2rem;grid-template-columns:1fr}
@media (min-width:768px){.x98ca-footer-grid{grid-template-columns:2fr 1fr 1fr}}
.x98ca-footer-grid h3{color:#ffe066;font-size:1rem;margin-bottom:.75rem}
.x98ca-footer-grid ul{list-style:none}
.x98ca-footer-grid li{color:var(--color-muted);font-size:.9rem;margin-bottom:.5rem}
.x98ca-footer-pay{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.75rem}
.x98ca-age-gate{display:inline-block;background:var(--color-accent);color:#fff;font-weight:700;padding:.4rem .9rem;border-radius:8px;margin-bottom:1rem}
.x98ca-footer-bottom{margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.08);color:var(--color-muted);font-size:.85rem}
.x98ca-cookie-strip{background:rgba(255,255,255,.05);border:1px dashed rgba(255,255,255,.2);padding:.75rem 1rem;border-radius:8px;font-size:.8rem;color:var(--color-muted);margin-top:1.5rem}
@media (max-width:767px){
nav.x98ca-main-nav{display:none}
.x98ca-burger-label{display:block;background:rgba(255,255,255,.08);border-radius:8px;padding:.5rem .8rem;font-weight:700;cursor:pointer}
#menu-toggle:checked ~ nav.x98ca-main-nav{display:block;position:absolute;top:100%;left:0;right:0;background:var(--color-bg-2);padding:1.25rem}
#menu-toggle:checked ~ nav.x98ca-main-nav ul{flex-direction:column;gap:1rem}
}
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; }
