/* ============================================================
   GiroFeliz v3 — Full Redesign
   Concept: Editorial Luxury — Dark Emerald / Amber / Cream
   Fonts: Syne (display/UI) + Cormorant Garamond (headings)
   Layout: Asymmetric, magazine-grid, bold typography
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

:root {
  /* Color System */
  --ink:        #0a0c0e;
  --ink2:       #111418;
  --ink3:       #1a1f26;
  --ink4:       #242b35;
  --emerald:    #0d5c4a;
  --emerald-l:  #14806a;
  --emerald-xl: #1fa882;
  --amber:      #e8a020;
  --amber-l:    #f5c842;
  --amber-pale: rgba(232,160,32,0.08);
  --cream:      #f0ead8;
  --cream-m:    #c8bfa8;
  --cream-d:    #7a7060;
  --white:      #ffffff;

  --card-bg:    #141920;
  --card-br:    rgba(232,160,32,0.12);

  /* Typography */
  --ff-display: 'Syne', system-ui, sans-serif;
  --ff-serif:   'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --r-xs: 6px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-full: 999px;

  /* Shadows */
  --sh-card:   0 12px 40px rgba(0,0,0,0.5);
  --sh-glow-a: 0 0 40px rgba(232,160,32,0.15);
  --sh-glow-e: 0 0 40px rgba(20,128,106,0.2);

  --ease: cubic-bezier(0.4,0,0.2,1);
  --t:    0.28s;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-display);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--amber); text-decoration: none; transition: color var(--t) var(--ease); }
a:hover { color: var(--amber-l); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
address { font-style: normal; }
strong { font-weight: 700; }
button { font-family: var(--ff-display); }

/* ─── CONTAINER ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── AGE POPUP ─────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,7,9,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.5s ease;
}
.popup-box {
  background: var(--card-bg);
  border: 1px solid var(--card-br);
  border-radius: var(--r-xl);
  padding: 52px 44px;
  max-width: 500px;
  width: calc(100% - 40px);
  text-align: center;
  box-shadow: var(--sh-card), var(--sh-glow-a);
  animation: slideUp 0.45s ease;
  position: relative;
  overflow: hidden;
}
.popup-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-l), var(--amber), var(--emerald-l));
  background-size: 200%;
  animation: shimmer 3s linear infinite;
}
.popup-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}
.popup-brand {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--white);
}
.popup-brand span { color: var(--amber); }
.popup-box h1 {
  font-family: var(--ff-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}
.popup-box p { color: var(--cream-m); font-size: 0.95rem; margin-bottom: 14px; }
.popup-disclaimer {
  background: var(--amber-pale);
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-size: 0.84rem !important;
  color: var(--amber-l) !important;
  margin-bottom: 28px !important;
  line-height: 1.6;
}
.popup-actions { display: flex; flex-direction: column; gap: 12px; }
.btn-confirm, .btn-deny {
  width: 100%;
  padding: 15px 24px;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--t) var(--ease);
  letter-spacing: 0.3px;
}
.btn-confirm {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-xl));
  color: #fff;
  box-shadow: 0 4px 20px rgba(13,92,74,0.45);
}
.btn-confirm:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(13,92,74,0.6); color: #fff; }
.btn-deny {
  background: transparent;
  color: var(--cream-d);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-deny:hover { background: rgba(255,255,255,0.04); color: var(--cream-m); }

/* ─── COOKIE BANNER ─────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink3);
  border-top: 1px solid var(--card-br);
  padding: 16px 28px;
  z-index: 888;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  animation: slideUp 0.4s ease;
}
.cookie-content { display: flex; align-items: center; gap: 14px; flex: 1; }
.cookie-content i { color: var(--amber); font-size: 1.3rem; flex-shrink: 0; }
.cookie-content p { font-size: 0.88rem; color: var(--cream-m); }
.cookie-actions { display: flex; gap: 10px; }
.btn-cookie-accept, .btn-cookie-decline {
  padding: 9px 20px;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--t) var(--ease);
  font-family: var(--ff-display);
}
.btn-cookie-accept { background: var(--emerald); color: #fff; }
.btn-cookie-accept:hover { background: var(--emerald-xl); }
.btn-cookie-decline { background: transparent; color: var(--cream-d); border: 1px solid rgba(255,255,255,0.1); }
.btn-cookie-decline:hover { background: rgba(255,255,255,0.05); color: var(--cream-m); }

/* ─── HEADER ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  transition: all var(--t) var(--ease);
}
.site-header.scrolled {
  background: rgba(10,12,14,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-br);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 36px;
  gap: 28px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.nav-brand img { width: 36px; height: 36px; }
.nav-brand em { color: var(--amber); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  color: var(--cream-m);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: all var(--t) var(--ease);
  text-transform: uppercase;
}
.nav-link:hover, .nav-link.active { color: var(--amber); background: var(--amber-pale); }
.btn-header-cta {
  background: var(--amber);
  color: var(--ink);
  padding: 10px 24px;
  border-radius: var(--r-md);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-transform: uppercase;
  transition: all var(--t) var(--ease);
}
.btn-header-cta:hover { background: var(--amber-l); color: var(--ink); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,160,32,0.4); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--cream); border-radius: 2px;
  transition: all var(--t) var(--ease);
}

/* ─── HERO ──────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-left {
  background: var(--ink2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 60px 80px;
  position: relative;
  z-index: 2;
}
.hero-left::after {
  content: '';
  position: absolute;
  top: 0; right: -1px; bottom: 0;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--ink));
  z-index: 3;
  pointer-events: none;
}
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-right:hover img { transform: scale(1); }
.hero-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,12,14,0.8) 0%, rgba(13,92,74,0.25) 60%, rgba(232,160,32,0.08) 100%);
}

/* Hero content */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  border-left: 3px solid var(--amber);
  padding-left: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow i { font-size: 0.8rem; }
.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em {
  display: block;
  font-style: italic;
  color: var(--amber);
}
.hero-subtitle {
  font-size: 1rem;
  color: var(--cream-m);
  max-width: 420px;
  margin-bottom: 20px;
  line-height: 1.7;
}
.hero-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(13,92,74,0.15);
  border: 1px solid rgba(20,128,106,0.3);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 0.82rem;
  color: #6ecbb8;
  margin-bottom: 36px;
  max-width: 440px;
}
.hero-disclaimer i { flex-shrink: 0; margin-top: 2px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--amber);
  color: var(--ink);
  padding: 14px 30px;
  border-radius: var(--r-md);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all var(--t) var(--ease);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--amber-l); color: var(--ink); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(232,160,32,0.4); }
.btn-primary.btn-dark { background: var(--ink4); color: var(--cream); border: 1px solid rgba(255,255,255,0.1); }
.btn-primary.btn-dark:hover { background: var(--ink3); color: var(--amber); box-shadow: none; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--cream);
  padding: 14px 30px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(240,234,216,0.2);
  transition: all var(--t) var(--ease);
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); background: var(--amber-pale); }

/* Hero stats */
.hero-stats {
  position: absolute;
  bottom: 40px;
  left: 60px;
  display: flex;
  gap: 40px;
  z-index: 5;
}
.stat-item { text-align: left; }
.stat-num {
  font-family: var(--ff-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  display: block;
}
.stat-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cream-d); }

/* ─── DISCLAIMER STRIP ──────────────────────────────────── */
.disclaimer-strip {
  background: var(--ink3);
  border-top: 1px solid var(--card-br);
  border-bottom: 1px solid var(--card-br);
  padding: 14px 28px;
}
.strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--cream-d);
}
.strip-inner i { color: var(--amber); flex-shrink: 0; }
.strip-inner strong { color: var(--cream-m); }

/* ─── SECTION DEFAULTS ──────────────────────────────────── */
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--emerald-xl);
  margin-bottom: 16px;
}
.section-kicker::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--emerald-xl);
}
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--amber); }
.section-title strong { font-weight: 700; color: var(--emerald-xl); }
.section-desc { font-size: 0.97rem; color: var(--cream-d); max-width: 500px; line-height: 1.7; }

/* ─── FEATURES — BENTO GRID ─────────────────────────────── */
.features-section {
  padding: 100px 0;
  background: var(--ink2);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--card-br);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  transition: all var(--t) var(--ease);
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  border-color: rgba(232,160,32,0.28);
  box-shadow: var(--sh-card);
  transform: translateY(-4px);
}
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: radial-gradient(circle at 80% 20%, rgba(232,160,32,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.bento-1 { grid-column: span 5; }
.bento-2 { grid-column: span 4; }
.bento-3 { grid-column: span 3; }
.bento-4 { grid-column: span 3; }
.bento-5 { grid-column: span 9; }

.bento-card.accent {
  background: linear-gradient(135deg, var(--emerald) 0%, #0a3d30 100%);
  border-color: var(--emerald-l);
}
.bento-icon {
  width: 52px;
  height: 52px;
  background: rgba(232,160,32,0.1);
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--amber);
  margin-bottom: 20px;
}
.bento-card.accent .bento-icon { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: var(--amber-l); }
.bento-card h3 { font-family: var(--ff-serif); font-size: 1.25rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.bento-card p { font-size: 0.88rem; color: var(--cream-d); line-height: 1.7; }
.bento-card.accent p { color: rgba(240,234,216,0.7); }
.bento-big-num {
  font-family: var(--ff-serif);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
  opacity: 0.15;
  position: absolute;
  bottom: 16px;
  right: 24px;
}

/* ─── PHOTO STRIP ───────────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4px;
  height: 380px;
  overflow: hidden;
}
.photo-strip-img {
  overflow: hidden;
  position: relative;
}
.photo-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.photo-strip-img:hover img { transform: scale(1.06); }
.photo-strip-img:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.photo-strip-img:last-child { border-radius: 0 var(--r-lg) var(--r-lg) 0; }

/* ─── GAMES SECTION — ASYMMETRIC ────────────────────────── */
.games-section {
  padding: 100px 0;
  background: var(--ink);
}
.games-asymmetric {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.games-asymmetric.reverse { grid-template-columns: 1.6fr 1fr; }
.games-asymmetric.reverse .game-text-col { order: 2; }
.games-asymmetric.reverse .game-visual-col { order: 1; }

.game-text-col {}
.game-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.game-text-col h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
}
.game-text-col h2 em { font-style: italic; color: var(--amber); }
.game-text-col p { font-size: 0.95rem; color: var(--cream-d); margin-bottom: 24px; line-height: 1.8; }

.game-spec-list { margin-bottom: 32px; }
.game-spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
  color: var(--cream-m);
}
.game-spec-item:last-child { border-bottom: none; }
.game-spec-item i { color: var(--emerald-xl); width: 16px; }

/* Game visual */
.game-visual-col {
  position: relative;
}
.game-card-visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--sh-card), var(--sh-glow-e);
}
.game-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.game-card-visual:hover img { transform: scale(1.05); }
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,12,14,0.9) 0%, rgba(10,12,14,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.game-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
}
.game-card-title {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.game-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--cream-m);
}
.game-card-meta i { color: var(--amber); margin-right: 5px; }
.game-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 70px;
  height: 70px;
  background: rgba(232,160,32,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ink);
  opacity: 0;
  transition: all var(--t) var(--ease);
  border: none;
  cursor: pointer;
}
.game-card-visual:hover .game-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Game divider */
.game-divider {
  text-align: center;
  padding: 40px 0;
  position: relative;
}
.game-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--card-br);
}
.game-divider span {
  position: relative;
  background: var(--ink);
  padding: 0 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream-d);
}

/* ─── HOW IT WORKS — HORIZONTAL TIMELINE ────────────────── */
.how-section {
  padding: 100px 0;
  background: var(--ink2);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--amber), var(--emerald));
  opacity: 0.3;
}
.timeline-item {
  padding: 0 24px;
  position: relative;
  text-align: center;
}
.timeline-dot {
  width: 64px;
  height: 64px;
  background: var(--card-bg);
  border: 2px solid var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  position: relative;
  z-index: 2;
  transition: all var(--t) var(--ease);
  box-shadow: 0 0 0 6px rgba(232,160,32,0.06);
}
.timeline-item:hover .timeline-dot {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 0 0 10px rgba(232,160,32,0.1), var(--sh-glow-a);
}
.timeline-item h3 {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.timeline-item p { font-size: 0.87rem; color: var(--cream-d); line-height: 1.7; }

/* ─── CERTIFICATION SECTION ─────────────────────────────── */
.cert-section {
  padding: 80px 0;
  background: var(--ink);
  border-top: 1px solid var(--card-br);
  border-bottom: 1px solid var(--card-br);
}
.cert-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cert-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cert-badge-card {
  background: var(--card-bg);
  border: 1px solid var(--card-br);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: all var(--t) var(--ease);
}
.cert-badge-card:hover {
  border-color: rgba(232,160,32,0.3);
  transform: translateY(-4px);
  box-shadow: var(--sh-glow-a);
}
.cert-badge-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.cert-badge-icon.emerald { background: rgba(13,92,74,0.25); color: var(--emerald-xl); border: 1px solid rgba(20,128,106,0.3); }
.cert-badge-icon.amber { background: var(--amber-pale); color: var(--amber); border: 1px solid rgba(232,160,32,0.25); }
.cert-badge-card h4 { font-family: var(--ff-serif); font-size: 0.95rem; font-weight: 600; color: var(--white); }
.cert-badge-card p { font-size: 0.78rem; color: var(--cream-d); line-height: 1.5; }
.cert-badge-card .cert-status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
}
.cert-status.verified { background: rgba(20,128,106,0.2); color: var(--emerald-xl); border: 1px solid rgba(20,128,106,0.3); }
.cert-status.active { background: var(--amber-pale); color: var(--amber); border: 1px solid rgba(232,160,32,0.3); }

/* ─── REGULATORY ────────────────────────────────────────── */
.regulatory-section {
  padding: 100px 0;
  background: var(--ink2);
}
.regulatory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.reg-card {
  background: var(--card-bg);
  border: 1px solid var(--card-br);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all var(--t) var(--ease);
  position: relative;
  overflow: hidden;
}
.reg-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.reg-card:hover { border-color: rgba(232,160,32,0.25); transform: translateY(-4px); box-shadow: var(--sh-card); }
.reg-card:hover::before { transform: scaleX(1); }
.reg-icon { font-size: 1.8rem; color: var(--amber); margin-bottom: 16px; }
.reg-card h3 { font-family: var(--ff-serif); font-size: 1.15rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.reg-card p { font-size: 0.87rem; color: var(--cream-d); margin-bottom: 16px; line-height: 1.7; }
.reg-link {
  font-size: 0.82rem;
  color: var(--emerald-xl);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: color var(--t) var(--ease);
}
.reg-link:hover { color: var(--amber); }

.age-warning-box {
  background: rgba(232,160,32,0.05);
  border: 1px solid rgba(232,160,32,0.18);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.age-warning-box > i { color: var(--amber); font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.age-warning-box strong { color: var(--white); display: block; margin-bottom: 6px; font-size: 1rem; }
.age-warning-box p { font-size: 0.87rem; color: var(--cream-d); }
.age-warning-box a { color: var(--emerald-xl); }

/* ─── FOOTER ────────────────────────────────────────────── */
.site-footer { background: var(--ink); border-top: 1px solid var(--card-br); }
.footer-top { padding: 80px 0 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.5fr;
  gap: 52px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-logo em { color: var(--amber); font-style: normal; }
.footer-brand p { font-size: 0.87rem; color: var(--cream-d); margin-bottom: 22px; line-height: 1.75; }
.footer-age-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(13,92,74,0.15);
  border: 1px solid rgba(20,128,106,0.25);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  color: var(--cream-d);
}
.footer-age-badge span {
  background: var(--emerald);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 3px 9px;
  border-radius: var(--r-xs);
}
.footer-nav h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.footer-nav li { margin-bottom: 12px; }
.footer-nav a { font-size: 0.87rem; color: var(--cream-d); transition: color var(--t) var(--ease); }
.footer-nav a:hover { color: var(--cream); }
.footer-contact h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--cream-d);
  margin-bottom: 14px;
}
.footer-contact i { color: var(--emerald-xl); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: var(--cream-d); }
.footer-contact a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid var(--card-br); padding: 24px 0; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--cream-d);
  max-width: 800px;
  line-height: 1.7;
  opacity: 0.75;
}
.footer-disclaimer i { color: var(--amber); margin-right: 6px; }
.footer-disclaimer strong { color: var(--cream-m); }
.footer-copy { font-size: 0.75rem; color: rgba(122,112,96,0.5); }

/* ─── PAGE INNER PAGES ──────────────────────────────────── */
.page-hero {
  padding: 130px 0 64px;
  background: var(--ink2);
  border-bottom: 1px solid var(--card-br);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,160,32,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}
.page-hero p { color: var(--cream-d); font-size: 1rem; max-width: 520px; }
.updated-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-br);
  color: var(--cream-d);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: 24px;
}
.updated-tag i { color: var(--amber); }
.page-content { padding: 70px 0 100px; }
.content-body h2 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin: 40px 0 14px;
  padding-left: 16px;
  border-left: 3px solid var(--amber);
}
.content-body h2:first-child { margin-top: 0; }
.content-body p { font-size: 0.93rem; color: var(--cream-d); margin-bottom: 18px; line-height: 1.85; }
.content-body ul { list-style: none; padding: 0; margin-bottom: 18px; }
.content-body ul li {
  font-size: 0.93rem;
  color: var(--cream-d);
  margin-bottom: 10px;
  line-height: 1.7;
  padding-left: 22px;
  position: relative;
}
.content-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--emerald-xl);
  font-weight: 700;
}
.content-body a { color: var(--emerald-xl); }
.content-body a:hover { color: var(--amber); }

/* ─── CONTACT ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 52px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
}
.contact-info p { font-size: 0.93rem; color: var(--cream-d); margin-bottom: 32px; line-height: 1.75; }
.contact-item { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(13,92,74,0.2);
  border: 1px solid rgba(20,128,106,0.3);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-xl);
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-item-body h3 { font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 4px; letter-spacing: 0.3px; }
.contact-item-body p, .contact-item-body a { font-size: 0.87rem; color: var(--cream-d); }
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-br);
  border-radius: var(--r-xl);
  padding: 44px;
}
.contact-form-wrap h3 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream-d);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  color: var(--cream);
  font-family: var(--ff-display);
  font-size: 0.92rem;
  transition: border-color var(--t) var(--ease);
  outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--cream-d); opacity: 0.5; }
.form-group select { color: var(--cream-d); }
.form-group select option { background: var(--ink3); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--amber);
  background: rgba(232,160,32,0.04);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  background: rgba(20,128,106,0.12);
  border: 1px solid rgba(20,128,106,0.3);
  color: var(--emerald-xl);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  margin-top: 12px;
  align-items: center;
  gap: 10px;
}

/* ─── ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes reveal {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes floatY {
  0%,100% { transform:translateY(0); }
  50%     { transform:translateY(-10px); }
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-section { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { height: 360px; }
  .hero-left { padding: 120px 36px 60px; }
  .hero-left::after { display:none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .bento-1,.bento-2,.bento-3,.bento-4,.bento-5 { grid-column: span 6; }
  .bento-5 { grid-column: span 12; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 36px; }
  .timeline::before { display:none; }
  .cert-inner { grid-template-columns: 1fr; }
  .games-asymmetric { grid-template-columns: 1fr; gap:40px; }
  .games-asymmetric.reverse .game-text-col { order:1; }
  .games-asymmetric.reverse .game-visual-col { order:2; }
}
@media (max-width: 900px) {
  .regulatory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .navbar { padding: 0 18px; gap: 12px; }
  .nav-brand { min-width: 0; font-size: 1.2rem; }
  .nav-links {
    display:none;
    position:fixed;
    top:76px; left:0; right:0;
    background:rgba(10,12,14,0.98);
    backdrop-filter:blur(14px);
    flex-direction:column;
    padding:28px 24px;
    gap:4px;
    border-bottom:1px solid var(--card-br);
  }
  .nav-links.open { display:flex; }
  .nav-link { padding:13px 16px; width:100%; }
  .nav-toggle { display:flex; }
  .btn-header-cta { display:none; }
  .hero-stats { position:static; margin-top:40px; padding:0; gap:20px; flex-wrap:wrap; }
  .hero-left { padding:110px 18px 60px; }
  .regulatory-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding:28px 20px; }
  .bento-1,.bento-2,.bento-3,.bento-4,.bento-5 { grid-column: span 12; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .photo-strip { grid-template-columns:1fr; height:auto; gap:4px; }
  .photo-strip-img { height:220px; border-radius: 0 !important; }
  .photo-strip-img:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0 !important; }
  .photo-strip-img:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg) !important; }
  .cert-badges { grid-template-columns: 1fr; }
  .features-section, .games-section, .how-section, .regulatory-section, .cert-section { padding: 64px 0; }
  .disclaimer-strip { padding: 14px 18px; }
  .strip-inner { flex-wrap: wrap; }
  .cookie-banner { flex-direction: column; align-items: stretch; padding: 16px 18px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn-cookie-accept,
  .cookie-actions .btn-cookie-decline { flex: 1; }
  .game-card-meta { flex-wrap: wrap; gap: 10px; }
  .age-warning-box { flex-direction: column; padding: 22px 20px; }
}
@media (max-width: 680px) {
  .timeline { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .navbar { padding: 0 16px; }
  .hero-left { padding: 110px 16px 60px; }
  .hero-stats { gap: 16px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-ghost { width:100%; justify-content:center; }
  .popup-box { padding: 36px 22px; }
  .bento-card { padding: 28px 22px; }
}

/* --- mobile overflow guard (auto) --- */
html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
  max-width: 100%;
}
img,
video,
svg {
  max-width: 100%;
  height: auto;
}
.container,
[class*="container"],
[class*="inner"] {
  max-width: 100%;
}
[class*="grid"] {
  min-width: 0;
}
.bento-card,
.reg-card,
.cert-badge-card,
.timeline-item,
.game-text-col,
.game-visual-col,
.footer-brand,
.footer-nav,
.footer-contact {
  min-width: 0;
}
.game-card-meta {
  min-width: 0;
}
@media (max-width: 767px) {
  .site-header,
  .header,
  [class*="header"] {
    max-width: 100%;
    min-width: 0;
  }
  nav,
  [class*="nav"] {
    flex-wrap: wrap;
  }
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}
