:root {
  --bg-deep: #061018;
  --bg-surface: #0c1f2a;
  --bg-elevated: #122c3a;
  --bg-card: #163544;
  --gold: #d4a843;
  --gold-light: #f0d078;
  --teal: #2a9d8f;
  --teal-bright: #3ecfb8;
  --ice: #a8dadc;
  --text: #edf6f9;
  --text-soft: #94b8c4;
  --border: #1e4a5c;
  --danger: #e76f51;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 32px);
  --gutter-mobile: max(20px, env(safe-area-inset-left));
  --header-shell: 122px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }

#site-header {
  width: 100%;
  max-width: 100%;
  min-height: var(--header-shell);
  contain: layout style;
}

#site-footer {
  width: 100%;
  max-width: 100%;
}

.site-header,
.site-footer {
  width: 100%;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font-family: inherit;
  max-width: 100%;
}

a {
  color: var(--teal-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

a:hover { color: var(--gold-light); }

.logo-link,
.main-nav a,
.header-cta,
.btn-primary,
.btn-outline,
.btn-play,
.btn-age,
.btn-cookie,
.footer-badges a,
.footer-col a { text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  box-sizing: border-box;
}

.container--flush {
  padding-left: 0;
  padding-right: 0;
}

main {
  flex: 1;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

/* Top bar */
.top-bar {
  background: linear-gradient(90deg, #1a0f00 0%, #2d2410 50%, #1a0f00 100%);
  border-bottom: 1px solid rgba(212, 168, 67, 0.35);
  padding: 8px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}

.top-bar span { opacity: 0.85; margin: 0 4px; }

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 8px;
  max-width: var(--max);
  margin: 0 auto;
}

/* Header */
.site-header {
  background: rgba(6, 16, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-link img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 2px solid var(--gold);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.logo-text em {
  font-style: normal;
  color: var(--teal-bright);
}

.main-nav {
  display: flex;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 4px;
}

.main-nav a {
  color: var(--text-soft);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: var(--bg-elevated);
  border-color: var(--border);
}

.header-cta {
  display: inline-flex;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--gold) 0%, #b8862d 100%);
  color: #1a1200 !important;
  font-weight: 700;
  font-size: 13px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
}

.header-cta:hover { color: #1a1200 !important; opacity: 0.92; }

.nav-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
  line-height: 0;
  z-index: 210;
  position: relative;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.header-actions { display: none; }

body.nav-open { overflow: hidden; }

/* Hero split */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: clamp(36px, 8vw, 56px);
  padding-bottom: clamp(32px, 6vw, 48px);
  width: 100%;
  box-sizing: border-box;
}

.hero-split h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-split h1 strong {
  color: var(--gold);
  font-weight: 800;
}

.hero-lead {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--teal) 0%, #1d7a6e 100%);
  color: #fff !important;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 6px 24px rgba(42, 157, 143, 0.35);
  max-width: 100%;
  box-sizing: border-box;
}

.btn-primary:hover { color: #fff !important; opacity: 0.9; }

.btn-outline {
  display: inline-flex;
  padding: 13px 24px;
  border: 2px solid var(--gold);
  color: var(--gold-light) !important;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.btn-outline:hover { background: rgba(212, 168, 67, 0.1); color: var(--gold-light) !important; }

.hero-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: min(56vw, 300px);
}

.hero-main-img {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-float-cards {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: calc(100% - 24px);
}

.float-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.float-card::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-bright);
}

/* Stats ribbon */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-cell {
  background: var(--bg-surface);
  padding: 24px 20px;
  text-align: center;
  min-height: 88px;
}

.stat-cell strong {
  display: block;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat-cell span {
  font-size: 13px;
  color: var(--text-soft);
}

/* Bento grid */
.bento-section { padding: 56px 0; }

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  margin-bottom: 8px;
}

.section-head p { color: var(--text-soft); font-size: 15px; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.bento-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.bento-item.large { grid-column: span 2; grid-row: span 2; }
.bento-item.wide { grid-column: span 2; }

.bento-item img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  aspect-ratio: 16/10;
}

.bento-item.large img { aspect-ratio: 16/10; }

.bento-body {
  padding: 18px 20px;
}

.bento-body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--gold-light);
}

.bento-body p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Disclaimer strip */
.disclaimer-strip {
  background: linear-gradient(135deg, #1a2e10 0%, #0f2418 100%);
  border: 1px solid rgba(62, 207, 184, 0.4);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 40px 0;
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}

.disclaimer-strip h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-bright);
  margin-bottom: 10px;
}

.disclaimer-strip p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ice);
}

/* Game player band */
.game-band {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.game-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.game-tab {
  padding: 10px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-soft);
  font-size: clamp(12px, 3vw, 14px);
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
}

.game-tab:hover,
.game-tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.game-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
}

.game-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Games rail */
.games-rail-section { padding: 48px 0 56px; width: 100%; overflow: hidden; }

.games-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.games-rail::-webkit-scrollbar { height: 6px; }
.games-rail::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.rail-card {
  flex: 0 0 min(300px, 80vw);
  scroll-snap-align: start;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.rail-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.rail-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.rail-card-body { padding: 16px; }

.rail-card-body h3 { font-size: 1rem; margin-bottom: 4px; }

.rail-card-body p {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.btn-play {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 10px;
  background: var(--gold);
  color: #1a1200 !important;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 14px;
}

.btn-play:hover { color: #1a1200 !important; opacity: 0.9; }

/* Steps timeline */
.steps-section {
  padding: 48px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 44, 58, 0.5) 100%);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: #1a1200;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--gold-light);
}

.step-card p { font-size: 14px; color: var(--text-soft); }

/* FAQ */
.faq-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin: 48px 0;
}

.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-elevated);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: none;
  border: none;
  color: var(--text);
  font-size: clamp(14px, 3.5vw, 15px);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.faq-question::after {
  content: '+';
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after { content: '−'; }

.faq-answer {
  display: none;
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
}

.faq-item.open .faq-answer { display: block; }

/* Page layouts */
.page-hero {
  padding-top: clamp(32px, 8vw, 48px);
  padding-bottom: clamp(24px, 6vw, 32px);
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--border);
  width: 100%;
  box-sizing: border-box;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 6vw, 2.4rem);
  margin-bottom: 10px;
  line-height: 1.2;
  word-break: break-word;
}

.page-hero p {
  color: var(--text-soft);
  max-width: 640px;
  font-size: clamp(14px, 3.5vw, 16px);
  line-height: 1.6;
}

.page-content {
  padding-top: clamp(28px, 6vw, 40px);
  padding-bottom: clamp(40px, 8vw, 60px);
  width: 100%;
  box-sizing: border-box;
}

.legal-content h2 {
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  color: var(--gold-light);
  margin: 28px 0 12px;
  line-height: 1.35;
}

.legal-content p,
.legal-content li {
  color: var(--text-soft);
  font-size: clamp(14px, 3.5vw, 15px);
  margin-bottom: 12px;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: break-word;
}

.legal-content ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.page-content h2 {
  font-size: 1.25rem;
  color: var(--gold-light);
  margin: 28px 0 12px;
}

.page-content p,
.page-content li {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 12px;
}

.page-content ul { padding-left: 22px; margin-bottom: 16px; }

/* Games page masonry */
.games-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  width: 100%;
  min-width: 0;
}

.game-tile {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.game-tile.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.game-tile img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.game-tile-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-tile-body h3 { margin-bottom: 8px; }

.game-tile-body p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 16px;
  flex: 1;
}

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
  padding-top: clamp(28px, 6vw, 48px);
  padding-bottom: clamp(40px, 8vw, 60px);
  width: 100%;
  min-width: 0;
}

.about-visual {
  width: 100%;
  min-width: 0;
}

.about-visual img {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}

.about-content {
  min-width: 0;
  word-break: break-word;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.fact-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.fact-box strong {
  display: block;
  font-size: 12px;
  color: var(--teal-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.fact-box span { font-size: 14px; color: var(--text); }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  margin-top: 32px;
  width: 100%;
  min-width: 0;
}

.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(18px, 4vw, 24px);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.contact-card h3 {
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.contact-row {
  margin-bottom: 14px;
  font-size: 14px;
}

.contact-row strong {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 2px;
}

.contact-form { display: flex; flex-direction: column; gap: 14px; }

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  box-sizing: border-box;
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-success {
  display: none;
  padding: 12px;
  background: rgba(42, 157, 143, 0.2);
  border: 1px solid var(--teal);
  border-radius: var(--radius-sm);
  color: var(--teal-bright);
  font-size: 14px;
}

.form-success.show { display: block; }

/* FAQ two-col */
.faq-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
  width: 100%;
  min-width: 0;
}

.faq-two-col .faq-list {
  min-width: 0;
}

.resource-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
  width: 100%;
  min-width: 0;
}

.resource-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(16px, 4vw, 20px);
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.resource-card h3 {
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.resource-card p { font-size: 14px; color: var(--text-soft); }

/* Footer */
.site-footer {
  background: #040a10;
  border-top: 2px solid var(--gold);
  margin-top: auto;
}

.footer-disclaimer {
  background: rgba(212, 168, 67, 0.08);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

.footer-disclaimer p {
  font-size: clamp(12px, 3vw, 13px);
  line-height: 1.7;
  color: var(--ice);
  max-width: 900px;
  margin: 0 auto 6px;
  word-break: break-word;
  overflow-wrap: break-word;
  padding: 0 4px;
}

.footer-disclaimer strong { color: var(--gold); }

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 24px var(--gutter);
  border-bottom: 1px solid var(--border);
}

.age-badge-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--danger);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border-radius: 50%;
  border: 3px solid #fff;
}

.footer-badges a { text-decoration: none; }

.footer-badges img {
  height: 40px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-badges img:hover { opacity: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover { color: var(--teal-bright); }

.footer-col p {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 6px;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
}

/* Age gate – unique split card */
.age-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(42, 157, 143, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(212, 168, 67, 0.12) 0%, transparent 50%),
              rgba(4, 10, 16, 0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  overflow-y: auto;
}

.age-overlay.hidden { display: none; }

.age-gate-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  max-width: 520px;
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 168, 67, 0.2);
}

.age-gate-visual {
  background: linear-gradient(180deg, #1a3a4a 0%, #0a1f2a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
}

.age-gate-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: radial-gradient(circle, rgba(212, 168, 67, 0.2) 0%, transparent 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(212, 168, 67, 0.25);
  margin-bottom: 12px;
}

.age-gate-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.age-gate-plus {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--teal-bright);
  margin-top: -2px;
}

.age-gate-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.age-gate-content {
  padding: clamp(20px, 5vw, 28px);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.age-gate-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 8px;
}

.age-gate-content h2 {
  font-size: clamp(1.1rem, 4.5vw, 1.35rem);
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}

.age-gate-fi {
  color: var(--text-soft);
  font-size: clamp(13px, 3.5vw, 14px);
  margin-bottom: 8px;
  line-height: 1.55;
}

.age-gate-en {
  color: var(--ice);
  font-size: clamp(12px, 3.2vw, 13px);
  margin-bottom: 14px;
  line-height: 1.5;
  opacity: 0.9;
}

.age-gate-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.age-gate-badges span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 50px;
  background: rgba(42, 157, 143, 0.15);
  border: 1px solid rgba(62, 207, 184, 0.35);
  color: var(--teal-bright);
}

.btn-age-confirm {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--gold) 0%, #b8862d 100%);
  color: #1a1200;
  border: none;
  border-radius: 50px;
  font-weight: 800;
  font-size: clamp(13px, 3.5vw, 15px);
  cursor: pointer;
  margin-bottom: 10px;
  box-shadow: 0 6px 24px rgba(212, 168, 67, 0.35);
}

.btn-age-leave {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
  text-decoration: underline;
  padding: 6px;
}

.btn-age-leave:hover { color: var(--gold-light); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 500;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}

.cookie-banner.hidden { display: none; }

.cookie-banner p {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 700px;
}

.btn-cookie {
  padding: 10px 24px;
  background: var(--gold);
  color: #1a1200;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 992px) {
  :root {
    --gutter: clamp(20px, 5.5vw, 28px);
    --header-shell: 108px;
  }

  .hero-split { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: -1; }
  .hero-float-cards { position: static; flex-direction: row; flex-wrap: wrap; margin-top: 12px; max-width: 100%; }
  .stats-ribbon { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-item.large { grid-column: span 2; grid-row: span 1; }
  .bento-item.wide { grid-column: span 2; }
  .steps-row { grid-template-columns: 1fr; }
  .games-masonry { grid-template-columns: 1fr; }
  .game-tile.featured { grid-column: span 1; grid-row: span 1; }
  .about-split { grid-template-columns: 1fr; gap: 28px; }
  .contact-layout { grid-template-columns: 1fr; gap: 20px; }
  .faq-two-col { grid-template-columns: 1fr; gap: 16px; }
  .resource-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .site-header .header-inner.container {
    flex-wrap: wrap;
    align-items: center;
  }

  .site-header .logo-link {
    flex: 1;
    min-width: 0;
  }

  .site-header .header-end {
    margin-left: 0;
    flex-shrink: 0;
  }

  .main-nav {
    display: none;
    flex-basis: 100%;
    order: 3;
    width: calc(100% + var(--gutter) * 2);
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 12px 0 16px;
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0 var(--gutter);
  }

  .main-nav a {
    display: block;
    padding: 12px 14px;
  }

  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .logo-text { font-size: 1.05rem; }
  .faq-panel { padding: clamp(18px, 4vw, 32px); }
  .disclaimer-strip { padding: 18px 20px; margin: 28px 0; }
  .game-band { padding: 32px 0; }
  .game-iframe-wrap { aspect-ratio: 4 / 3; }
  .age-gate-card { grid-template-columns: 1fr; max-width: 400px; }
  .age-gate-visual {
    flex-direction: row;
    gap: 16px;
    padding: 20px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .age-gate-ring { width: 72px; height: 72px; margin-bottom: 0; }
  .age-gate-num { font-size: 1.6rem; }
}

@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-item.large,
  .bento-item.wide { grid-column: span 1; }
  .stats-ribbon { grid-template-columns: 1fr 1fr; }
  .stat-cell { padding: 18px 12px; }
  .stat-cell strong { font-size: 1.3rem; }
  .about-facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; text-align: center; }
  .game-tabs { flex-direction: column; }
  .game-tab { width: 100%; }
  .cookie-banner { flex-direction: column; text-align: center; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .cookie-banner p { font-size: 13px; }
  .btn-cookie { width: 100%; }
  .top-bar { font-size: 10px; padding: 6px 10px; }
  .logo-link img { width: 36px; height: 36px; }
  .rail-card { flex: 0 0 min(260px, 85vw); }
  .footer-badges { gap: 14px; padding: 20px var(--gutter); }
  .footer-badges img { height: 32px; }
  .age-badge-footer { width: 44px; height: 44px; font-size: 14px; }
  .page-content h2 { font-size: 1.1rem; }
}

@media (max-width: 380px) {
  .stats-ribbon { grid-template-columns: 1fr; }
  .float-card { font-size: 11px; padding: 8px 10px; }
}
