/* =========================================================
   ISLANDSPINWORLD — design system
   tropical-sunset · deep-ocean · gold-coral
   ========================================================= */

:root {
  /* Core palette — sunset over ocean */
  --ink-deep:       #04111c;     /* near-black ocean */
  --ink:            #07223a;     /* deep navy */
  --ink-soft:       #0f3553;     /* muted teal-navy */
  --teal:           #1a6f7a;     /* lagoon teal */
  --teal-bright:    #4ecdc4;     /* shallow water */
  --sand:           #f5e6cc;     /* warm sand */
  --sand-deep:      #e2c898;     /* damp sand */
  --cream:          #fff7e8;     /* paper cream */
  --coral:          #ff6f61;     /* coral reef */
  --coral-deep:     #d6453b;     /* deep coral */
  --sunset:         #ff8a5b;     /* sunset orange */
  --pink:           #ff5c8a;     /* hibiscus pink */
  --gold:           #ffd166;     /* coin gold */
  --gold-deep:      #c79621;     /* burnished gold */
  --leaf:           #1d5b4f;     /* palm leaf */

  /* Functional */
  --bg:             var(--ink-deep);
  --surface:        rgba(255,255,255,0.04);
  --surface-2:      rgba(255,255,255,0.07);
  --border:         rgba(245,230,204,0.14);
  --border-strong:  rgba(245,230,204,0.28);
  --text:           #f3ead8;
  --text-soft:      rgba(243,234,216,0.72);
  --text-mute:      rgba(243,234,216,0.5);

  /* Typography */
  --font-display:   "Fraunces", "Times New Roman", serif;
  --font-body:      "Manrope", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --rad-sm: 8px;
  --rad:    14px;
  --rad-lg: 22px;
  --rad-xl: 36px;

  /* Shadows */
  --sh-card:    0 24px 50px -28px rgba(0,0,0,0.7), 0 2px 0 rgba(255,255,255,0.04) inset;
  --sh-cta:     0 18px 38px -12px rgba(255,92,138,0.55), 0 2px 0 rgba(255,255,255,0.25) inset;
  --sh-gold:    0 18px 38px -12px rgba(255,209,102,0.5);

  /* Container */
  --max-w:      1240px;
  --gutter:     clamp(20px, 4vw, 56px);
}

/* ------- reset / base ------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image:
          radial-gradient(ellipse 60% 50% at 80% 0%,    rgba(255,138,91,0.18) 0%, transparent 60%),
          radial-gradient(ellipse 50% 60% at 0% 30%,    rgba(78,205,196,0.10) 0%, transparent 60%),
          radial-gradient(ellipse 80% 50% at 50% 110%,  rgba(255,92,138,0.12) 0%, transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea { font: inherit; }
::selection { background: var(--gold); color: var(--ink-deep); }

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

/* ------- typography ------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 0.4em;
  color: var(--cream);
}
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; }
p  { margin: 0 0 1em; }

.eyebrow {
  display:inline-flex; align-items:center; gap: .6em;
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--gold);
  padding: .5em 1em;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255,209,102,0.06);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255,209,102,0.18);
}
/* Breathing room between an eyebrow chip and the heading that follows it.
   Targets every variant we use (.legal-hero, .section__head, .cta-strip…). */
.eyebrow + h1,
.eyebrow + h2,
.eyebrow + h3 { margin-top: clamp(18px, 2.4vw, 32px); }

em.acc {
  font-style: italic;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}

/* ------- buttons ------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
  text-decoration: none;
  white-space: nowrap;
}
.btn--small { padding: .6em 1.1em; font-size: .85rem; }
.btn--large { padding: 1.05em 2em; font-size: 1.05rem; }

.btn--primary {
  background: linear-gradient(135deg, var(--coral) 0%, var(--pink) 55%, var(--sunset) 100%);
  color: #fff;
  box-shadow: var(--sh-cta);
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .8s ease;
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:hover::after { transform: translateX(110%); }
.btn--primary:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(135deg, #ffe39a 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: var(--ink-deep);
  box-shadow: var(--sh-gold);
}
.btn--gold:hover { transform: translateY(-2px); }

.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--gold);
  color: var(--gold);
}

/* ------- container ------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ===========================================================
   AGE GATE
   =========================================================== */
.age-gate {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  padding: 24px;
}
/* The [hidden] attribute alone is overridden by the .age-gate display rule above
   (class selector wins over UA [hidden]). This restores the hide behavior. */
.age-gate[hidden] { display: none !important; }
.age-gate__bg {
  position: absolute; inset: 0;
  background:
          radial-gradient(ellipse at 30% 0%, rgba(255,138,91,0.45), transparent 55%),
          radial-gradient(ellipse at 80% 100%, rgba(255,92,138,0.4), transparent 55%),
          rgba(4,17,28,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.age-gate__panel {
  position: relative;
  max-width: 540px;
  background: linear-gradient(180deg, rgba(15,53,83,0.95), rgba(7,34,58,0.95));
  border: 1px solid var(--border-strong);
  border-radius: var(--rad-xl);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.7);
  animation: gatePop .6s cubic-bezier(.2,.8,.2,1);
}
@keyframes gatePop {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.age-gate__crest { width: 86px; height: 86px; margin: 0 auto 18px; filter: drop-shadow(0 14px 28px rgba(255,138,91,0.4)); }
.age-gate__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
  margin: 0 0 .3em;
  font-size: 1.05rem;
}
.age-gate__title { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: .5em; }
.age-gate__title span { color: var(--coral); font-style: italic; }
.age-gate__copy { color: var(--text-soft); font-size: .98rem; max-width: 44ch; margin: 0 auto 1.6em; }
.age-gate__copy strong { color: var(--cream); }
.age-gate__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.age-gate__legal {
  margin-top: 1.6em;
  font-size: .78rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(4,17,28,0.85), rgba(4,17,28,0.55));
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 44px; height: 44px; flex: 0 0 44px; filter: drop-shadow(0 8px 18px rgba(255,138,91,0.35)); }
.brand__mark--lg { width: 56px; height: 56px; flex: 0 0 56px; }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.brand__name em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}
.brand__tag {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  margin-top: 4px;
}

.nav { justify-self: center; }
.nav__list { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.nav__link {
  display: inline-block;
  padding: .55em 1em;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-soft);
  border-radius: 999px;
  position: relative;
  transition: color .2s;
}
.nav__link:hover { color: var(--cream); }
.nav__link::after {
  content: "";
  position: absolute; left: 50%; bottom: 4px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .25s;
}
.nav__link:hover::after { width: 60%; }

.balance {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,209,102,0.18), rgba(255,138,91,0.10));
  border: 1px solid rgba(255,209,102,0.35);
  position: relative;
}
.balance::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,209,102,0.4), transparent 70%);
  z-index: -1; opacity: 0; transition: opacity .3s;
}
.balance.flash::before { opacity: 1; }
.balance__icon { width: 22px; height: 22px; animation: coinSpin 7s linear infinite; }
@keyframes coinSpin {
  0%, 70% { transform: rotateY(0); }
  85%     { transform: rotateY(180deg); }
  100%    { transform: rotateY(360deg); }
}
.balance__amount { font-family: var(--font-display); font-weight: 600; color: var(--gold); font-size: 1.05rem; }
.balance__label { font-size: .75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-mute); }

.nav__burger { display: none; width: 40px; height: 40px; padding: 8px; flex-direction: column; gap: 5px; }
.nav__burger span { display: block; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s, opacity .3s; }

.nav-mobile {
  background: rgba(7,34,58,0.97);
  border-top: 1px solid var(--border);
  padding: 16px var(--gutter);
}
.nav-mobile ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.nav-mobile a { display: block; padding: 12px 16px; border-radius: var(--rad); color: var(--text); font-weight: 600; }
.nav-mobile a:hover { background: var(--surface); }

/* 18+ ribbon under header */
.ribbon-18 {
  display: flex; align-items: center; gap: 14px;
  padding: 8px var(--gutter);
  background: linear-gradient(90deg, rgba(214,69,59,0.14), rgba(255,138,91,0.10), rgba(214,69,59,0.14));
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-soft);
  justify-content: center;
}
.ribbon-18 span {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--coral-deep);
  color: #fff;
  padding: 2px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.ribbon-18 p { margin: 0; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  padding: clamp(60px, 10vh, 130px) var(--gutter) clamp(80px, 14vh, 160px);
  overflow: hidden;
  isolation: isolate;
}
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__text > * { animation: heroRise .9s cubic-bezier(.2,.8,.2,1) backwards; }
.hero__text > *:nth-child(1) { animation-delay: .05s; }
.hero__text > *:nth-child(2) { animation-delay: .2s; }
.hero__text > *:nth-child(3) { animation-delay: .35s; }
.hero__text > *:nth-child(4) { animation-delay: .5s; }
.hero__text > *:nth-child(5) { animation-delay: .65s; }
@keyframes heroRise { from { opacity:0; transform: translateY(28px); } to { opacity:1; transform: none; } }

.hero h1 { margin-top: .3em; }
.hero h1 .island   { color: var(--cream); }
.hero h1 .spin     {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  position: relative; display: inline-block;
}
.hero h1 .spin::after {
  content: ""; position: absolute; left: 0; bottom: 0.05em; width: 100%; height: 0.18em;
  background: linear-gradient(90deg, var(--coral), var(--pink));
  border-radius: 4px; opacity: 0.85; z-index: -1;
}
.hero h1 .world    { color: var(--cream); }

.hero__lede { font-size: 1.15rem; color: var(--text-soft); max-width: 48ch; }
.hero__lede strong { color: var(--cream); }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.4em; }

.hero__pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 1.6em;
  font-size: .85rem; color: var(--text-mute);
}
.hero__pills li {
  list-style: none;
  padding: .35em .9em;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: .5em;
}
.hero__pills li::before { content: "✓"; color: var(--teal-bright); font-weight: 700; }

/* Hero scenic art panel */
.hero__art {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-height: 580px;
  border-radius: var(--rad-xl);
  background:
          linear-gradient(180deg, #ffd28a 0%, #ff8a5b 25%, #ff5c8a 55%, #6a3a7d 80%, #1f3a5f 100%);
  overflow: hidden;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06) inset;
  animation: heroRise 1s .2s cubic-bezier(.2,.8,.2,1) backwards;
}

/* Sun */
.hero__sun {
  position: absolute;
  width: 36%; aspect-ratio: 1; left: 50%; top: 36%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, #fff5d8, #ffd166 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(1px);
  animation: sunPulse 5s ease-in-out infinite;
}
@keyframes sunPulse {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50%      { transform: translate(-50%, -5px) scale(1.035); }
}
.hero__sun-disc {
  position: absolute;
  width: 24%; aspect-ratio: 1; left: 50%; top: 42%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #fffbe8, #ffe39a 55%, #ffb064);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255,209,102,0.7), 0 0 100px rgba(255,138,91,0.6);
}

/* Clouds */
.hero__cloud {
  position: absolute;
  width: 80px; height: 22px;
  background: rgba(255,255,255,0.4);
  border-radius: 999px;
  filter: blur(3px);
  animation: drift 28s linear infinite;
}
.hero__cloud--a { top: 14%; left: -20%; }
.hero__cloud--b { top: 22%; left: -50%; width: 60px; height: 18px; animation-duration: 38s; animation-delay: -14s; opacity: 0.6; }
@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(180vw); }
}

/* Ocean / horizon */
.hero__ocean {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 36%;
  background:
          linear-gradient(180deg, rgba(255,138,91,0.4) 0%, rgba(31,58,95,0.85) 60%, #0a1c2e 100%);
}
.hero__ocean::before, .hero__ocean::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 14px;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.55) 0 4px, transparent 4px 14px);
  filter: blur(0.6px);
  opacity: 0.7;
  mask: linear-gradient(180deg, transparent, #000 50%, transparent);
  -webkit-mask: linear-gradient(180deg, transparent, #000 50%, transparent);
  animation: shimmer 4s ease-in-out infinite;
}
.hero__ocean::before { top: 18%; }
.hero__ocean::after  { top: 36%; opacity: 0.4; animation-delay: -2s; }
@keyframes shimmer {
  0%, 100% { transform: translateX(0); opacity: .5; }
  50%      { transform: translateX(7px); opacity: .85; }
}

/* Palm silhouette */
.hero__palm {
  position: absolute;
  bottom: -2%;
  width: 55%;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5));
  animation: sway 10s ease-in-out infinite;
  transform-origin: bottom center;
}
.hero__palm--left  { left: -10%; }
.hero__palm--right { right: -14%; transform: scaleX(-1); animation-duration: 12s; animation-delay: -3s; }
@keyframes sway {
  0%, 100% { transform: rotate(-1.3deg); }
  50%      { transform: rotate(1.3deg); }
}
.hero__palm--right { animation-name: swayR; }
@keyframes swayR {
  0%, 100% { transform: scaleX(-1) rotate(-1.3deg); }
  50%      { transform: scaleX(-1) rotate(1.3deg); }
}

/* Floating coins */
.hero__coin {
  position: absolute;
  width: 38px; height: 38px;
  filter: drop-shadow(0 6px 14px rgba(255,209,102,0.5));
  animation: floatCoin 8s ease-in-out infinite;
}
.hero__coin--1 { top: 10%; right: 14%; animation-delay: 0s; }
.hero__coin--2 { top: 32%; left: 8%; width: 28px; height: 28px; animation-delay: -3s; }
.hero__coin--3 { bottom: 24%; right: 10%; width: 32px; height: 32px; animation-delay: -5s; }
@keyframes floatCoin {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-12px) rotate(16deg); }
}

/* Hero floating decorative leaves on the text side */
.hero__deco-leaf {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
  z-index: -1;
}
.hero__deco-leaf--tl { top: -40px; left: -80px; width: 240px; transform: rotate(-30deg); color: var(--leaf); }
.hero__deco-leaf--br { bottom: -60px; right: -40px; width: 200px; transform: rotate(140deg); color: var(--coral); }

/* ===========================================================
   STATS STRIP
   =========================================================== */
.stats {
  position: relative;
  margin-top: -60px;
  z-index: 5;
}
.stats__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(15,53,83,0.95), rgba(7,34,58,0.85));
  border: 1px solid var(--border-strong);
  border-radius: var(--rad-xl);
  padding: 28px clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--sh-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.stats__item { text-align: center; position: relative; }
.stats__item + .stats__item::before {
  content: ""; position: absolute; left: -12px; top: 20%; bottom: 20%;
  width: 1px; background: var(--border);
}
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
}
.stats__num em {
  font-style: italic;
  color: var(--coral);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.stats__label { margin-top: 8px; font-size: .85rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.16em; }

/* ===========================================================
   SECTION SHELL
   =========================================================== */
section { padding: clamp(80px, 12vh, 140px) var(--gutter); position: relative; }
.section__head { max-width: 720px; margin: 0 auto clamp(40px, 6vh, 70px); text-align: center; }
.section__head h2 { margin-bottom: .35em; }
.section__head p  { color: var(--text-soft); font-size: 1.05rem; }

/* ===========================================================
   USP / WHY US
   =========================================================== */
.why {
  position: relative;
}
.why__inner { max-width: var(--max-w); margin: 0 auto; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why__card {
  position: relative;
  padding: 38px 32px;
  border-radius: var(--rad-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s;
  overflow: hidden;
}
.why__card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% -20%, rgba(255,209,102,0.18), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.why__card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.why__card:hover::before { opacity: 1; }
.why__icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,138,91,0.32), rgba(255,92,138,0.18));
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(255,138,91,0.18);
}
.why__icon i { line-height: 1; }
.why__card h3 { font-size: 1.25rem; margin-bottom: .5em; }
.why__card p  { color: var(--text-soft); font-size: .95rem; margin: 0; line-height: 1.6; }

/* ===========================================================
   GAMES SECTION
   =========================================================== */
.games {
  background:
          radial-gradient(ellipse at 20% 30%, rgba(78,205,196,0.08), transparent 60%),
          radial-gradient(ellipse at 80% 70%, rgba(255,138,91,0.06), transparent 60%);
}
.games__inner { max-width: var(--max-w); margin: 0 auto; }
.games__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 22px;
}
.game-card {
  position: relative;
  padding: 28px;
  border-radius: var(--rad-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15,53,83,0.4), rgba(7,34,58,0.6));
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 360px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
}
.game-card:hover { transform: translateY(-6px); }
.game-card__hero {
  position: relative;
  border-radius: var(--rad-lg);
  flex: 1;
  margin-bottom: 22px;
  min-height: 180px;
  overflow: hidden;
  display: grid; place-items: center;
}
.game-card__hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(4,17,28,0.6));
  pointer-events: none;
}
.game-card__badge {
  position: absolute; top: 14px; right: 14px;
  z-index: 2;
  background: rgba(4,17,28,0.7);
  border: 1px solid var(--border-strong);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  backdrop-filter: blur(6px);
}
.game-card__badge--hot   { color: var(--coral); }
.game-card__badge--new   { color: var(--teal-bright); }
.game-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.game-card__title { font-size: 1.45rem; margin: 0 0 .25em; }
.game-card__desc { color: var(--text-soft); font-size: .9rem; margin: 0; }
.game-card__cta {
  flex: 0 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: .85rem;
  background: var(--surface);
  transition: background .2s, color .2s, border-color .2s;
  display: inline-flex; gap: .4em; align-items: center;
}
.game-card:hover .game-card__cta {
  background: var(--gold);
  color: var(--ink-deep);
  border-color: var(--gold);
}

.game-card--featured { grid-row: span 2; }
.game-card--featured .game-card__hero { min-height: 320px; }
.game-card--featured .game-card__title { font-size: 2rem; }

/* Game-card SVG art per game */
.game-art {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* Tiki reels card art */
.art-tiki { background: linear-gradient(180deg, #ff8a5b 0%, #ff5c8a 60%, #1f3a5f 100%); }
.art-tiki__sun { position: absolute; left: 50%; top: 25%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fffbe8, #ffe39a 50%, #ffb064 80%, transparent 90%); border-radius: 50%; }
.art-tiki__reels {
  position: absolute; bottom: 26%; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.art-tiki__reel {
  width: 56px; height: 78px;
  background: linear-gradient(180deg, #fff7e8, #f5e6cc);
  border: 2px solid #b07b1f;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 1.8rem;
  box-shadow: inset 0 -8px 12px rgba(0,0,0,0.15), 0 6px 12px rgba(0,0,0,0.4);
  animation: reelBounce 3s ease-in-out infinite;
  animation-play-state: paused;
}
.game-card:hover .art-tiki__reel { animation-play-state: running; }
.art-tiki__reel:nth-child(2) { animation-delay: .3s; }
.art-tiki__reel:nth-child(3) { animation-delay: .6s; }
@keyframes reelBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.art-tiki__palm { position: absolute; bottom: -10px; width: 40%; }
.art-tiki__palm--l { left: -8%; }
.art-tiki__palm--r { right: -10%; transform: scaleX(-1); }

/* Lagoon 21 card art */
.art-lagoon { background: linear-gradient(180deg, #1a6f7a 0%, #07223a 100%); position: relative; }
.art-lagoon__cards {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; gap: -12px;
}
.art-lagoon__card {
  width: 60px; height: 84px;
  background: linear-gradient(180deg, #fff7e8, #e2c898);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.2);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--coral-deep);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  position: relative;
}
.art-lagoon__card:nth-child(1) { transform: rotate(-8deg) translateX(15px); }
.art-lagoon__card:nth-child(2) { transform: rotate(0deg) translateY(-8px); z-index: 2; }
.art-lagoon__card:nth-child(3) { transform: rotate(8deg) translateX(-15px); color: var(--ink-deep); }

/* Pearl Wheel card art */
.art-pearl { background: linear-gradient(180deg, #4ecdc4 0%, #1a6f7a 60%, #07223a 100%); }
.art-pearl__wheel {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
          from 0deg,
          #d6453b 0 30deg, #07223a 30deg 60deg,
          #d6453b 60deg 90deg, #07223a 90deg 120deg,
          #d6453b 120deg 150deg, #07223a 150deg 180deg,
          #d6453b 180deg 210deg, #07223a 210deg 240deg,
          #d6453b 240deg 270deg, #07223a 270deg 300deg,
          #1d5b4f 300deg 330deg, #07223a 330deg 360deg
  );
  border: 4px solid var(--gold);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5), inset 0 0 0 6px rgba(0,0,0,0.3);
  animation: wheelSpin 18s linear infinite;
  animation-play-state: paused;
}
.game-card:hover .art-pearl__wheel { animation-play-state: running; }
@keyframes wheelSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.art-pearl__hub {
  position: absolute; left: 50%; top: 50%;
  width: 12%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff7e8, #ffd166);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255,209,102,0.7);
}

/* ===========================================================
   HOW IT WORKS
   =========================================================== */
.how__inner { max-width: var(--max-w); margin: 0 auto; }
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.how__step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--rad-lg);
  border: 1px dashed var(--border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent);
}
.how__step::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 200;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--gold);
  position: absolute;
  top: -10px;
  right: 20px;
  line-height: 1;
  opacity: 0.55;
}
.how__grid { counter-reset: step; }
.how__step h3 { font-size: 1.4rem; margin-top: .5em; }
.how__step p  { color: var(--text-soft); font-size: .95rem; margin: 0; }

/* ===========================================================
   PROMOTIONS
   =========================================================== */
.promos {
  background:
          radial-gradient(ellipse at 50% 0%, rgba(255,209,102,0.06), transparent 60%);
}
.promos__inner { max-width: var(--max-w); margin: 0 auto; }
.promos__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.promo {
  position: relative;
  padding: 32px;
  border-radius: var(--rad-lg);
  background: linear-gradient(180deg, rgba(15,53,83,0.6), rgba(7,34,58,0.85));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.promo:hover { transform: translateY(-4px); }
.promo__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  color: var(--gold);
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(255,209,102,0.25), rgba(255,138,91,0.18));
  border: 1px solid var(--border-strong);
  box-shadow: 0 6px 18px rgba(255,209,102,0.15);
}
.promo__icon i { line-height: 1; }
.promo h3 { font-size: 1.4rem; }
.promo p  { color: var(--text-soft); margin: 0 0 1.2em; }
.promo__reward {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.05rem;
  padding: .35em .9em;
  border: 1px dashed var(--border-strong);
  border-radius: 999px;
}
.promo--gold {
  background: linear-gradient(135deg, rgba(255,209,102,0.18), rgba(255,138,91,0.10));
  border-color: rgba(255,209,102,0.35);
}

/* ===========================================================
   FAQ
   =========================================================== */
.faq__inner { max-width: 880px; margin: 0 auto; }
.faq__list { display: grid; gap: 12px; }
details.faq {
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  background: var(--surface);
  padding: 20px 24px;
  transition: background .25s, border-color .25s;
}
details.faq[open] {
  background: var(--surface-2);
  border-color: var(--border-strong);
}
details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--cream);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform .3s;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin: 14px 0 0; color: var(--text-soft); font-size: .95rem; }

/* ===========================================================
   CTA STRIP (final)
   =========================================================== */
.cta-strip {
  padding: 0 var(--gutter) clamp(60px, 10vh, 120px);
}
.cta-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  border-radius: var(--rad-xl);
  padding: clamp(40px, 8vw, 80px);
  text-align: center;
  background:
          linear-gradient(135deg, rgba(214,69,59,0.4), rgba(255,138,91,0.3) 35%, rgba(255,92,138,0.4) 65%, rgba(31,58,95,0.6) 100%);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  isolation: isolate;
}
.cta-strip__inner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(255,209,102,0.4), transparent 50%);
  z-index: -1;
}
.cta-strip h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: .35em; }
.cta-strip p  { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 50ch; margin: 0 auto 1.6em; }
.cta-strip p.cta-strip__legal { font-size: .8rem; color: rgba(255,255,255,0.65); margin: clamp(48px, 5.5vw, 80px) auto 0; letter-spacing: 0.04em; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  position: relative;
  padding: 80px var(--gutter) 24px;
  background: linear-gradient(180deg, var(--ink-deep), #020a14);
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.site-footer__waves { position: absolute; top: -1px; left: 0; right: 0; height: 80px; pointer-events: none; }
.site-footer__waves svg { width: 100%; height: 100%; transform: rotate(180deg); }

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.site-footer__brand { max-width: 320px; }
.site-footer__title { font-size: 1.6rem; margin: 12px 0 6px; }
.site-footer__title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--gold);
}
.site-footer__tag { color: var(--text-mute); font-style: italic; font-family: var(--font-display); }

.site-footer__col h4 { color: var(--gold); font-size: .82rem; margin-bottom: 14px; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__col a { color: var(--text-soft); transition: color .2s; }
.site-footer__col a:hover { color: var(--cream); }

.site-footer__newsletter-copy { color: var(--text-soft); font-size: .9rem; margin-bottom: 14px; }
.newsletter {
  display: flex; gap: 8px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.newsletter input {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  padding: 8px 14px;
  color: var(--text);
  outline: none;
}
.newsletter input::placeholder { color: var(--text-mute); }

.site-footer__disclaimer {
  max-width: var(--max-w);
  margin: 32px auto;
}
.disclaimer-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px;
  border-radius: var(--rad-lg);
  background: linear-gradient(135deg, rgba(214,69,59,0.18), rgba(255,138,91,0.10));
  border: 1px solid rgba(214,69,59,0.4);
}
.disclaimer-card__badge {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--coral-deep);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  letter-spacing: 0.05em;
}
.disclaimer-card p { margin: 0; color: var(--text-soft); font-size: .92rem; }

.site-footer__base {
  max-width: var(--max-w);
  margin: 24px auto 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--text-mute);
  font-size: .85rem;
}

/* ===========================================================
   GAME MODAL OVERLAY
   =========================================================== */
.game-modal {
  position: fixed; inset: 0; z-index: 200;
  background:
          radial-gradient(ellipse at top, rgba(255,138,91,0.18), transparent 60%),
          rgba(2,8,16,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid; place-items: center;
  padding: 24px;
  overflow-y: auto;
  animation: gameFade .3s ease;
}
@keyframes gameFade { from { opacity: 0; } to { opacity: 1; } }
.game-modal[hidden] { display: none; }
.game-modal__panel {
  width: 100%; max-width: 920px;
  background: linear-gradient(180deg, rgba(15,53,83,0.95), rgba(7,34,58,0.98));
  border: 1px solid var(--border-strong);
  border-radius: var(--rad-xl);
  padding: clamp(20px, 4vw, 36px);
  position: relative;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.7);
  animation: gamePop .4s cubic-bezier(.2,.8,.2,1);
}
@keyframes gamePop { from { transform: translateY(20px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }

.game-modal__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.game-modal__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
  color: var(--cream);
}
.game-modal__title em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.game-modal__close {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: .85rem;
  font-weight: 600;
  transition: background .2s;
}
.game-modal__close:hover { background: var(--surface-2); color: var(--cream); }

.game-modal__balance {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem;
  color: var(--text-soft);
}
.game-modal__balance strong { color: var(--gold); font-family: var(--font-display); font-size: 1.1rem; }

/* === SLOT (Tiki Reels) === */
.slot {
  display: grid; gap: 24px;
}
.slot__machine {
  background: linear-gradient(180deg, #ff8a5b 0%, #ff5c8a 60%, #6a3a7d 100%);
  border-radius: var(--rad-lg);
  padding: 22px;
  position: relative;
  border: 4px solid var(--gold);
  box-shadow: 0 25px 50px -20px rgba(0,0,0,0.5), inset 0 0 0 2px rgba(255,255,255,0.15);
}
.slot__display {
  background: var(--ink-deep);
  border-radius: var(--rad);
  padding: 18px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  position: relative;
  border: 2px solid var(--gold-deep);
}
.slot__reel {
  background: linear-gradient(180deg, #fff7e8, #e2c898);
  border-radius: var(--rad-sm);
  height: clamp(120px, 18vw, 160px);
  display: grid; place-items: center;
  font-size: clamp(3rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -6px 12px rgba(0,0,0,0.15);
  border: 2px solid #b07b1f;
}
.slot__reel-strip {
  display: flex; flex-direction: column; align-items: center;
  position: absolute; left: 0; right: 0;
  transition: transform .4s ease;
}
.slot__reel.spinning .slot__reel-strip { animation: reelSpin .12s linear infinite; }
@keyframes reelSpin {
  from { transform: translateY(0); }
  to   { transform: translateY(-100px); }
}
.slot__reel-cell {
  width: 100%;
  height: clamp(120px, 18vw, 160px);
  display: grid; place-items: center;
  font-size: clamp(3rem, 8vw, 5rem);
}
.slot__payline {
  position: absolute; left: 12px; right: 12px; top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--coral) 20%, var(--coral) 80%, transparent);
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(255,111,97,0.7);
  pointer-events: none;
}
.slot__controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.slot__bet {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
}
.slot__bet button {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--cream);
  font-weight: 700;
  font-size: 1.1rem;
  transition: background .2s;
}
.slot__bet button:hover { background: var(--gold); color: var(--ink-deep); }
.slot__bet-value { font-family: var(--font-display); color: var(--gold); font-size: 1.05rem; min-width: 60px; text-align: center; }
.slot__bet-label { font-size: .75rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.14em; padding-right: 8px; }

.slot__spin {
  padding: 16px 36px;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  background: linear-gradient(135deg, var(--coral), var(--pink));
  color: #fff;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--sh-cta);
  transition: transform .2s;
}
.slot__spin:hover:not(:disabled) { transform: scale(1.05); }
.slot__spin:disabled { opacity: .55; cursor: not-allowed; }

.slot__paytable {
  margin-top: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 18px;
}
.slot__paytable h4 { color: var(--gold); margin-bottom: 12px; }
.slot__paytable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  font-size: .9rem;
}
.slot__paytable-row {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 6px 10px;
  background: var(--surface-2);
  border-radius: var(--rad-sm);
  color: var(--text-soft);
}
.slot__paytable-row strong { color: var(--gold); }

/* Slot result message */
.slot__msg {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  min-height: 1.6em;
  color: var(--gold);
  font-style: italic;
}
.slot__msg.win { color: var(--teal-bright); animation: winPulse 1s ease infinite; }
@keyframes winPulse { 50% { transform: scale(1.05); } }

/* === BLACKJACK (Lagoon 21) === */
.bj {
  display: grid; gap: 18px;
}
.bj__table {
  background:
          radial-gradient(ellipse at center, rgba(78,205,196,0.18), transparent 70%),
          linear-gradient(180deg, #1a6f7a, #0f3553);
  border-radius: var(--rad-lg);
  padding: 28px;
  min-height: 320px;
  border: 4px solid var(--gold);
  position: relative;
}
.bj__zone { display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 12px 0; }
.bj__zone-label { font-size: .8rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.18em; }
.bj__zone-score {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--cream);
}
.bj__cards { display: flex; gap: 8px; min-height: 110px; }
.card-bj {
  width: 70px; height: 100px;
  background: linear-gradient(180deg, #fff7e8, #e2c898);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.2);
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink-deep);
  box-shadow: 0 10px 22px rgba(0,0,0,0.4);
  animation: cardDeal .4s cubic-bezier(.2,.8,.2,1);
}
@keyframes cardDeal {
  from { transform: translateY(-30px) rotate(-10deg); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.card-bj--red { color: var(--coral-deep); }
.card-bj--back {
  background: linear-gradient(135deg, var(--coral) 25%, var(--pink) 50%, var(--sunset) 75%);
  background-size: 8px 8px;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.18) 0 2px, transparent 2px 6px);
}
.card-bj__top { position: absolute; top: 6px; left: 8px; line-height: 1; }
.card-bj__bot { position: absolute; bottom: 6px; right: 8px; line-height: 1; transform: rotate(180deg); }
.card-bj__suit { font-size: 1.6rem; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.bj__divider {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center;
  margin: 8px 0;
}
.bj__divider::before, .bj__divider::after { content: ""; height: 1px; background: var(--border); }
.bj__divider span { color: var(--gold); font-family: var(--font-display); font-style: italic; }

.bj__bet-row {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  padding: 8px 0;
}
.bj-chip {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
  background: var(--coral-deep);
  color: #fff;
  border: 4px dashed rgba(255,255,255,0.5);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4), inset 0 0 0 4px var(--coral-deep);
  transition: transform .2s;
  cursor: pointer;
}
.bj-chip:hover { transform: scale(1.06); }
.bj-chip[data-value="25"]  { background: var(--teal); }
.bj-chip[data-value="50"]  { background: var(--leaf); }
.bj-chip[data-value="100"] { background: var(--ink-soft); }
.bj-chip[data-value="500"] { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--ink-deep); }

.bj__actions {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.bj__msg {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  font-style: italic;
  min-height: 1.6em;
}
.bj__bet-info {
  text-align: center;
  font-size: .9rem;
  color: var(--text-soft);
}
.bj__bet-info strong { color: var(--gold); }

/* === ROULETTE (Pearl Wheel) === */
.rl {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px;
}
@media (max-width: 760px) { .rl { grid-template-columns: 1fr; } }

.rl__wheel-wrap {
  position: relative;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(78,205,196,0.18), transparent 70%);
  border-radius: var(--rad-lg);
  display: grid; place-items: center;
}
.rl__wheel {
  width: 86%; aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  box-shadow:
          0 22px 44px rgba(0,0,0,0.5),
          inset 0 0 0 6px rgba(0,0,0,0.5),
          inset 0 0 0 12px var(--gold);
  background:
          radial-gradient(circle at 50% 50%, transparent 24%, var(--ink-deep) 24% 28%, transparent 28%),
          repeating-conic-gradient(
                  from 0deg,
                  var(--leaf) 0 9.73deg,
                  var(--ink-deep) 9.73deg 19.46deg,
                  var(--coral-deep) 19.46deg 29.19deg,
                  var(--ink-deep) 29.19deg 38.92deg
          );
  transition: transform 4s cubic-bezier(.15,.85,.25,1);
}
.rl__hub {
  position: absolute; left: 50%; top: 50%;
  width: 18%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff7e8, #ffd166 60%, #c79621);
  box-shadow: 0 0 25px rgba(255,209,102,0.7), inset 0 -4px 8px rgba(0,0,0,0.3);
}
.rl__pointer {
  position: absolute; top: 4%; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid var(--coral);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
  z-index: 2;
}
.rl__result {
  text-align: center;
  margin-top: 12px;
}
.rl__result-label { font-size: .75rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.14em; }
.rl__result-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--cream);
  margin-top: 4px;
  padding: 0 14px;
  border-radius: var(--rad-sm);
}
.rl__result-num.red    { background: var(--coral-deep); color: #fff; }
.rl__result-num.black  { background: var(--ink-deep); color: var(--cream); border: 1px solid var(--border-strong); }
.rl__result-num.green  { background: var(--leaf); color: var(--cream); }

.rl__board { display: grid; gap: 12px; }
.rl__bets-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.rl__bet {
  padding: 12px 8px;
  border-radius: var(--rad-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: .85rem;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.rl__bet:hover { background: var(--surface-2); border-color: var(--border-strong); }
.rl__bet.active { border-color: var(--gold); background: rgba(255,209,102,0.12); color: var(--gold); }
.rl__bet[data-bet="red"]    { background: rgba(214,69,59,0.25); }
.rl__bet[data-bet="black"]  { background: rgba(7,34,58,0.6); }
.rl__bet--full { grid-column: 1 / -1; }

.rl__amount {
  display: flex; gap: 8px; align-items: center;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  justify-content: center;
}
.rl__amount button {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--cream);
  font-weight: 700;
}
.rl__amount-value { font-family: var(--font-display); color: var(--gold); font-size: 1.05rem; min-width: 60px; text-align: center; }

.rl__spin {
  padding: 14px 28px;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
  background: linear-gradient(135deg, var(--coral), var(--pink));
  color: #fff;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: var(--sh-cta);
  transition: transform .2s;
}
.rl__spin:hover:not(:disabled) { transform: translateY(-2px); }
.rl__spin:disabled { opacity: .55; cursor: not-allowed; }

.rl__msg {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  font-style: italic;
  min-height: 1.6em;
}

/* ===========================================================
   POLICY PAGES (Terms, Privacy)
   =========================================================== */
.legal-hero {
  padding: clamp(60px, 10vh, 110px) var(--gutter) clamp(40px, 6vh, 80px);
  text-align: center;
  background:
          radial-gradient(ellipse at 50% 0%, rgba(255,138,91,0.18), transparent 60%);
}
.legal-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: .35em;
}
.legal-hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.legal-hero p { color: var(--text-soft); max-width: 56ch; margin: 0 auto; }
.legal-hero__date {
  margin-top: 18px;
  font-size: .85rem;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px var(--gutter) clamp(60px, 10vh, 120px);
}
.legal h2 {
  font-size: 1.7rem;
  margin: 2em 0 .5em;
  padding-top: 1em;
  border-top: 1px solid var(--border);
  position: relative;
}
.legal h2::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
}
.legal h2:first-of-type { padding-top: 0; border-top: 0; margin-top: 0; }
.legal h2:first-of-type::before { display: none; }
.legal h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; color: var(--gold); font-style: italic; }
.legal p, .legal li { color: var(--text-soft); font-size: 1rem; }
.legal ul, .legal ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.legal ul li, .legal ol li { margin-bottom: .5em; }
.legal strong { color: var(--cream); }
.legal a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(255,209,102,0.4); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--gold); }

.legal__toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 24px;
  margin-bottom: 40px;
}
.legal__toc h4 { color: var(--gold); margin: 0 0 14px; }
.legal__toc ol {
  columns: 2; column-gap: 20px;
  padding-left: 1.4em; margin: 0;
}
.legal__toc li { color: var(--text-soft); break-inside: avoid; padding: 4px 0; }
.legal__toc a { color: var(--text-soft); }
.legal__toc a:hover { color: var(--gold); }

@media (max-width: 600px) {
  .legal__toc ol { columns: 1; }
}

/* ===========================================================
   REVEAL (intersection-observer driven)
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.in {
  opacity: 1; transform: none;
}
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1100px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .games__grid { grid-template-columns: 1fr 1fr; }
  .game-card--featured { grid-row: auto; grid-column: 1 / -1; }
  .game-card--featured .game-card__hero { min-height: 220px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .site-header__inner {
    grid-template-columns: auto auto auto;
    gap: 14px;
  }
  .nav { display: none; }
  .nav__burger { display: inline-flex; }
  .balance__label { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-height: 420px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); padding: 22px; }
  .stats__item + .stats__item::before { display: none; }
  .how__grid { grid-template-columns: 1fr; }
  .promos__grid { grid-template-columns: 1fr; }
  .games__grid { grid-template-columns: 1fr; }
  .game-card--featured { grid-row: auto; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .ribbon-18 p { font-size: .75rem; }
}

@media (max-width: 540px) {
  h1 { font-size: 2.4rem; }
  .stats__inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .why__grid { grid-template-columns: 1fr; }
  .balance__amount { font-size: .95rem; }
  .age-gate__panel { padding: 28px 22px; }
  .game-modal { padding: 12px; }
  .game-modal__panel { padding: 18px; }
  .slot__machine { padding: 14px; }
  .bj__cards { gap: 4px; }
  .card-bj { width: 56px; height: 80px; font-size: 1.05rem; }
}

/* ===========================================================
   PREFERS-REDUCED-MOTION
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__cloud { display: none; }
}

/* ===========================================================
   PERFORMANCE — keep paint cheap & minimize layout thrash
   ===========================================================
   1) Promote infinite-loop animated elements to their own GPU
      compositor layer so their animations don't trigger paint
      or layout on the rest of the page.
   2) Pause the entire hero scene when it scrolls out of view
      (JS toggles .scene-paused on .hero__art).
   3) content-visibility: auto on heavy below-the-fold sections
      lets the browser skip rendering work until the user
      actually scrolls them into view.
*/

/* GPU compositing hints — only on elements that loop forever.
   `will-change: transform` is enough on modern browsers to promote
   to a compositor layer; we don't override existing transforms. */
.hero__sun,
.hero__cloud,
.hero__palm,
.hero__coin,
.hero__ocean::before,
.hero__ocean::after,
.balance__icon,
.art-tiki__reel,
.art-pearl__wheel {
  will-change: transform;
  backface-visibility: hidden;
}

/* Pause hero scene when offscreen — saves CPU/GPU on long scrolls */
.hero__art.scene-paused *,
.hero__art.scene-paused {
  animation-play-state: paused !important;
}

/* Defer rendering of below-the-fold sections until they're near the viewport.
   `.hero` is intentionally excluded — it's above the fold on every load. */
.stats, .why, .games, .how, .promos, .faq, .cta-strip, .site-footer,
.legal-hero, .legal {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}