/* =====================================================================
   Diwa Game — "Modern Festive Directory" design system
   Generated from the Google Stitch design system (Deep-Night luxury,
   Golden-Diya/Amber + Royal Emerald, Playfair Display + Inter, glass).
   ===================================================================== */

:root {
  /* Surfaces — Deep Night luxury */
  --bg:               #0a0c10;
  --surface:          #111318;
  --surface-container-lowest: #0c0e12;
  --card:             #161920;
  --card-2:           #1a1c20;
  --card-3:           #1e2024;
  --elevated:         #282a2e;

  /* Text — ivory */
  --text:             #f4f5f7;
  --text-soft:        #d6d8de;
  --text-dim:         #9fa0a8;
  --text-warm:        #d5c4ac;

  /* Gold / Amber — the Diya glow */
  --gold:             #fdb813;
  --gold-bright:      #ffcc4d;
  --gold-soft:        #ffdb9f;
  --amber:            #ff8c00;
  --grad-gold:        linear-gradient(135deg, #fdb813 0%, #ff8c00 100%);

  /* Royal Emerald — trust */
  --emerald:          #00795f;
  --emerald-bright:   #00a884;
  --emerald-soft:     #81d6c0;
  --emerald-deep:     #00382d;

  /* Lines & states */
  --border:           rgba(253, 184, 19, 0.15);
  --border-strong:    rgba(253, 184, 19, 0.35);
  --border-plain:     rgba(255, 255, 255, 0.08);
  --danger:           #ff7a6e;
  --danger-bg:        rgba(147, 0, 10, 0.22);

  /* Effects */
  --glow-gold:        0 0 40px rgba(253, 184, 19, 0.18);
  --shadow-card:      0 18px 40px -20px rgba(0, 0, 0, 0.9);
  --glass:            rgba(17, 19, 24, 0.72);

  /* Shape */
  --r-sm: .5rem; --r: .75rem; --r-card: 1rem; --r-btn: 1.5rem; --r-pill: 9999px;

  /* Rhythm */
  --container: 1280px;
  --gutter: 24px;
  --section-gap: 80px;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --t-fast: 150ms ease;
  --t: 250ms cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-soft); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold-bright); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1.1rem; }
ul { margin: 0 0 1.1rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, var(--section-gap)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; font-size: .95rem; padding: .8rem 1.6rem; border-radius: var(--r-btn); border: 1px solid transparent; transition: transform var(--t-fast), box-shadow var(--t), background var(--t); white-space: nowrap; cursor: pointer; }
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--grad-gold); color: #2a1c00; box-shadow: 0 8px 24px -10px rgba(255, 140, 0, .6); }
.btn--primary:hover { color: #2a1c00; transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(255, 140, 0, .75), var(--glow-gold); }
.btn--emerald { background: var(--emerald); color: #eafff7; border-color: rgba(129, 214, 192, .25); }
.btn--emerald:hover { background: var(--emerald-bright); color: #00251d; transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border-plain); }
.btn--ghost:hover { color: var(--text); border-color: var(--border-strong); background: rgba(253,184,19,.06); }
.btn--block { width: 100%; }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- Section heading ---------- */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 4vw, 48px); }
.sec-tag { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); background: rgba(253,184,19,.08); border: 1px solid var(--border); padding: .35rem .85rem; border-radius: var(--r-pill); margin-bottom: 1rem; }
.sec-title { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: .5rem; }
.sec-title .hl { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sec-sub { color: var(--text-dim); font-size: 1.02rem; margin: 0; }
.sec-line { width: 72px; height: 3px; margin: 1.1rem auto 0; border-radius: 3px; background: var(--grad-gold); }

/* ===========================================================
   HEADER / NAV
   =========================================================== */
/* Slim utility strip (Stitch ref: Licensed · SSL · 18+) */
.utility-bar { background: var(--bg); border-bottom: 1px solid var(--border-plain); font-size: .74rem; }
.utility-bar .container { display: flex; align-items: center; justify-content: space-between; height: 2.25rem; gap: 1rem; }
.utility-trust { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-dim); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.utility-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.utility-links { display: flex; gap: 1.25rem; }
.utility-links a { color: var(--text-dim); font-weight: 500; }
.utility-links a:hover { color: var(--gold-soft); }
@media (max-width: 700px) { .utility-links { display: none; } }

/* Glassmorphic nav with gold-tinted shadow (Stitch "Modern Festive" ref) */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); box-shadow: 0 4px 24px rgba(253, 184, 19, 0.10); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; color: var(--gold-soft); }
.brand:hover { color: var(--gold-soft); }
.brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; box-shadow: var(--glow-gold); }
.brand b { font-weight: 800; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; color: var(--text-warm); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; padding: .35rem 0; transition: color var(--t-fast); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--t-fast); }
.nav-links a:hover { color: var(--gold-soft); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--gold); }
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta { background: var(--grad-gold); color: #2a1c00 !important; font-weight: 700 !important; font-size: .82rem !important; letter-spacing: .06em; padding: .7rem 1.4rem !important; border-radius: var(--r-pill); box-shadow: 0 6px 18px -8px rgba(255,140,0,.6); }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--grad-gold) !important; color: #2a1c00 !important; transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(255,140,0,.8), var(--glow-gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; padding: .45rem; color: var(--gold-soft); }
.nav-toggle svg { width: 26px; height: 26px; display: block; }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 80px 0 auto 0; flex-direction: column; align-items: stretch; gap: .25rem; background: var(--surface); border-bottom: 1px solid var(--border-plain); padding: 1rem var(--gutter) 1.5rem; transform: translateY(-130%); transition: transform var(--t); box-shadow: 0 24px 40px -20px rgba(0,0,0,.8); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .9rem 1rem; font-size: .95rem; }
  .nav-links a::after { display: none; }
  .nav-links a.is-active { background: rgba(253,184,19,.1); border-radius: var(--r); }
  .nav-cta { text-align: center; margin-top: .5rem; }
}

/* ===========================================================
   HERO
   =========================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(60px, 11vw, 130px); text-align: center; }
/* AI-generated background image (Cloudflare Workers AI / Flux) */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: bottom center; opacity: .92; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.74) 0%, rgba(10,12,16,.60) 42%, rgba(10,12,16,.92) 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); z-index: 1; pointer-events: none; }
.hero::before { width: 520px; height: 520px; top: -180px; left: -120px; background: radial-gradient(circle, rgba(253,184,19,.20), transparent 70%); }
.hero::after { width: 480px; height: 480px; bottom: -200px; right: -120px; background: radial-gradient(circle, rgba(0,121,95,.18), transparent 70%); }
.hero .container { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); border: 1px solid var(--border); background: rgba(253,184,19,.06); padding: .4rem 1rem; border-radius: var(--r-pill); margin-bottom: 1.5rem; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-bright); box-shadow: 0 0 10px var(--emerald-bright); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); margin-bottom: 1.1rem; max-width: 16ch; margin-inline: auto; }
.hero h1 .hl { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--text-dim); max-width: 60ch; margin: 0 auto 2rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 4rem); justify-content: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.hero-stat { text-align: center; }
.hero-stat b { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.4rem); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stat span { font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text-dim); }

/* ===========================================================
   TRUST BAR
   =========================================================== */
.trust { border-block: 1px solid var(--border-plain); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 2rem; }
.trust-item { display: flex; align-items: center; gap: .9rem; justify-content: center; }
.trust-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(0,121,95,.16); border: 1px solid rgba(129,214,192,.25); color: var(--emerald-soft); }
.trust-ico svg { width: 24px; height: 24px; }
.trust-item b { display: block; color: var(--text); font-family: var(--font-body); font-size: .98rem; }
.trust-item span { font-size: .82rem; color: var(--text-dim); }
@media (max-width: 768px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } .trust-item { justify-content: flex-start; } }

/* ===========================================================
   GAME CARDS
   =========================================================== */
.card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .card-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

.game-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.game-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-card), var(--glow-gold); }
.game-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--card-2); }
.game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.game-card:hover .game-card__media img { transform: scale(1.06); }
.game-card__badge { position: absolute; top: .6rem; left: .6rem; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .55rem; border-radius: var(--r-pill); color: #00251d; background: var(--emerald-soft); }
.game-card__badge--hot { background: var(--grad-gold); color: #2a1c00; }
.game-card__body { padding: .9rem .9rem 1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.game-card__title { font-size: 1.05rem; margin: 0; color: var(--text); }
.game-card__meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.chip-bonus { font-size: .72rem; font-weight: 600; color: var(--gold); background: rgba(253,184,19,.1); border: 1px solid var(--border); padding: .2rem .55rem; border-radius: var(--r-pill); white-space: nowrap; }
.game-card .btn { margin-top: auto; }
.game-card__link { position: absolute; inset: 0; z-index: 1; }
.game-card__body .btn, .game-card__body .stars { position: relative; z-index: 2; }

/* Stars */
.stars { display: inline-flex; gap: 1px; align-items: center; }
.star { width: 16px; height: 16px; }
.star--full { fill: var(--gold); }
.star--half { fill: url(#half); }  /* fallback below */
.star--half { fill: var(--gold); opacity: .55; }
.star--empty { fill: rgba(255,255,255,.18); }
.rating-num { font-size: .82rem; color: var(--text-dim); margin-left: .25rem; }

/* ===========================================================
   BREADCRUMB
   =========================================================== */
.breadcrumb { font-size: .85rem; color: var(--text-dim); padding-block: 1.25rem .25rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .cur { color: var(--text-soft); }

/* ===========================================================
   APK DETAIL — hero
   =========================================================== */
.apk-hero { position: relative; overflow: hidden; border-radius: var(--r-xl); margin-top: 1rem; border: 1px solid var(--border); box-shadow: var(--shadow-card), 0 0 60px -30px rgba(253,184,19,.4); }
.apk-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(34px) brightness(.38); transform: scale(1.25); z-index: 0; opacity: .55; }
.apk-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.8), rgba(10,12,16,.95)); z-index: 0; }
.apk-hero__wave { position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
  radial-gradient(60% 120% at 85% 0%, rgba(255,140,0,.18), transparent 60%),
  radial-gradient(50% 120% at 0% 100%, rgba(253,184,19,.14), transparent 55%); }
.apk-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 210px 1fr; gap: 2.5rem; padding: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.apk-hero__art { width: 210px; height: 210px; border-radius: var(--r-xl); object-fit: cover; border: 2px solid var(--border-strong); box-shadow: var(--glow-gold), 0 18px 40px -16px #000; background: var(--card); }
.apk-hero__title { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: .35rem; }
.apk-hero__badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .75rem; border-radius: var(--r-pill); background: var(--grad-gold); color: #2a1c00; margin-bottom: .75rem; position: static; }

/* APK highlights strip (Stitch "Key Features" icon row — decorative trust copy) */
.apk-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.25rem 0 0; }
.apk-highlight { display: flex; align-items: center; gap: .85rem; background: var(--card); border: 1px solid var(--border-plain); border-radius: var(--r); padding: .9rem 1.1rem; }
.apk-highlight .ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(0,121,95,.16); border: 1px solid rgba(129,214,192,.28); color: var(--emerald-soft); }
.apk-highlight .ico svg { width: 21px; height: 21px; }
.apk-highlight b { display: block; color: var(--text); font-family: var(--font-body); font-size: .92rem; font-weight: 600; }
.apk-highlight span { font-size: .8rem; color: var(--text-dim); }
@media (max-width: 768px) { .apk-highlights { grid-template-columns: 1fr; } }
.apk-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.5rem; }
.apk-chip { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255,255,255,.05); border: 1px solid var(--border-plain); border-radius: var(--r-pill); padding: .45rem .85rem; font-size: .85rem; color: var(--text-soft); }
.apk-chip svg { width: 16px; height: 16px; color: var(--gold); }
.apk-chip b { color: var(--text); }
.apk-chip--verified { border-color: rgba(129,214,192,.3); background: rgba(0,121,95,.12); }
.apk-chip--verified svg { color: var(--emerald-soft); }
.apk-hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; }
.version-badge { font-size: .8rem; color: var(--text-dim); border: 1px dashed var(--border); padding: .4rem .8rem; border-radius: var(--r-pill); }
@media (max-width: 768px) {
  .apk-hero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .apk-hero__art { width: 150px; height: 150px; }
  .apk-chips, .apk-hero__actions { justify-content: center; }
}

/* ===========================================================
   APK DETAIL — content + sidebar
   =========================================================== */
.apk-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; padding-top: 2.5rem; }
@media (max-width: 1024px) { .apk-layout { grid-template-columns: 1fr; } }

.article { font-size: 1.02rem; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.article h2 { font-size: 1.5rem; margin-top: 2.2rem; padding-top: .2rem; color: var(--text); }
.article h2::before { content: ""; display: block; width: 48px; height: 3px; background: var(--grad-gold); border-radius: 3px; margin-bottom: .8rem; }
.article h3 { font-size: 1.2rem; margin-top: 1.6rem; color: var(--gold-soft); }
.article p { color: var(--text-soft); }
.article a { text-decoration: underline; text-underline-offset: 3px; }

.sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1.25rem; }
@media (max-width: 1024px) { .sidebar { position: static; } }
.s-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.25rem; box-shadow: var(--shadow-card); }
.s-card h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 700; }
.s-row { display: flex; align-items: center; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--border-plain); font-size: .92rem; }
.s-row:last-child { border-bottom: 0; }
.s-row span { color: var(--text-dim); }
.s-row b { color: var(--text); font-weight: 600; }
.s-card--warn { background: var(--danger-bg); border-color: rgba(255,122,110,.3); }
.s-card--warn h3 { color: var(--danger); }
.s-card--warn p { font-size: .88rem; color: var(--text-soft); margin: 0; }

/* ===========================================================
   RESPONSIBLE GAMBLING
   =========================================================== */
.responsible { background: var(--surface); border-top: 1px solid var(--border-plain); }
.responsible__box { background: var(--danger-bg); border: 1px solid rgba(255,122,110,.28); border-radius: var(--r-card); padding: clamp(1.5rem, 4vw, 2.5rem); }
.responsible__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.responsible__head .age { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--danger); color: #2a0003; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.responsible__head h2 { margin: 0; font-size: 1.4rem; }
.responsible p { color: var(--text-soft); }
.tip-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.tip-chip { font-size: .82rem; background: rgba(255,255,255,.05); border: 1px solid var(--border-plain); border-radius: var(--r-pill); padding: .4rem .85rem; color: var(--text-soft); }

/* ===========================================================
   STATIC / PROSE PAGES
   =========================================================== */
.page-hero { position: relative; overflow: hidden; text-align: center; padding-block: clamp(56px, 10vw, 110px); border-bottom: 1px solid var(--border-plain); }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(40px) brightness(.35); transform: scale(1.3); z-index: 0; }
.page-hero__overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(253,184,19,.1), transparent 60%), linear-gradient(180deg, rgba(10,12,16,.7), rgba(10,12,16,.92)); z-index: 0; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page-hero p { color: var(--text-dim); max-width: 60ch; margin: .5rem auto 0; }

.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; }
.prose h2::before { content: ""; display: block; width: 48px; height: 3px; background: var(--grad-gold); border-radius: 3px; margin-bottom: .8rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8rem; color: var(--gold-soft); }
.prose h4 { font-size: 1.05rem; margin-top: 1.4rem; color: var(--text); }
.prose p, .prose li { color: var(--text-soft); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Home SEO content block */
.home-seo { background: var(--surface); border-top: 1px solid var(--border-plain); }
.home-seo .prose h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); margin-bottom: 1rem; }

/* Intro block (casino H1 + lede, centered) */
.intro-block { text-align: center; max-width: 880px; margin-inline: auto; }
.intro-block h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.intro-block p { color: var(--text-dim); font-size: 1.05rem; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: var(--surface-container-lowest, #0c0e12); border-top: 1px solid var(--border); padding-block: 3.5rem 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--text-dim); font-size: .92rem; max-width: 40ch; }
.footer-col h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: var(--text-dim); font-size: .92rem; opacity: .85; transition: color var(--t-fast), opacity var(--t-fast); }
.footer-col a:hover { color: var(--gold-soft); opacity: 1; }
/* trust pills row (Stitch ref) */
.footer-trust { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 3rem; }
.footer-trust .pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-warm); background: rgba(255,255,255,.03); border: 1px solid var(--border-plain); border-radius: var(--r-pill); padding: .4rem .9rem; }
.footer-trust .pill svg { width: 14px; height: 14px; color: var(--emerald-soft); }
.footer-bottom { border-top: 1px solid var(--border-plain); margin-top: 2rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; color: var(--text-dim); font-size: .85rem; }
.footer-bottom .disclaimer { font-style: italic; opacity: .8; }
.footer-18 { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--danger); color: var(--danger); font-weight: 700; font-size: .8rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ===========================================================
   SCROLL TOP + reveal anim
   =========================================================== */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--grad-gold); color: #2a1c00; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--t), transform var(--t), visibility var(--t); box-shadow: 0 10px 24px -8px rgba(255,140,0,.6); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 22px; height: 22px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ===========================================================
   SECTION VARIATION  (Stitch "Modern Festive Directory" refs)
   Alternating background bands + distinct content layouts so no
   two consecutive sections look the same.
   =========================================================== */

/* Raised-surface band for rhythm */
.section--band { position: relative; background: var(--surface); border-block: 1px solid var(--border-plain); }
.section--glow { position: relative; overflow: hidden; }
.section--glow::before { content: ""; position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 700px; height: 320px; background: radial-gradient(ellipse, rgba(253,184,19,.12), transparent 70%); pointer-events: none; z-index: 0; }
.section--glow > .container { position: relative; z-index: 1; }

/* Left-aligned section head with trailing link (Hot / trending band) */
.sec-head--left { text-align: left; max-width: none; margin: 0 0 clamp(24px,3vw,36px); display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.sec-head--left .sec-line { margin-left: 0; }
.sec-head--left .sec-sub { margin-top: .35rem; }
.view-all { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--gold-soft); white-space: nowrap; }
.view-all svg { width: 18px; height: 18px; transition: transform var(--t-fast); }
.view-all:hover svg { transform: translateX(4px); }

/* Featured-first grid (Hot Games): first card spans larger on desktop */
.card-grid--featured { grid-auto-flow: dense; }
/* extra detail on the big featured tile — hidden until it actually spans 2x2 */
.game-card__desc, .game-card__stats, .game-card__tags { display: none; }
@media (min-width: 1025px) {
  .card-grid--featured > .game-card--featured { grid-column: span 2; grid-row: span 2; }
  .card-grid--featured > .game-card--featured .game-card__media { aspect-ratio: 16 / 9; }
  .game-card--featured .game-card__title { font-size: 1.6rem; }
  .game-card--featured .game-card__body { gap: .9rem; }
  .game-card--featured .btn { font-size: 1.05rem; padding: 1rem 2rem; }
  .game-card--featured .game-card__desc { display: block; color: var(--text-soft); font-size: .98rem; line-height: 1.6; margin: 0; }
  .game-card--featured .game-card__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; list-style: none; margin: 0; padding: 0; }
  .game-card--featured .game-card__stats li { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .9rem; background: var(--bg); border: 1px solid var(--border-plain); border-radius: var(--r-sm); font-size: .86rem; }
  .game-card--featured .game-card__stats span { color: var(--text-dim); }
  .game-card--featured .game-card__stats b { color: var(--text); font-weight: 600; }
  .game-card--featured .game-card__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
  .game-card--featured .game-card__tags .tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--emerald-soft); background: rgba(0,121,95,.12); border: 1px solid rgba(129,214,192,.25); border-radius: var(--r-pill); padding: .35rem .75rem; }
  .game-card--featured .game-card__tags .tag svg { width: 15px; height: 15px; }
}

/* ---------- SPLIT layout (text + decorative art panel) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__title { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-bottom: .4rem; }
.split__title .hl { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.split__lead { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 1.5rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: .85rem; align-items: start; }
.check-list .tick { margin-top: 2px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,121,95,.16); border: 1px solid rgba(129,214,192,.3); color: var(--emerald-soft); }
.check-list .tick svg { width: 15px; height: 15px; }
.check-list b { color: var(--text); font-family: var(--font-body); font-weight: 600; display: block; margin-bottom: .15rem; }
.check-list p { color: var(--text-soft); margin: 0; font-size: .95rem; }
/* decorative art panel (no image dependency) */
.art-panel { position: relative; aspect-ratio: 4/3.4; border-radius: var(--r-card); border: 1px solid var(--border); background: radial-gradient(120% 120% at 20% 10%, rgba(253,184,19,.16), transparent 55%), radial-gradient(120% 120% at 90% 100%, rgba(0,121,95,.18), transparent 55%), var(--card); overflow: hidden; box-shadow: var(--shadow-card), var(--glow-gold); display: grid; place-items: center; }
.art-panel__cards { position: relative; width: 220px; height: 220px; }
.art-panel__card { position: absolute; inset: 0; margin: auto; width: 120px; height: 168px; border-radius: 16px; background: linear-gradient(160deg, var(--card-3), var(--card)); border: 1px solid var(--border-strong); box-shadow: 0 18px 40px -18px #000; display: grid; place-items: center; font-family: var(--font-head); font-size: 2.6rem; color: var(--gold-soft); }
.art-panel__card:nth-child(1) { transform: rotate(-16deg) translateX(-46px); }
.art-panel__card:nth-child(2) { transform: rotate(0deg); z-index: 2; color: var(--gold); }
.art-panel__card:nth-child(3) { transform: rotate(16deg) translateX(46px); }
.art-panel__chip { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--grad-gold); color: #2a1c00; font-family: var(--font-head); font-weight: 700; text-align: center; line-height: 1.05; box-shadow: var(--glow-gold); }
.art-panel__chip span { display: block; font-size: 1.3rem; }
.art-panel__chip small { font-size: .6rem; letter-spacing: .04em; text-transform: uppercase; }
.art-panel__logo { width: 56%; max-width: 240px; height: auto; object-fit: contain; filter: drop-shadow(0 0 28px rgba(253,184,19,.35)); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .art-panel { order: -1; max-width: 420px; margin-inline: auto; width: 100%; } }

/* ---------- BENTO (asymmetric category grid) ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.bento__tile { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-card); transition: transform var(--t), border-color var(--t); }
.bento__tile:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.bento__tile--feature { grid-row: span 2; background: radial-gradient(130% 90% at 0 0, rgba(253,184,19,.1), transparent 60%), var(--card); }
.bento__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(253,184,19,.1); border: 1px solid var(--border); color: var(--gold); margin-bottom: 1rem; }
.bento__ico svg { width: 26px; height: 26px; }
.bento__tile h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.bento__tile p { color: var(--text-soft); font-size: .96rem; }
.bento__subs { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.bento__subs li { background: var(--bg); border: 1px solid var(--border-plain); border-left: 3px solid var(--gold); border-radius: var(--r); padding: .75rem 1rem; }
.bento__subs b { color: var(--text); font-family: var(--font-body); font-weight: 600; font-size: .95rem; display: block; margin-bottom: .15rem; }
.bento__subs p { font-size: .88rem; margin: 0; color: var(--text-dim); }
/* slot-app thumbnail strip — fills the tall feature tile */
.bento__apps { margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--border-plain); }
.bento__apps-label { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.bento__apps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.bento__app { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border-plain); background: var(--card-2); transition: transform var(--t), border-color var(--t), box-shadow var(--t); }
.bento__app:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--glow-gold); }
.bento__app img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento__tile--feature { grid-row: auto; } }

/* ---------- Feature cards (N-up content cards) ---------- */
.feature-cards { display: grid; gap: 1.25rem; }
.feature-cards--3 { grid-template-columns: repeat(3, 1fr); }
.feature-cards--4 { grid-template-columns: repeat(4, 1fr); }
.feature-cards--2 { grid-template-columns: repeat(2, 1fr); }
.fcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.5rem; box-shadow: var(--shadow-card); position: relative; transition: transform var(--t), border-color var(--t); }
.fcard:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.fcard__num { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold); opacity: .55; }
.fcard h3 { font-size: 1.15rem; margin: .5rem 0 .5rem; }
.fcard p { color: var(--text-soft); font-size: .93rem; margin: 0; }
.fcard p + p { margin-top: .6rem; }
@media (max-width: 900px) { .feature-cards--3, .feature-cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-cards--2, .feature-cards--3, .feature-cards--4 { grid-template-columns: 1fr; } }

/* ---------- Feature check-list panel (Responsible gaming etc.) ---------- */
.check-panel { background: linear-gradient(135deg, rgba(253,184,19,.06), rgba(0,121,95,.05)), var(--card); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--r-card); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow-card); }
.check-panel > p { color: var(--text-soft); margin-bottom: 1.5rem; }
.check-panel .check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 2rem; }
@media (max-width: 700px) { .check-panel .check-list { grid-template-columns: 1fr; } }

/* ---------- Plain editorial card (centered) ---------- */
.plain-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: clamp(2rem, 5vw, 3rem); box-shadow: var(--shadow-card); text-align: center; }
.plain-card h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.plain-card p { color: var(--text-soft); max-width: 62ch; margin-inline: auto; }
.plain-card .btn { margin-top: 1rem; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: none; display: flex; flex-direction: column; gap: .85rem; }
.faq-item { background: var(--card); border: 1px solid var(--border-plain); border-radius: var(--r); overflow: hidden; transition: border-color var(--t); }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; font-family: var(--font-head); font-size: 1.08rem; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--gold); position: relative; transition: transform var(--t); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; }
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; transition: transform var(--t); }
.faq-item[open] .faq-icon { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-answer { padding: 0 1.35rem 1.25rem; }
.faq-answer p { color: var(--text-soft); margin: 0; }

/* ============================================================================
   FLOATING CTA (sticky pill at bottom, follows scroll, on every page)
   ============================================================================ */

.floating-cta {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(7, 4, 26, 0.82);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: var(--shadow-lg), 0 0 26px rgba(124, 58, 237, 0.35);
    animation: floatRise 600ms cubic-bezier(0.34, 1.56, 0.64, 1) 300ms backwards;
}

.floating-cta::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(247, 201, 72, 0.55), rgba(236, 72, 153, 0.45) 50%, rgba(124, 58, 237, 0.55));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes floatRise {
    from { opacity: 0; transform: translate(-50%, 40px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

.store-badge {
    display: inline-flex;
    border-radius: 999px;
    overflow: hidden;
    transition: transform var(--tx-base), box-shadow var(--tx-base), filter var(--tx-base);
    cursor: pointer;
}

.store-badge img {
    width: auto;
    height: 48px;
    display: block;
    border-radius: 999px;
}

.store-badge:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.store-badge:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
}