/* ── JACKPOT JOY HUB — Jewel & Gem Luxury ──────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --em-900: #050f09;
  --em-800: #072a1e;
  --em-700: #0b3d2e;
  --em-600: #0f5240;
  --em-500: #1a6e55;
  --ruby:   #e8175d;
  --ruby-h: #ff2d72;
  --gold:   #c9a84c;
  --gold-l: #e8c96a;
  --white:  #f8f4f0;
  --muted:  #9dbfb0;
  --card-bg:#0c2d1f;

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Lato', system-ui, sans-serif;

  --radius-sm: 2px;
  --radius-md: 4px;
  --cut: 20px;               /* gem-cut corner offset */

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--em-700);
  color: var(--white);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Gem-facet background ───────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104'%3E%3Cpolygon points='60,2 118,32 118,72 60,102 2,72 2,32' fill='none' stroke='%23ffffff' stroke-width='0.4' opacity='0.06'/%3E%3Cline x1='60' y1='2' x2='60' y2='102' stroke='%23ffffff' stroke-width='0.3' opacity='0.04'/%3E%3Cline x1='2' y1='32' x2='118' y2='72' stroke='%23ffffff' stroke-width='0.3' opacity='0.04'/%3E%3Cline x1='118' y1='32' x2='2' y2='72' stroke='%23ffffff' stroke-width='0.3' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 120px 104px;
  pointer-events: none;
}
body > * { position: relative; z-index: 1; }

/* ── Skip link ──────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 9999;
  background: var(--ruby); color: var(--white); padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── Navigation ─────────────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: linear-gradient(to bottom, rgba(5,15,9,0.95) 0%, rgba(5,15,9,0) 100%);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: background var(--transition);
}
.site-nav.scrolled {
  background: rgba(5,15,9,0.97);
  border-bottom-color: rgba(201,168,76,0.3);
}
.nav-brand {
  font-family: var(--ff-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white);
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-brand .gem-icon {
  width: 22px; height: 22px;
  fill: var(--ruby);
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-age-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(232,23,93,0.2);
  color: var(--ruby);
  border: 1px solid rgba(232,23,93,0.35);
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.08em;
}
.nav-cta {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ruby);
  color: var(--white);
  padding: 8px 22px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: background var(--transition), clip-path var(--transition);
}
.nav-cta:hover { background: var(--ruby-h); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--em-900); padding: 1.5rem 2rem; gap: 1.2rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 2rem 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(26,110,85,0.35) 0%, transparent 65%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.12) 0%, transparent 50%),
    linear-gradient(to bottom, var(--em-900) 0%, var(--em-700) 50%, var(--em-800) 100%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,23,93,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 760px;
}
.hero-eyebrow {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-eyebrow::after { transform: scaleX(-1); }
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.3em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-l);
}
.hero-rule {
  width: 80px; height: 3px;
  background: var(--ruby);
  margin: 1.2rem auto;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 3px, 100% 100%, 0 100%);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ruby);
  padding: 14px 36px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.5s;
}
.btn-primary:hover { background: var(--ruby-h); transform: translateY(-1px); }
.btn-primary:hover::before { left: 160%; }
.btn-secondary {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(157,191,176,0.3);
  padding: 13px 28px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: color var(--transition), border-color var(--transition);
}
.btn-secondary:hover { color: var(--white); border-color: var(--gold); }
.hero-coin-badge {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 2.5rem;
  font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em;
}
.hero-coin-badge .coin-circle {
  width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-l), var(--gold));
  box-shadow: 0 0 12px rgba(201,168,76,0.4);
}

/* ── Gem Divider ────────────────────────────────────────────────────── */
.gem-divider {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  padding: 2rem 0;
}
.gem-divider svg { flex-shrink: 0; }
.gem-divider .rule {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25), transparent);
  max-width: 200px;
}

/* ── Section wrapper ─────────────────────────────────────────────────── */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 0.4em;
}
.section-title em { font-style: italic; color: var(--gold-l); }
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 3rem;
}

/* ── Game cards (lobby) ──────────────────────────────────────────────── */
.lobby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.lobby-grid .game-card:first-child {
  grid-column: span 2;
}
@media (max-width: 900px) {
  .lobby-grid { grid-template-columns: repeat(2, 1fr); }
  .lobby-grid .game-card:first-child { grid-column: span 1; }
}
@media (max-width: 560px) {
  .lobby-grid { grid-template-columns: 1fr; }
}

.game-card {
  position: relative;
  background: var(--card-bg);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: card-enter 0.5s ease both;
}
.game-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.game-card:nth-child(1) { animation-delay: 0.05s; }
.game-card:nth-child(2) { animation-delay: 0.1s; }
.game-card:nth-child(3) { animation-delay: 0.15s; }
.game-card:nth-child(4) { animation-delay: 0.2s; }
.game-card:nth-child(5) { animation-delay: 0.25s; }
.game-card:nth-child(6) { animation-delay: 0.3s; }
.game-card:nth-child(7) { animation-delay: 0.35s; }
.game-card:nth-child(8) { animation-delay: 0.4s; }
.game-card:nth-child(9) { animation-delay: 0.45s; }

@keyframes card-enter {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.game-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(232,23,93,0.04) 100%);
  transition: opacity var(--transition);
  pointer-events: none;
}
.game-card::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.6s;
  pointer-events: none;
}
.game-card:hover::after { left: 160%; }
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.2);
}

.game-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--em-800);
}
.game-card:first-child .game-card-img {
  aspect-ratio: 2 / 1;
}

.game-card-body {
  padding: 1rem 1.2rem 1.4rem;
  border-left: 2px solid var(--ruby);
}
.game-card-provider {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.game-card-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.btn-play {
  display: inline-flex;
  align-items: center; gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ruby);
  transition: color var(--transition), gap var(--transition);
}
.btn-play svg { width: 14px; height: 14px; fill: currentColor; transition: transform var(--transition); }
.btn-play:hover { color: var(--ruby-h); gap: 0.6rem; }
.btn-play:hover svg { transform: translateX(2px); }

/* ── About / Pillars ────────────────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.pillar {
  background: linear-gradient(135deg, var(--em-800), var(--card-bg));
  padding: 2rem 1.6rem;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: transform var(--transition);
}
.pillar:hover { transform: translateY(-3px); }
.pillar-icon {
  width: 44px; height: 44px;
  background: rgba(232,23,93,0.1);
  border: 1px solid rgba(232,23,93,0.25);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.pillar-icon svg { width: 22px; height: 22px; fill: var(--ruby); }
.pillar-title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.pillar-text { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ── Trust / RG strip ───────────────────────────────────────────────── */
.trust-strip {
  background: var(--em-900);
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(201,168,76,0.12);
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.trust-strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem;
  justify-content: space-between;
}
.trust-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
}
.trust-logos {
  display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap;
}
.trust-logo-link {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.92);
  padding: 5px 10px;
  border-radius: 6px;
  transition: background var(--transition);
}
.trust-logo-link:hover { background: #fff; }
.trust-logo-link img,
.trust-logo-link svg { height: 28px; width: auto; }
.trust-helpline {
  font-size: 0.8rem; color: var(--muted);
  display: flex; align-items: center; gap: 0.4rem;
}
.trust-helpline strong { color: var(--white); }
.helpline-chip {
  background: rgba(232,23,93,0.12);
  border: 1px solid rgba(232,23,93,0.3);
  color: var(--ruby);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--em-900);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.footer-top {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.5rem;
}
.footer-brand {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer-tagline { font-size: 0.82rem; color: var(--muted); }
.footer-links {
  display: flex; gap: 2rem; flex-wrap: wrap; align-items: flex-start;
}
.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-legal {
  font-size: 0.75rem; color: rgba(157,191,176,0.5); line-height: 1.6;
  max-width: 620px;
}
.footer-age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(232,23,93,0.4);
  color: var(--ruby);
  font-size: 0.75rem; font-weight: 700;
  flex-shrink: 0;
}

/* ── Age Gate Overlay ───────────────────────────────────────────────── */
#age-gate {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(5,15,9,0.97);
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
  opacity: 1; transition: opacity 0.4s;
}
html.age-gate-needed #age-gate { display: flex; }
#age-gate.hidden { opacity: 0; pointer-events: none; }
.age-gate-box {
  background: var(--card-bg);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  max-width: 480px; width: 100%;
  padding: 3rem 2.5rem;
  text-align: center;
  border-left: 3px solid var(--ruby);
  animation: slide-up 0.4s ease;
}
@keyframes slide-up {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.age-gate-gem {
  width: 60px; height: 60px; margin: 0 auto 1.5rem;
  background: radial-gradient(circle at 35% 30%, rgba(232,23,93,0.25), rgba(232,23,93,0.05));
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  display: flex; align-items: center; justify-content: center;
}
.age-gate-gem svg { width: 28px; height: 28px; fill: var(--ruby); }
.age-gate-title {
  font-family: var(--ff-display);
  font-size: 2rem; font-weight: 300;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.age-gate-sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.6; }
.btn-age-confirm {
  width: 100%;
  background: var(--ruby);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background var(--transition);
  margin-bottom: 1rem;
}
.btn-age-confirm:hover { background: var(--ruby-h); }
.age-gate-note {
  font-size: 0.72rem; color: rgba(157,191,176,0.5); line-height: 1.55;
}
.age-gate-note a { color: var(--muted); text-decoration: underline; }

/* ── Cookie Banner ──────────────────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; z-index: 1800;
  background: var(--card-bg);
  border: 1px solid rgba(201,168,76,0.2);
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.5rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between;
  max-width: 860px; margin-left: auto; margin-right: auto;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  animation: slide-up 0.35s ease;
}
#cookie-banner.hidden { display: none; }
.cookie-text { font-size: 0.82rem; color: var(--muted); flex: 1; min-width: 200px; }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; }
.btn-cookie-accept {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--ruby); color: var(--white); padding: 8px 18px;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
  transition: background var(--transition);
}
.btn-cookie-accept:hover { background: var(--ruby-h); }
.btn-cookie-reject {
  font-size: 0.78rem; color: var(--muted); padding: 8px 12px;
  border: 1px solid rgba(157,191,176,0.2);
  transition: color var(--transition);
}
.btn-cookie-reject:hover { color: var(--white); }

/* ── Signup Modal ───────────────────────────────────────────────────── */
#signup-modal {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(5,15,9,0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  opacity: 1; transition: opacity 0.3s;
}
#signup-modal.hidden { opacity: 0; pointer-events: none; }
.modal-box {
  background: var(--card-bg);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  max-width: 460px; width: 100%;
  padding: 2.5rem 2rem;
  border-left: 3px solid var(--ruby);
  position: relative;
  animation: slide-up 0.3s ease;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1.2rem;
  border: 1px solid rgba(157,191,176,0.2);
  transition: color var(--transition), border-color var(--transition);
  background: none;
}
.modal-close:hover { color: var(--white); border-color: rgba(157,191,176,0.5); }
.modal-title {
  font-family: var(--ff-display);
  font-size: 1.8rem; font-weight: 300;
  color: var(--white); margin-bottom: 0.3rem;
}
.modal-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.8rem; }
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(157,191,176,0.18);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: rgba(201,168,76,0.5);
  background: rgba(255,255,255,0.06);
}
.form-input::placeholder { color: rgba(157,191,176,0.4); }
.form-check {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.78rem; color: var(--muted); line-height: 1.5;
  margin-bottom: 0.75rem;
}
.form-check input[type="checkbox"] { flex-shrink: 0; margin-top: 2px; accent-color: var(--ruby); }
.form-check a { color: var(--gold); text-decoration: underline; }
.form-error {
  display: none;
  font-size: 0.72rem; color: var(--ruby);
  margin-top: 0.25rem;
}
.btn-modal-submit {
  width: 100%;
  background: var(--ruby); color: var(--white);
  font-family: var(--ff-body); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 14px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background var(--transition);
  margin-top: 0.5rem;
  position: relative; overflow: hidden;
}
.btn-modal-submit::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.5s;
}
.btn-modal-submit:hover { background: var(--ruby-h); }
.btn-modal-submit:hover::before { left: 160%; }
.modal-free-badge {
  text-align: center; margin-top: 1rem;
  font-size: 0.72rem; color: rgba(157,191,176,0.5);
}
.modal-free-badge strong { color: var(--gold); }

/* ── Coin balance chip (game pages) ─────────────────────────────────── */
.coin-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 4px 12px 4px 8px;
  border-radius: 20px;
  font-size: 0.8rem; font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.coin-chip .coin-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-l), var(--gold));
  flex-shrink: 0;
}

/* ── Game page layout ───────────────────────────────────────────────── */
.game-page-header {
  background: var(--em-900);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  margin-top: 64px;
}
.game-page-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.game-page-back svg { width: 14px; height: 14px; fill: currentColor; }
.game-page-back:hover { color: var(--gold); }
.game-page-title {
  font-family: var(--ff-display);
  font-size: 1.3rem; font-weight: 400;
  color: var(--white);
}
.game-frame-wrap {
  width: 100%;
  max-height: calc(100vh - 180px);
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  position: relative;
}
.game-frame-wrap iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}
.game-lock-overlay {
  position: absolute; inset: 0;
  background: rgba(5,15,9,0.9);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 10; text-align: center; padding: 2rem;
}
.game-lock-overlay.hidden { display: none; }
.game-lock-overlay p { color: var(--muted); margin-bottom: 1.5rem; }
.game-info-strip {
  background: var(--em-800);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 1.2rem 2rem;
}
.game-info-strip p { font-size: 0.85rem; color: var(--muted); max-width: 700px; }
.game-info-strip strong { color: var(--white); }

/* ── Compliance page content ─────────────────────────────────────────── */
.compliance-wrap {
  max-width: 800px; margin: 0 auto;
  padding: 7rem 2rem 4rem;
}
.compliance-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 300;
  color: var(--white); margin-bottom: 0.4em;
}
.compliance-subtitle {
  font-size: 0.82rem; color: var(--muted); margin-bottom: 2.5rem;
}
.compliance-wrap h2 {
  font-family: var(--ff-display);
  font-size: 1.4rem; font-weight: 400;
  color: var(--white); margin: 2.5rem 0 0.8rem;
  border-left: 2px solid var(--ruby); padding-left: 0.75rem;
}
.compliance-wrap h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem; font-weight: 400;
  color: var(--gold-l); margin: 1.5rem 0 0.5rem;
}
.compliance-wrap p {
  font-size: 0.9rem; color: var(--muted); line-height: 1.75;
  margin-bottom: 0.9rem;
}
.compliance-wrap ul, .compliance-wrap ol {
  padding-left: 1.4rem; margin-bottom: 0.9rem;
}
.compliance-wrap li {
  font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 0.35rem;
}
.compliance-wrap a { color: var(--gold); text-decoration: underline; }
.compliance-note {
  background: rgba(232,23,93,0.07);
  border-left: 3px solid rgba(232,23,93,0.4);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  font-size: 0.82rem; color: var(--muted); line-height: 1.6;
}
.rg-self-check { list-style: disc; padding-left: 1.5rem; }
.rg-partner-card {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--card-bg);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  border-left: 2px solid var(--gold);
}
.rg-partner-card .partner-info h4 {
  font-family: var(--ff-display); font-size: 1.1rem; font-weight: 400;
  color: var(--white); margin-bottom: 0.2rem;
}
.rg-partner-card .partner-info p { font-size: 0.82rem; color: var(--muted); margin: 0; }
.rg-partner-card a { color: var(--gold); }
.helpline-block {
  background: rgba(232,23,93,0.08);
  border: 1px solid rgba(232,23,93,0.25);
  padding: 1.5rem;
  margin: 2rem 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  text-align: center;
}
.helpline-block .hl-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.5rem;
}
.helpline-block .hl-number {
  font-family: var(--ff-display); font-size: 2rem; font-weight: 300;
  color: var(--ruby); margin-bottom: 0.3rem;
}
.helpline-block .hl-note { font-size: 0.78rem; color: var(--muted); }

/* ── Contact page ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}
@media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-wrap .form-group { margin-bottom: 1.2rem; }
textarea.form-input { resize: vertical; min-height: 120px; }
.contact-info-block {
  background: var(--card-bg);
  padding: 2rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  border-left: 2px solid var(--gold);
}
.contact-info-block h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem; font-weight: 400;
  color: var(--white); margin-bottom: 1.2rem;
}
.contact-info-block p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.contact-info-block address { font-style: normal; }
.contact-confirm {
  display: none;
  text-align: center; padding: 2rem;
  background: rgba(11,61,46,0.5);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  border-left: 2px solid var(--ruby);
}
.contact-confirm.show { display: block; }
.contact-confirm h3 { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 300; color: var(--white); margin-bottom: 0.5rem; }
.contact-confirm p { font-size: 0.85rem; color: var(--muted); }

/* ── Utility ─────────────────────────────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-ruby   { color: var(--ruby); }
.text-muted  { color: var(--muted); }
.font-display { font-family: var(--ff-display); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Print (hide decorative, show content) ────────────────────────── */
@media print {
  .site-nav, #age-gate, #cookie-banner, #signup-modal, .trust-strip, .site-footer { display: none; }
  .compliance-wrap { padding-top: 1rem; }
  body { background: #fff; color: #000; }
}
