/* MapNorexa — Tectonic Elegance / Volcanic Isle Theme
   Built from scratch — all original code for mapnorexa.com */

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

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --primary:       #161212;
  --surface:       #1e1616;
  --card:          #261e1e;
  --border:        #3d2828;
  --accent:        #ff506f;
  --accent-glow:   rgba(255,80,111,0.3);
  --accent-dim:    rgba(255,80,111,0.08);
  --gold:          #ffb95a;
  --gold-dark:     #cc7a10;
  --gold-glow:     rgba(255,185,90,0.38);
  --text:          #e0ccc8;
  --text-dim:      #8a6a6a;
  --danger:        #ff3344;
  --font-head:     'Epilogue', sans-serif;
  --font-body:     'Manrope', sans-serif;
  --radius:        8px;
  --radius-sm:     4px;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--primary);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}

/* ─── Utility ───────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-family: var(--font-head);
  font-weight: 900;
  margin-bottom: 40px;
  color: var(--text);
}

.section-title span { color: var(--accent); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-primary:hover {
  background: #e83d5c;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-gold:hover {
  background: #ffc96a;
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ─── Site Header ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(22, 18, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 0 var(--accent), 0 4px 24px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

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

.site-logo .logo-mark {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 0 14px var(--accent-glow);
  flex-shrink: 0;
}

.site-logo .logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.site-logo .logo-text span { color: var(--accent); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.site-nav a:hover, .site-nav a.active {
  color: var(--accent);
  background: var(--accent-dim);
}

.header-badge-18 {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.75rem;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: 0 2px 0 var(--accent);
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s;
}

.mobile-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.mobile-nav a {
  display: block;
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--accent); }

/* ─── Hero — Asymmetric Two-Column ──────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(255,80,111,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 100% 0%, rgba(255,185,90,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,80,111,0.06) 0%, transparent 70%),
    linear-gradient(170deg, #161212 0%, #1a1111 50%, #161212 100%);
}

/* Lava crack overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 40px at 15% 60%, rgba(255,80,111,0.15) 0%, transparent 100%),
    radial-gradient(1px 60px at 35% 80%, rgba(255,80,111,0.10) 0%, transparent 100%),
    radial-gradient(1px 30px at 65% 40%, rgba(255,80,111,0.08) 0%, transparent 100%),
    radial-gradient(1px 50px at 82% 75%, rgba(255,80,111,0.12) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-body {
  flex: 1;
  display: grid;
  grid-template-columns: 60% 40%;
  position: relative;
  z-index: 1;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 60px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.hero-h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Right panel with angled clip-path */
.hero-right {
  position: relative;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-right-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,80,111,0.25) 0%, rgba(22,18,18,0.4) 60%, transparent 100%);
  pointer-events: none;
}

/* Stats bar */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  background: rgba(26,17,17,0.92);
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.stats-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,80,111,0.06);
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 40px;
  font-family: var(--font-body);
  white-space: nowrap;
}

.stat-badge svg { color: var(--accent); flex-shrink: 0; }

/* ─── Featured Game ──────────────────────────────────────── */
.featured-game-section {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,185,90,0.10);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 40px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.featured-game {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.featured-game-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 60px var(--accent-glow), 0 24px 48px rgba(0,0,0,0.6);
}

.featured-game-thumb img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.featured-game-thumb:hover img { transform: scale(1.03); }

.featured-game-thumb-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.featured-game-info { padding-top: 8px; }

.featured-game-info h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.featured-game-info .game-theme-tag {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.featured-game-info p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.featured-features {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.featured-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent-glow);
}

/* ─── Compact Games Strip ───────────────────────────────── */
.compact-games-section {
  padding: 72px 0;
  background: var(--primary);
}

.compact-games-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.compact-games {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--border);
}

.compact-games::-webkit-scrollbar { height: 4px; }
.compact-games::-webkit-scrollbar-track { background: var(--border); border-radius: 2px; }
.compact-games::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

.compact-card {
  flex: 0 0 200px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.compact-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.compact-card-thumb {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.compact-card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.compact-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.3;
}

.compact-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  width: fit-content;
  cursor: pointer;
  text-decoration: none;
}

.compact-play-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ─── Benefits Grid ─────────────────────────────────────── */
.benefits-section {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.benefit-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-left-color 0.2s;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.benefit-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  border-left-color: var(--gold);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

.benefit-text h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.benefit-text p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ─── About Section ─────────────────────────────────────── */
.about-section {
  padding: 96px 0;
  background: var(--primary);
  border-top: 1px solid var(--border);
}

.about-layout {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 64px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 28px;
}

.about-text p {
  color: var(--text-dim);
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-geo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hex-outer {
  width: 280px;
  height: 280px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 60px var(--accent-glow), 0 0 120px rgba(255,80,111,0.12);
  animation: hex-pulse 4s ease-in-out infinite;
  border: 2px solid var(--accent);
}

@keyframes hex-pulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(255,80,111,0.4)); }
  50% { filter: drop-shadow(0 0 50px rgba(255,80,111,0.7)); }
}

.hex-ring-1 {
  width: 180px;
  height: 180px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: rgba(255,80,111,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hex-spin 12s linear infinite;
}

@keyframes hex-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hex-ring-2 {
  width: 90px;
  height: 90px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: rgba(255,80,111,0.25);
  animation: hex-spin 8s linear infinite reverse;
}

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-section {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.faq-alternating { margin-top: 40px; }

.faq-item {
  padding: 28px 32px;
  border-radius: var(--radius);
  margin-bottom: 2px;
}

.faq-item:nth-child(odd) {
  background: var(--card);
}

.faq-item:nth-child(even) {
  background: rgba(38,30,30,0.5);
  border: 1px solid var(--border);
}

.faq-item .faq-q {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.faq-item .faq-a {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-chevron { width: 18px !important; height: 18px !important; max-width: 18px !important; max-height: 18px !important; }

/* ─── Gallery Masonry ───────────────────────────────────── */
.gallery-section {
  padding: 96px 0;
  background: var(--primary);
  border-top: 1px solid var(--border);
}

.gallery-masonry {
  column-count: 3;
  column-gap: 16px;
  margin-top: 40px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.03); }

.gallery-item:nth-child(3n+1) img { aspect-ratio: 4/3; object-fit: cover; }
.gallery-item:nth-child(3n+2) img { aspect-ratio: 3/4; object-fit: cover; }
.gallery-item:nth-child(3n+3) img { aspect-ratio: 16/9; object-fit: cover; }

/* ─── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--accent), var(--gold)) 1;
  padding: 48px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.footer-brand .logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--text);
  display: block;
  margin-bottom: 10px;
}

.footer-brand .logo-text span { color: var(--accent); }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer-nav-group h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.footer-nav-group ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-group a {
  color: var(--text-dim);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav-group a:hover { color: var(--accent); }

.footer-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-logos img {
  height: 34px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-nav-inline {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav-inline a {
  color: var(--text-dim);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav-inline a:hover { color: var(--accent); }

.footer-disclaimer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ─── Cookie Banner ─────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.cookie-text a { color: var(--accent); }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
}

.btn-cookie-accept:hover { background: #e83d5c; }

.btn-cookie-decline {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s, border-color 0.2s;
}

.btn-cookie-decline:hover { color: var(--text); border-color: var(--text-dim); }

/* ─── Page Hero (Subpages) ──────────────────────────────── */
.page-hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(255,80,111,0.10) 0%, transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--primary) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Game Iframe Page ──────────────────────────────────── */
.game-page-layout {
  padding: 48px 0;
  background: var(--primary);
}

.game-iframe-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 40px var(--accent-glow);
  background: #000;
}

.game-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.game-info-panel {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.game-info-panel .game-desc h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.game-info-panel .game-desc p {
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.game-meta-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.game-meta-box h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--accent);
}

.game-meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.game-meta-item:last-child { border-bottom: none; padding-bottom: 0; }
.game-meta-item .meta-label { color: var(--text-dim); font-weight: 400; }
.game-meta-item .meta-val { color: var(--text); font-weight: 600; }

/* ─── Subpage Content ───────────────────────────────────── */
.content-section {
  padding: 72px 0;
}

.content-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  margin-top: 40px;
}

.content-section h2:first-child { margin-top: 0; }

.content-section p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.content-section ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 14px;
}

.content-section ul li {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin-top: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

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

.two-col-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.info-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.info-box h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.info-box p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── All-games grid ────────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.game-card-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.game-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.game-card-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.game-card-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  flex: 1;
}

/* ─── Responsible Play ──────────────────────────────────── */
.rp-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.rp-principle {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.rp-principle h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}

.rp-principle p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ─── Keyframes ─────────────────────────────────────────── */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255,80,111,0.3); }
  50% { box-shadow: 0 0 40px rgba(255,80,111,0.6); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lava-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-fade-in { animation: fade-in-up 0.6s ease forwards; }

/* ─── Responsive 1024px ─────────────────────────────────── */
@media (max-width: 1024px) {
  .featured-game { grid-template-columns: 1fr; gap: 32px; }
  .featured-game-thumb img { height: 300px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > *:last-child { grid-column: 1 / -1; }
  .game-info-panel { grid-template-columns: 1fr; }
  .two-col-layout { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Responsive 768px ──────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .hero-body { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 60px 0 40px; }
  .hero-h1 { font-size: 2.2rem; }
  .stats-bar-inner { gap: 8px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-geo { display: none; }
  .benefits-grid { grid-template-columns: 1fr; }
  .gallery-masonry { column-count: 2; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rp-principles { grid-template-columns: 1fr; }
}

/* ─── Responsive 480px ──────────────────────────────────── */
@media (max-width: 480px) {
  .hero-h1 { font-size: 1.8rem; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .gallery-masonry { column-count: 1; }
  .games-grid { grid-template-columns: 1fr; }
  .stat-badge { font-size: 0.75rem; padding: 6px 10px; }
  .faq-item { padding: 20px 16px; }
  .footer-nav-cols { grid-template-columns: 1fr; }
}
