/* ============================================================
   Casiolo — Social Gaming Platform
   Style: Neo-Vintage / Art Deco
   ============================================================ */

:root {
  /* Brand palette */
  --molten-lava: #780000;
  --brick-red: #c1121f;
  --papaya-whip: #fdf0d5;
  --deep-space-blue: #003049;
  --steel-blue: #669bbc;

  /* Semantic tokens */
  --color-primary: var(--brick-red);
  --color-accent: var(--steel-blue);
  --color-bg: var(--papaya-whip);
  --color-surface: #fffaf0;
  --color-surface-alt: #f6e6c8;
  --color-text: var(--deep-space-blue);
  --color-text-muted: #5a6b78;
  --color-dark: var(--deep-space-blue);
  --color-gold: #b8860b;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 2px 6px rgba(0, 48, 73, 0.12);
  --shadow-md: 0 8px 24px rgba(0, 48, 73, 0.18);
  --shadow-lg: 0 20px 60px rgba(0, 48, 73, 0.28);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.32s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 72px;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Josefin Sans", "Segoe UI", sans-serif;
}

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

html, body { overflow-x: clip; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: 0.5px;
}

p { margin: 0 0 1em; }

ul { margin: 0 0 1em; padding-left: 1.2em; }

/* ---------- Layout ---------- */
.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  position: relative;
}

.section--alt { background: var(--color-surface-alt); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brick-red);
  margin-bottom: 0.8rem;
  display: inline-block;
}

.deco-line {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--molten-lava), var(--brick-red));
  margin: 0.5rem 0 1.5rem;
}

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .deco-line { margin-inline: auto; }

h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

.muted { color: var(--color-text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.9rem 1.8rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--color-dark);
  color: var(--papaya-whip);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}
.btn-outline:hover { background: var(--color-dark); color: var(--papaya-whip); }

.btn-play {
  background: linear-gradient(135deg, var(--molten-lava), var(--brick-red));
  color: var(--papaya-whip);
  position: relative;
  animation: pulse-glow 2.6s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193, 18, 31, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(193, 18, 31, 0); }
}
.btn-play:hover { transform: translateY(-2px); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--brick-red);
  color: var(--brick-red);
  background: rgba(193, 18, 31, 0.06);
}
.badge--solid { background: var(--brick-red); color: var(--papaya-whip); border-color: var(--brick-red); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  height: var(--header-h);
  background: var(--deep-space-blue);
  color: var(--papaya-whip);
  border-bottom: 3px solid var(--brick-red);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: var(--papaya-whip);
}
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 2px solid var(--brick-red);
  color: var(--steel-blue);
}
.brand span { color: var(--brick-red); }

.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  position: relative;
  padding: 0.3rem 0;
  transition: var(--transition-fast);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--brick-red);
  transition: var(--transition-fast);
}
.main-nav a:hover { color: var(--steel-blue); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--papaya-whip);
  cursor: pointer;
  padding: 0.4rem;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--deep-space-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--papaya-whip);
  letter-spacing: 2px;
}
.mobile-nav a:hover { color: var(--brick-red); }
.mobile-nav .close-mnav {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  color: var(--papaya-whip);
  cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(102, 155, 188, 0.18), transparent 55%),
    linear-gradient(160deg, var(--deep-space-blue) 0%, #012235 55%, var(--molten-lava) 160%);
  color: var(--papaya-whip);
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(253,240,213,0.04) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1.02;
  margin-bottom: 1rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--steel-blue);
}
.hero .sub {
  font-size: 1.12rem;
  color: rgba(253, 240, 213, 0.82);
  max-width: 44ch;
  margin-bottom: 1.8rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-tags .badge { border-color: var(--steel-blue); color: var(--steel-blue); }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-art svg { width: 100%; max-width: 380px; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)); }

.hero-frame {
  border: 2px solid var(--steel-blue);
  padding: 1.5rem;
  position: relative;
}
.hero-frame::before, .hero-frame::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 2px solid var(--brick-red);
}
.hero-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.hero-frame::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-copy p { font-size: 1.05rem; }

.faq { margin-top: 1rem; }
.faq-item {
  border-top: 1px solid rgba(0, 48, 73, 0.15);
}
.faq-item:last-child { border-bottom: 1px solid rgba(0, 48, 73, 0.15); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q .icon { transition: var(--transition-fast); color: var(--brick-red); flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}
.faq-a p { padding-bottom: 1rem; color: var(--color-text-muted); }

.about-panel {
  background: var(--deep-space-blue);
  color: var(--papaya-whip);
  padding: 2rem;
  border-left: 4px solid var(--brick-red);
}
.about-panel h3 { color: var(--steel-blue); }
.about-panel ul { list-style: none; padding: 0; }
.about-panel li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(253,240,213,0.12);
  display: flex; gap: 0.7rem; align-items: center;
}
.about-panel li svg { color: var(--brick-red); flex-shrink: 0; }

/* ============================================================
   GAMES
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.game-card {
  background: var(--color-surface);
  border: 1px solid rgba(0,48,73,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}
.game-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--molten-lava), var(--brick-red), var(--steel-blue));
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.game-card-art {
  height: 190px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--deep-space-blue), #012a40);
  padding: 1.2rem;
}
.game-card-art svg { width: 120px; height: 120px; }
.game-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.game-card .cat {
  font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brick-red); font-weight: 700; margin-bottom: 0.4rem;
}
.game-card h3 { margin-bottom: 0.6rem; }
.game-card p { font-size: 0.95rem; color: var(--color-text-muted); flex: 1; }

/* Per-game description blocks */
.game-desc {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.8rem;
  background: var(--color-surface);
  border: 1px solid rgba(0,48,73,0.1);
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
}
.game-desc .gd-icon {
  width: 84px; height: 84px;
  display: grid; place-items: center;
  background: var(--deep-space-blue);
  border-radius: var(--radius-md);
}
.game-desc .gd-icon svg { width: 52px; height: 52px; }
.game-desc h3 { margin-bottom: 0.4rem; }
.game-desc p { margin: 0; color: var(--color-text-muted); font-size: 0.98rem; }

/* ============================================================
   GAME MODAL
   ============================================================ */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.game-modal.open { display: flex; }
.game-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 32, 0.82);
  backdrop-filter: blur(4px);
}
.game-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--color-bg);
  border: 3px solid var(--brick-red);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.game-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: var(--deep-space-blue);
  color: var(--papaya-whip);
  border-bottom: 2px solid var(--brick-red);
  position: sticky; top: 0; z-index: 2;
}
.game-modal-header h3 { margin: 0; color: var(--papaya-whip); font-size: 1.4rem; }
.game-modal-header .cat { font-size: 0.66rem; letter-spacing: 2px; color: var(--steel-blue); text-transform: uppercase; }
.modal-close {
  background: none;
  border: 2px solid rgba(253,240,213,0.4);
  color: var(--papaya-whip);
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: grid; place-items: center;
  transition: var(--transition-fast);
}
.modal-close:hover { background: var(--brick-red); border-color: var(--brick-red); }

.game-body { padding: 1.5rem; }

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}
.stat {
  text-align: center;
  background: var(--color-surface);
  border: 1px solid rgba(0,48,73,0.12);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.3rem;
}
.stat .label { font-size: 0.6rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-text-muted); }
.stat .value { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--color-text); }
.stat.coins .value { color: var(--brick-red); }

/* Game arena shared */
.arena {
  background: var(--deep-space-blue);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--papaya-whip);
  text-align: center;
}
.game-controls { display: flex; flex-direction: column; gap: 0.8rem; }
.bet-row {
  display: flex; align-items: center; gap: 0.8rem;
  justify-content: space-between;
  background: var(--color-surface);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,48,73,0.12);
}
.bet-row label { font-size: 0.66rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-text-muted); font-weight: 600; }
.bet-controls { display: flex; align-items: center; gap: 0.5rem; }
.bet-controls button {
  width: 34px; height: 34px;
  border: 1px solid var(--deep-space-blue);
  background: var(--color-bg);
  color: var(--deep-space-blue);
  font-size: 1.2rem; font-weight: 700;
  cursor: pointer; border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.bet-controls button:hover { background: var(--deep-space-blue); color: var(--papaya-whip); }
.bet-controls .bet-amount {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  min-width: 60px; text-align: center; color: var(--brick-red);
}

.result-msg {
  min-height: 1.6rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  transition: var(--transition-fast);
}
.result-msg.win { color: #2e7d32; }
.result-msg.lose { color: var(--brick-red); }
.result-msg.push { color: var(--color-accent); }

.refill-note { text-align: center; font-size: 0.82rem; color: var(--color-text-muted); margin-top: 0.6rem; }

/* --- Slots --- */
.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  max-width: 320px;
  margin: 0 auto 0.5rem;
}
.reel {
  background: var(--papaya-whip);
  border: 3px solid var(--brick-red);
  border-radius: var(--radius-sm);
  height: 90px;
  display: grid; place-items: center;
  font-size: 3rem;
  overflow: hidden;
}
.reel.spinning { animation: reel-shake 0.12s linear infinite; }
@keyframes reel-shake { 0%,100%{transform:translateY(-3px);} 50%{transform:translateY(3px);} }
.reel .sym { transition: transform var(--transition-fast); }

/* --- Roulette --- */
.wheel-wrap { position: relative; width: 220px; height: 220px; margin: 0 auto 0.8rem; }
.wheel {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 6px solid var(--color-gold);
  transition: transform 4s cubic-bezier(0.15, 0.75, 0.15, 1);
  position: relative;
}
.wheel-pointer {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 20px solid var(--papaya-whip);
  z-index: 3;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
}
.wheel-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 46px; height: 46px;
  background: var(--deep-space-blue);
  border: 3px solid var(--color-gold);
  border-radius: 50%;
  z-index: 2;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
}
.roulette-pick { margin-top: 0.5rem; }
.pick-label { font-size: 0.66rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-text-muted); font-weight: 600; margin-bottom: 0.5rem; text-align: center; }
.pick-options { display: flex; gap: 0.5rem; justify-content: center; }
.pick-btn {
  flex: 1;
  padding: 0.7rem 0.5rem;
  border: 2px solid var(--deep-space-blue);
  background: var(--color-surface);
  color: var(--deep-space-blue);
  cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 1px; text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.pick-btn.red { border-color: var(--brick-red); color: var(--brick-red); }
.pick-btn.black { border-color: var(--deep-space-blue); }
.pick-btn.green { border-color: #2e7d32; color: #2e7d32; }
.pick-btn.active { color: var(--papaya-whip); }
.pick-btn.red.active { background: var(--brick-red); }
.pick-btn.black.active { background: var(--deep-space-blue); }
.pick-btn.green.active { background: #2e7d32; }

/* --- Blackjack --- */
.bj-table { display: flex; flex-direction: column; gap: 1rem; }
.bj-hand { }
.bj-hand .hand-label { font-size: 0.66rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--steel-blue); font-weight: 600; margin-bottom: 0.4rem; }
.bj-cards { display: flex; gap: 0.5rem; flex-wrap: wrap; min-height: 84px; justify-content: center; }
.pcard {
  width: 58px; height: 82px;
  background: var(--papaya-whip);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.15);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 4px 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--deep-space-blue);
  box-shadow: var(--shadow-sm);
  animation: card-deal 0.3s ease;
}
@keyframes card-deal { from { opacity: 0; transform: translateY(-14px) rotate(-6deg); } to { opacity: 1; transform: none; } }
.pcard.red { color: var(--brick-red); }
.pcard .rank-top { text-align: left; }
.pcard .suit-mid { text-align: center; font-size: 1.5rem; }
.pcard .rank-bot { text-align: right; transform: rotate(180deg); }
.pcard.back {
  background: repeating-linear-gradient(45deg, var(--deep-space-blue) 0 6px, #01324a 6px 12px);
  color: transparent;
}
.hand-total { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-top: 0.3rem; }
.btn-group { display: flex; gap: 0.6rem; }
.btn-group .btn { flex: 1; }

/* ============================================================
   CONTACTS
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info .info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.4rem;
}
.contact-info .info-item svg { color: var(--brick-red); flex-shrink: 0; margin-top: 4px; }
.contact-info a { color: var(--brick-red); font-weight: 600; }

.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 0.4rem; }
.form-row label { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; color: var(--color-text-muted); }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0,48,73,0.25);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  transition: var(--transition-fast);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--brick-red);
  box-shadow: 0 0 0 3px rgba(193,18,31,0.12);
}
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.86rem; color: var(--color-text-muted); }
.consent input { margin-top: 4px; }
.form-status { min-height: 1.4rem; font-weight: 600; font-size: 0.92rem; }
.form-status.success { color: #2e7d32; }
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(253,240,213,0.4);
  border-top-color: var(--papaya-whip);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   DISCLAIMER + FOOTER
   ============================================================ */
.disclaimer-bar {
  background: var(--molten-lava);
  color: var(--papaya-whip);
  padding: 1.4rem 0;
  font-size: 0.86rem;
}
.disclaimer-bar .container { display: flex; gap: 1rem; align-items: flex-start; }
.disclaimer-bar svg { flex-shrink: 0; margin-top: 2px; }

.site-footer {
  background: var(--deep-space-blue);
  color: rgba(253,240,213,0.85);
  padding: 3rem 0 1.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(253,240,213,0.15);
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; max-width: 40ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--steel-blue); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { font-size: 0.9rem; transition: var(--transition-fast); }
.footer-col a:hover { color: var(--brick-red); }
.support-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.support-links a {
  font-size: 0.72rem; letter-spacing: 1px;
  border: 1px solid rgba(253,240,213,0.3);
  padding: 0.3rem 0.6rem; border-radius: var(--radius-sm);
}
.support-links a:hover { border-color: var(--brick-red); color: var(--papaya-whip); }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: 0.82rem;
}
.footer-bottom .badges { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }

/* ============================================================
   AGE GATE + COOKIE BANNER
   ============================================================ */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--deep-space-blue);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.age-gate.show { display: flex; }
.age-gate-inner {
  max-width: 460px;
  text-align: center;
  color: var(--papaya-whip);
  border: 3px solid var(--brick-red);
  padding: 2.5rem 2rem;
  background: #012032;
}
.age-gate-inner .age-badge {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  color: var(--brick-red);
  border: 4px solid var(--brick-red);
  width: 100px; height: 100px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 1.2rem;
}
.age-gate-inner h2 { color: var(--papaya-whip); }
.age-gate-inner p { color: rgba(253,240,213,0.8); font-size: 0.95rem; }
.age-gate-btns { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; }

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 120;
  background: var(--deep-space-blue);
  color: var(--papaya-whip);
  border-top: 3px solid var(--brick-red);
  padding: 1.2rem 0;
  transform: translateY(110%);
  transition: transform var(--transition-normal);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  display: flex; align-items: center; gap: 1.5rem;
  justify-content: space-between; flex-wrap: wrap;
}
.cookie-inner p { margin: 0; font-size: 0.88rem; max-width: 70ch; }
.cookie-inner a { color: var(--steel-blue); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.8rem; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero {
  background: var(--deep-space-blue);
  color: var(--papaya-whip);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  border-bottom: 3px solid var(--brick-red);
}
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--papaya-whip); }
.legal-hero .breadcrumb { font-size: 0.8rem; letter-spacing: 1px; color: var(--steel-blue); margin-bottom: 0.8rem; }
.legal-hero .breadcrumb a { color: var(--steel-blue); }
.legal-hero .breadcrumb a:hover { color: var(--papaya-whip); }
.legal-content { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.legal-content .container { max-width: 820px; }
.legal-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.5rem; color: var(--molten-lava); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.legal-content p, .legal-content li { color: var(--color-text); font-size: 1.02rem; }
.legal-content .updated { color: var(--color-text-muted); font-size: 0.9rem; font-style: italic; margin-bottom: 2rem; }
.legal-content a { color: var(--brick-red); text-decoration: underline; }

/* AOS fallback: if the AOS library fails to load, reveal content */
.no-aos [data-aos] { opacity: 1 !important; transform: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { margin-inline: auto; }
  .hero-ctas, .hero-tags { justify-content: center; }
  .hero-art { order: -1; margin-bottom: 1rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .games-grid { grid-template-columns: 1fr; }
  .game-desc { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
  .game-desc .gd-icon { margin: 0 auto; }
  .game-modal { padding: 0; }
  .game-modal-panel {
    width: 100%; height: 100%; max-height: 100%;
    border: none; border-radius: 0;
  }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
