/* ===================================================
   ReefSpins.fun — Social Casino
   Brand: ReefSpins3 exact palette
   Bg: #272727 charcoal | Accent: #f9ae1b gold
   Gradient CTA: #fff067 → #ff772b
   Fonts: Montserrat (headings/UI) + Inter (body)
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────── */
:root {
  /* Type scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(2.4rem, 1rem + 4vw, 4.5rem);

  /* Spacing */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s5: 1.25rem; --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem;
  --s12: 3rem;   --s16: 4rem;  --s20: 5rem; --s24: 6rem;

  /* ── ReefSpins3 brand palette ── */
  --color-bg:           #1e1e1e;          /* body bg */
  --color-header:       #181818;          /* nav bar */
  --color-surface:      #242424;          /* cards / panels */
  --color-surface-2:    #2c2c2c;          /* elevated surface */
  --color-surface-hover:#333333;
  --color-border:       rgba(255,255,255,0.08);
  --color-border-strong:rgba(255,255,255,0.15);

  /* Text */
  --color-text:         #ffffff;
  --color-text-muted:   rgba(255,255,255,0.6);
  --color-text-faint:   rgba(255,255,255,0.35);

  /* Gold accent */
  --color-gold:         #f9ae1b;
  --color-gold-light:   #ffdb3b;
  --color-gold-dark:    #ff772b;
  --color-gold-flat:    #f9ae1b;

  /* Gradient CTA — brand exact */
  --grad-cta:           linear-gradient(180deg, #fff067 0%, #ff772b 100%);
  --grad-cta-hover:     linear-gradient(180deg, #ffe040 0%, #f06010 100%);
  --grad-footer:        linear-gradient(180deg, #04080c 16.61%, #070635 88.48%);
  --grad-gold-text:     linear-gradient(180deg, #fff067 -5.77%, #ff772b 100%);

  /* Deep navy (footer / overlays) */
  --color-navy:         #07072f;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --tx: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-card:  0 4px 20px rgba(0,0,0,0.5);
  --shadow-gold:  0 0 20px rgba(249,174,27,0.4);
  --shadow-glow:  0 8px 32px rgba(255,112,43,0.3);

  /* Content widths */
  --w-default: 1200px;
  --w-narrow:  780px;

  /* Fonts */
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ─── BASE RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  background: #000;
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance; line-height: 1.15;
  font-family: var(--font-heading); font-weight: 800;
}
p, li { text-wrap: pretty; }
button { cursor: pointer; background: none; border: none; }
::selection { background: rgba(249,174,27,0.3); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; border-radius: var(--radius-sm); }
a { color: inherit; text-decoration: none; }

/* ─── LAYOUT HELPERS ─────────────────────────────── */
.container { max-width: var(--w-default); margin-inline: auto; padding-inline: var(--s6); }
.section-pad { padding-block: clamp(var(--s12), 6vw, var(--s20)); }

.section-label {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-gold); margin-bottom: var(--s4);
}
.section-label::before {
  content: ''; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--color-gold);
}

/* Gradient text utility */
.grad-text {
  background: var(--grad-gold-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: 0.65em 1.8em;
  font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; border: none; text-decoration: none;
  border-radius: var(--radius-md);
  transition: transform var(--tx), box-shadow var(--tx), opacity var(--tx);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); opacity: 0.9; }

.btn-primary {
  background: var(--grad-cta);
  color: var(--color-navy);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { box-shadow: 0 10px 40px rgba(255,112,43,0.45); }

.btn-outline {
  background: transparent; color: var(--color-text);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--color-gold); color: var(--color-gold); }

.btn-gold-flat {
  background: var(--color-gold-flat); color: #000;
  font-weight: 800;
}
.btn-gold-flat:hover { background: var(--color-gold-light); }

.btn-lg { padding: 0.8em 2.4em; font-size: var(--text-base); }
.btn-sm { padding: 0.45em 1.2em; font-size: var(--text-xs); }

/* ─── NAVIGATION — Two-row, no burger ───────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: box-shadow var(--tx);
}
.site-nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.7); }

/* Row 1: top bar */
.nav-top-bar {
  background: #181818;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-top-inner {
  max-width: var(--w-default); margin-inline: auto; padding-inline: var(--s5);
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
/* Logo — centred on desktop via flex grow trick */
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
  /* push it to true centre relative to full bar */
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-logo img { height: 38px; width: auto; }
/* Right slot: buttons */
.nav-actions {
  display: flex; align-items: center; gap: var(--s2);
  margin-left: auto;
}

/* Row 2: nav bar — horizontal scroll on mobile */
.nav-bottom-bar {
  background: #000000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-bottom-inner {
  /* no max-width cap on mobile so scroll works naturally */
  height: 44px; display: flex; align-items: center;
  justify-content: center;
  padding-inline: var(--s5);
  overflow-x: auto;
  /* hide scrollbar cross-browser */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-bottom-inner::-webkit-scrollbar { display: none; }

/* Nav links */
.nav-links {
  display: flex; align-items: center;
  list-style: none; margin: 0; padding: 0;
  height: 100%;
  /* prevent shrinking so scroll kicks in */
  flex-shrink: 0;
}
.nav-links a {
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 0 var(--s4);
  height: 44px; display: flex; align-items: center;
  border-bottom: 2px solid transparent;
  transition: color var(--tx), border-color var(--tx);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--color-text); border-bottom-color: rgba(255,255,255,0.3); }
.nav-links a.active { color: var(--color-text); border-bottom-color: var(--color-gold); }

/* ─── HERO ─────────────────────────────────────── */
/* Distinct structure: full-bleed image-style background with
   a split layout — big headline left, live-game-card right.
   Uses a warm/sunset tone distinct from StakeClub's green */
.hero {
  min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: 108px;
  position: relative; overflow: hidden;
  background: var(--color-bg);
}

/* Underwater ocean background — matches ReefSpins3 deep blue/teal world */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    /* surface light caustics at top */
    radial-gradient(ellipse 120% 40% at 50% -5%, rgba(0, 200, 255, 0.18) 0%, transparent 60%),
    /* mid-water glow left */
    radial-gradient(ellipse 60% 70% at 10% 40%, rgba(0, 100, 200, 0.22) 0%, transparent 55%),
    /* mid-water glow right */
    radial-gradient(ellipse 50% 60% at 90% 50%, rgba(30, 60, 180, 0.18) 0%, transparent 55%),
    /* deep seafloor darkness */
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(0, 10, 40, 0.9) 0%, transparent 60%),
    /* main ocean gradient */
    linear-gradient(180deg, #0a2a5e 0%, #0d3575 20%, #0b4a8c 45%, #0a3060 70%, #060d2a 100%);
}

/* Subtle animated shimmer overlay — light rays from surface */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 60px,
      rgba(0, 200, 255, 0.03) 60px,
      rgba(0, 200, 255, 0.03) 62px
    );
  animation: lightRays 8s ease-in-out infinite alternate;
}
@keyframes lightRays {
  0%   { opacity: 0.4; transform: skewX(-1deg); }
  100% { opacity: 1;   transform: skewX(1deg); }
}

/* Coral / seabed silhouette at bottom of hero */
.hero-bg::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background:
    /* coral mounds */
    radial-gradient(ellipse 8% 60% at 5%   100%, #0a1a3a 40%, transparent 70%),
    radial-gradient(ellipse 6% 50% at 12%  100%, #0d2244 40%, transparent 70%),
    radial-gradient(ellipse 10% 70% at 22% 100%, #0a1a3a 40%, transparent 70%),
    radial-gradient(ellipse 5%  45% at 30% 100%, #091830 40%, transparent 70%),
    radial-gradient(ellipse 12% 80% at 42% 100%, #0c1f40 45%, transparent 70%),
    radial-gradient(ellipse 7%  55% at 55% 100%, #0a1a3a 40%, transparent 70%),
    radial-gradient(ellipse 9%  65% at 65% 100%, #0d2244 40%, transparent 70%),
    radial-gradient(ellipse 6%  48% at 75% 100%, #091830 40%, transparent 70%),
    radial-gradient(ellipse 11% 75% at 85% 100%, #0a1a3a 45%, transparent 70%),
    radial-gradient(ellipse 8%  58% at 95% 100%, #0c1f40 40%, transparent 70%),
    /* sandy floor */
    linear-gradient(to top, #040e22 0%, transparent 100%);
}

/* Animated bubble particles — underwater bubbles rising */
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.6), rgba(100,200,255,0.15));
  border: 1px solid rgba(100,200,255,0.3);
  animation: bubble linear infinite; opacity: 0;
}
@keyframes bubble {
  0%   { transform: translate(0, 0) scale(1); opacity: 0; }
  10%  { opacity: 0.7; }
  80%  { opacity: 0.3; }
  100% { transform: translate(var(--dx, 15px), -110vh) scale(0.6); opacity: 0; }
}

/* Animated fish SVG elements */
.hero-fish {
  position: absolute; z-index: 0; pointer-events: none;
  opacity: 0.55;
  animation: swimAcross linear infinite;
}
@keyframes swimAcross {
  0%   { transform: translateX(-120px); opacity: 0; }
  5%   { opacity: 0.55; }
  95%  { opacity: 0.4; }
  100% { transform: translateX(calc(100vw + 120px)); opacity: 0; }
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--w-default); margin-inline: auto; padding-inline: var(--s6);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s16);
  align-items: center; width: 100%;
  padding-block: var(--s20);
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  background: rgba(249,174,27,0.1); border: 1px solid rgba(249,174,27,0.3);
  border-radius: var(--radius-full);
  padding: var(--s1) var(--s4);
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-gold);
  margin-bottom: var(--s5);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.hero-title {
  font-size: var(--text-hero); font-weight: 900; line-height: 1.05;
  margin-bottom: var(--s5); letter-spacing: -0.02em;
}
.hero-sub {
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.75;
  color: var(--color-text-muted); max-width: 50ch; margin-bottom: var(--s8);
}
.hero-ctas { display: flex; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s10); }

/* Stats strip */
.hero-stats {
  display: flex; gap: var(--s8);
  padding-top: var(--s8); border-top: 1px solid var(--color-border);
}
.hero-stat-val {
  font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 900;
  color: var(--color-gold); line-height: 1; display: block;
}
.hero-stat-label {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-text-muted); display: block;
  margin-top: var(--s1);
}

/* Hero right: game showcase cards */
.hero-right { display: flex; flex-direction: column; gap: var(--s4); }
.hero-featured-label {
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-gold);
  display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s2);
}
.hero-featured-label::before { content:'★'; }

/* Big featured game */
.hero-main-game {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; aspect-ratio: 16/9;
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-card);
  transition: transform var(--tx), box-shadow var(--tx);
}
.hero-main-game:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.6); }
.hero-main-game img { width: 100%; height: 100%; object-fit: cover; }
.hero-main-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: var(--s4);
  opacity: 0; transition: opacity var(--tx);
}
.hero-main-game:hover .hero-main-overlay { opacity: 1; }
.hero-play-pill {
  background: var(--grad-cta); color: var(--color-navy);
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: var(--s2) var(--s5); border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
}
.hero-main-title {
  display: none; /* title removed by design */
}

/* Mini game row */
.hero-mini-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.hero-mini-game {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  cursor: pointer; aspect-ratio: 339/180;
  border: 1px solid var(--color-border);
  transition: transform var(--tx), border-color var(--tx);
}
.hero-mini-game:hover { transform: scale(1.04); border-color: var(--color-gold); }
.hero-mini-game img { width: 100%; height: 100%; object-fit: cover; }
.hero-mini-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--tx);
}
.hero-mini-game:hover .hero-mini-overlay { opacity: 1; }
.mini-play-btn {
  background: var(--grad-cta); color: var(--color-navy);
  font-family: var(--font-heading); font-size: 0.65rem; font-weight: 800;
  text-transform: uppercase; padding: 0.3em 0.8em; border-radius: var(--radius-full);
  border: none; cursor: pointer;
}

/* ─── GAME LOBBY SECTION ─────────────────────────── */
/* StakeClub-style: label + heading + 6-card grid, then View All */
.lobby-section { background: var(--color-surface); }
.lobby-top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--s4); margin-bottom: var(--s8); }
.lobby-top h2 { font-size: var(--text-xl); }
.view-all-btn {
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-gold); display: flex; align-items: center; gap: var(--s2);
  text-decoration: none; transition: gap var(--tx), color var(--tx);
}
.view-all-btn:hover { gap: var(--s3); }

/* Featured 6-card grid — 3×2 */
.featured-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5);
  margin-bottom: var(--s8);
}

/* Game card */
.game-card {
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; position: relative;
  transition: transform var(--tx), border-color var(--tx), box-shadow var(--tx);
}
.game-card:hover { transform: translateY(-6px) scale(1.01); border-color: rgba(249,174,27,0.5); box-shadow: 0 12px 32px rgba(0,0,0,0.5), var(--shadow-gold); }
.game-thumb { aspect-ratio: 339/180; overflow: hidden; position: relative; background: #111; }
.game-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.game-card:hover .game-thumb img { transform: scale(1.07); }
.game-thumb-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--tx);
}
.game-card:hover .game-thumb-overlay { opacity: 1; }
.game-play-btn {
  background: var(--grad-cta); color: var(--color-navy);
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.5em 1.5em; border-radius: var(--radius-full);
  border: none; cursor: pointer; box-shadow: var(--shadow-glow);
}
.game-info { padding: var(--s4) var(--s4) var(--s4); }
.game-badges { display: flex; gap: var(--s2); margin-bottom: var(--s2); }
.badge {
  font-family: var(--font-heading); font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 2px var(--s2); border-radius: var(--radius-sm);
}
.badge-free { background: rgba(249,174,27,0.12); color: var(--color-gold); border: 1px solid rgba(249,174,27,0.3); }
.badge-slots { background: rgba(255,255,255,0.06); color: var(--color-text-muted); border: 1px solid var(--color-border); }
.game-name { font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 700; color: var(--color-text); white-space: normal; overflow: visible; word-break: break-word; line-height: 1.35; min-height: 2.7em; }
.game-provider { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: 2px; }

/* View all games CTA row */
.lobby-cta-row { text-align: center; padding-top: var(--s4); }

/* ─── FEATURES / WHY SECTION ─────────────────────── */
/* 3 horizontal cards with number accent — different from StakeClub icon cards */
.why-section { background: var(--color-bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s10); }
.why-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--s8);
  position: relative; overflow: hidden;
  transition: border-color var(--tx), transform var(--tx), box-shadow var(--tx);
}
.why-card:hover { border-color: rgba(249,174,27,0.35); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.why-card-num {
  font-family: var(--font-heading); font-size: 4.5rem; font-weight: 900; line-height: 1;
  background: var(--grad-gold-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  opacity: 0.18; position: absolute; top: var(--s4); right: var(--s5);
  pointer-events: none; user-select: none;
}
.why-card-icon { font-size: 1.75rem; margin-bottom: var(--s4); }
.why-card h3 { font-size: var(--text-base); font-weight: 800; margin-bottom: var(--s3); }
.why-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; }

/* ─── PROMO / SOCIAL CASINO STRIP ────────────────── */
.promo-strip {
  background: linear-gradient(135deg, #0d0d0d 0%, #181020 50%, #0d0d0d 100%);
  border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  position: relative; overflow: hidden;
}
.promo-strip::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(249,174,27,0.07) 0%, transparent 60%);
}
.promo-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto; gap: var(--s12); align-items: center;
}
.promo-tag { font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-gold); margin-bottom: var(--s4); }
.promo-strip h2 { font-size: var(--text-xl); margin-bottom: var(--s4); }
.promo-strip p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.75; max-width: 52ch; margin-bottom: var(--s6); }
.promo-note {
  font-size: var(--text-xs); color: var(--color-text-faint);
  background: rgba(255,255,255,0.04); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--s3) var(--s4); max-width: 52ch; line-height: 1.6;
}
.promo-stats { display: flex; flex-direction: column; gap: var(--s4); min-width: 220px; }
.promo-stat-card {
  background: rgba(249,174,27,0.07); border: 1px solid rgba(249,174,27,0.2);
  border-radius: var(--radius-lg); padding: var(--s5) var(--s6); text-align: center;
}
.promo-stat-val {
  font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 900;
  background: var(--grad-gold-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.promo-stat-label { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--s2); text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── REWARDS SECTION ─────────────────────────────── */
.rewards-section { background: var(--color-surface); }
.rewards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); margin-top: var(--s10); }
.reward-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--s6);
  transition: border-color var(--tx), transform var(--tx);
}
.reward-card:hover { border-color: rgba(249,174,27,0.4); transform: translateY(-4px); }
.reward-icon-wrap {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: rgba(249,174,27,0.1); border: 1px solid rgba(249,174,27,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: var(--s5);
}
.reward-card h3 { font-size: var(--text-sm); font-weight: 800; margin-bottom: var(--s3); }
.reward-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.65; }

/* ─── RESPONSIBLE GAMING ─────────────────────────── */
.rg-strip {
  background: rgba(249,174,27,0.05); border: 1px solid rgba(249,174,27,0.15);
  border-radius: var(--radius-lg); padding: var(--s5) var(--s6);
  display: flex; align-items: center; gap: var(--s5);
  margin-bottom: var(--s8);
}
.rg-strip svg { flex-shrink: 0; color: var(--color-gold); }
.rg-strip p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }
.rg-strip strong { color: var(--color-text); }

/* ─── CTA SECTION ────────────────────────────────── */
.cta-section {
  text-align: center; position: relative; overflow: hidden;
  background: var(--color-bg);
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(249,174,27,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin-inline: auto; }
.cta-section h2 { font-size: var(--text-2xl); margin-bottom: var(--s4); }
.cta-section p { color: var(--color-text-muted); margin-bottom: var(--s8); }
.cta-btns { display: flex; gap: var(--s4); justify-content: center; flex-wrap: wrap; }
.cta-disclaimer { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--s8); }

/* ─── RESPONSIBLE PLAY SECTION ───────────────────── */
.responsible-section { background: var(--color-surface); border-top: 1px solid var(--color-border); }
.responsible-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s12); align-items: start; margin-top: var(--s8); }
.responsible-cards { display: flex; flex-direction: column; gap: var(--s4); }

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer {
  background: var(--grad-footer);
  border-top: 1px solid var(--color-border);
  padding-block: var(--s12);
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s10); margin-bottom: var(--s10); padding-bottom: var(--s10);
  border-bottom: 1px solid var(--color-border);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--s4); }
.footer-logo img { height: 32px; width: auto; margin-bottom: var(--s2); }
.footer-disclaimer { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.7; max-width: 34ch; }
.footer-age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: #e53935; color: #fff;
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 900;
  flex-shrink: 0; margin-top: var(--s2);
}
.footer-col h4 {
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--grad-gold-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: var(--s5);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s3); }
.footer-col a { font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: none; transition: color var(--tx); }
.footer-col a:hover { color: var(--color-gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s4); }
.footer-bottom-copy { font-size: var(--text-xs); color: var(--color-text-faint); }
.footer-badges { display: flex; gap: var(--s3); flex-wrap: wrap; }
.footer-badge {
  font-family: var(--font-heading); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: var(--s1) var(--s3); border-radius: var(--radius-full);
  border: 1px solid var(--color-border); color: var(--color-text-faint);
}
.footer-badge.gold { border-color: rgba(249,174,27,0.3); color: var(--color-gold); }

/* ─── GAME MODAL ─────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: var(--s4);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden;
  width: 100%; max-width: 920px; max-height: 92dvh;
  display: flex; flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn { from { transform: scale(0.94) translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s4) var(--s6); border-bottom: 1px solid var(--color-border); flex-shrink: 0;
  background: var(--color-header);
}
.modal-title { font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.modal-close {
  background: rgba(255,255,255,0.07); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: var(--s2) var(--s3);
  color: var(--color-text-muted); cursor: pointer; font-size: 0.9rem; line-height: 1;
  transition: background var(--tx), color var(--tx);
}
.modal-close:hover { background: rgba(229,57,53,0.15); color: #ff5252; }
.modal-body { flex: 1; overflow: hidden; min-height: 400px; background: #000; }
.modal-iframe { width: 100%; height: 100%; border: none; min-height: 480px; }
.modal-footer {
  padding: var(--s4) var(--s6); border-top: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s4);
  flex-shrink: 0; background: var(--color-header);
}
.modal-social-note {
  display: flex; align-items: center; gap: var(--s2);
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(249,174,27,0.08); border: 1px solid rgba(249,174,27,0.2);
  border-radius: var(--radius-sm); padding: var(--s2) var(--s4);
}
.modal-cta-text { font-size: var(--text-xs); color: var(--color-text-muted); max-width: 28ch; line-height: 1.5; }

/* ─── SCROLL ANIMATIONS ──────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s10); padding-block: var(--s16) var(--s10); }
  .hero-right { display: none; }
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
  .rewards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .promo-inner { grid-template-columns: 1fr; }
  .promo-stats { display: none; }
  .responsible-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* No burger, no drawer — nav-bottom-bar stays visible and scrolls */
  .nav-actions .btn { display: none; }
  /* On mobile: logo moves to LEFT, actions removed so just logo left-aligned */
  .nav-logo { position: static; transform: none; }
  .nav-logo img { height: 30px; }
  /* Nav row: show on mobile, scrolls horizontally */
  .nav-bottom-bar { display: block; }
  .nav-bottom-inner { padding-inline: var(--s3); justify-content: flex-start; }
  /* Nav total height stays at 108px on mobile */
  .hero { padding-top: 108px; }
  .games-hero { padding-top: 108px; padding-block: 108px var(--s10); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
  .why-grid { grid-template-columns: 1fr; }
  .rewards-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { border-bottom: 1px solid var(--color-border); padding-bottom: var(--s6); }
  .modal-iframe { min-height: 340px; }
  .modal-footer { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: var(--s6); }
  .featured-grid { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .rewards-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; }
}

/* ─── GAMES PAGE SPECIFIC ────────────────────────── */
.games-hero {
  padding-top: 108px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  /* Illustrated underwater banner inspired by reefspins3.com/en/slots/ */
  background:
    linear-gradient(to bottom, rgba(10,5,30,0.55) 0%, rgba(5,10,40,0.3) 40%, rgba(10,5,30,0.72) 100%),
    radial-gradient(ellipse 130% 45% at 50% 110%, rgba(180,60,20,0.38) 0%, transparent 60%),
    radial-gradient(ellipse 80% 65% at 68% 50%, rgba(25,115,155,0.42) 0%, transparent 65%),
    radial-gradient(ellipse 75% 60% at 22% 48%, rgba(85,28,135,0.48) 0%, transparent 62%),
    radial-gradient(ellipse 100% 30% at 50% 0%, rgba(55,175,195,0.28) 0%, transparent 52%),
    linear-gradient(180deg, #0d1b3e 0%, #090d25 45%, #050818 100%);
  min-height: 220px;
}
/* Underwater light-ray shimmer */
.games-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(
    -52deg,
    transparent 0px, transparent 40px,
    rgba(70,195,215,0.045) 40px, rgba(70,195,215,0.045) 44px
  );
}
/* Coral/rock silhouettes at bottom edge */
.games-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 72px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 26% 95% at 7%  100%, rgba(185,52,18,0.52) 0%, transparent 68%),
    radial-gradient(ellipse 16% 72% at 20% 100%, rgba(155,32,10,0.42) 0%, transparent 68%),
    radial-gradient(ellipse 20% 85% at 80% 100%, rgba(165,42,14,0.48) 0%, transparent 70%),
    radial-gradient(ellipse 24% 68% at 94% 100%, rgba(145,26,10,0.42) 0%, transparent 68%),
    radial-gradient(ellipse 14% 58% at 53% 100%, rgba(105,62,185,0.32) 0%, transparent 62%);
}
.games-hero-inner {
  max-width: var(--w-default); margin-inline: auto; padding-inline: var(--s6);
  position: relative; z-index: 1;
  padding-block: var(--s12) var(--s10);
}
.games-hero h1 { font-size: var(--text-2xl); margin-bottom: var(--s3); text-shadow: 0 2px 16px rgba(0,0,0,0.7); }
.games-hero .back-link { color: rgba(255,255,255,0.6); }
.games-hero .back-link:hover { color: var(--color-gold); }
.back-link {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-text-muted); margin-bottom: var(--s5);
  transition: color var(--tx); text-decoration: none;
}
.back-link:hover { color: var(--color-gold); }

/* Search + filter bar */
.games-toolbar {
  display: flex; align-items: center; gap: var(--s4);
  flex-wrap: wrap; padding-block: var(--s6);
  border-bottom: 1px solid var(--color-border); margin-bottom: var(--s8);
}
.search-wrap { position: relative; flex: 1; min-width: 200px; max-width: 340px; }
.search-wrap svg { position: absolute; left: var(--s4); top: 50%; transform: translateY(-50%); color: var(--color-text-faint); pointer-events: none; }
.search-input {
  width: 100%; padding: 0.65em var(--s4) 0.65em 2.6rem;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); color: var(--color-text);
  font-family: var(--font-body); font-size: var(--text-sm);
  transition: border-color var(--tx), box-shadow var(--tx);
}
.search-input::placeholder { color: var(--color-text-faint); }
.search-input:focus { outline: none; border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(249,174,27,0.12); }

/* Filter tabs */
.filter-tabs { display: flex; gap: var(--s2); flex-wrap: wrap; }
.filter-tab {
  padding: 0.45em 1.1em; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); background: transparent;
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-text-muted);
  cursor: pointer; transition: background var(--tx), border-color var(--tx), color var(--tx);
}
.filter-tab:hover { border-color: rgba(249,174,27,0.4); color: var(--color-text); }
.filter-tab.active { background: rgba(249,174,27,0.12); border-color: rgba(249,174,27,0.4); color: var(--color-gold); }

/* All-games grid — bigger cards, max 4 columns desktop */
.all-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--s5); margin-bottom: var(--s8);
}

/* Progress + count */
.game-count { font-size: var(--text-xs); color: var(--color-text-faint); margin-bottom: var(--s3); }
.progress-wrap { height: 3px; background: var(--color-border); border-radius: var(--radius-full); margin-bottom: var(--s6); overflow: hidden; }
.progress-fill { height: 100%; background: var(--grad-cta); border-radius: var(--radius-full); transition: width 0.4s ease; }
.load-more-wrap { text-align: center; }

@media (max-width: 768px) {
  .games-toolbar { flex-direction: column; align-items: stretch; }
  .search-wrap { max-width: 100%; }
  .filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: var(--s2); }
  .all-game-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
}
@media (max-width: 400px) {
  .all-game-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
}
