/* ============================================================
   ELEVATE POWER — Global Stylesheet
   Shared across: index.html + all policy pages
   ============================================================ */

/* ===== RESET & CSS VARIABLES ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep:      #06030f;
  --bg-dark:      #0e0620;
  --bg-card:      #12082e;
  --bg-card2:     #1a0d3a;
  --gold:         #c9a227;
  --gold-light:   #f0c040;
  --gold-dim:     #7a6015;
  --purple:       #7b3fc4;
  --purple-light: #a855f7;
  --text:         #e8e0f5;
  --text-muted:   #8a7fa0;
  --border:       rgba(201, 162, 39, 0.2);
  --glow-gold:    0 0 30px rgba(201, 162, 39, 0.4);
  --glow-purple:  0 0 30px rgba(123, 63, 196, 0.5);
  --radius:       12px;
  --transition:   0.35s ease;
  /* Layout heights */
  --bar-h:        44px;   /* disclaimer bar */
  --header-h:     80px;   /* fixed header   */
  --top-offset:   124px;  /* bar + header   */
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;   /* prevent horizontal scroll on ALL browsers */
  max-width: 100%;
}

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.7;
}

img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

/* ===== SKIP NAVIGATION LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #06030f;
  padding: 12px 28px;
  border-radius: 0 0 10px 10px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 9999;
  transition: top 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.5);
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #06030f;
  outline-offset: 2px;
}

/* ===== FOCUS-VISIBLE — keyboard navigation ===== */
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Remove default outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}
/* Enhanced focus for interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(240, 192, 64, 0.2);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar              { width: 6px; }
::-webkit-scrollbar-track        { background: var(--bg-dark); }
::-webkit-scrollbar-thumb        { background: var(--gold-dim); border-radius: 3px; }

/* ===== PARTICLES CANVAS ===== */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* =============================================================
   DISCLAIMER BAR  — fixed at very top, sits ABOVE header
   ============================================================= */
.disclaimer-bar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;           /* use width instead of right:0 — safer on mobile */
  z-index: 1002;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 5, 22, 0.95);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  backdrop-filter: blur(10px);
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 5%;
  box-sizing: border-box;
}
.disclaimer-bar strong { color: var(--gold); }

/* =============================================================
   HEADER / NAV
   ============================================================= */
header {
  position: fixed;
  top: var(--bar-h);   /* pushed below the disclaimer bar */
  left: 0;
  width: 100%;         /* use width instead of right:0 — safer on mobile */
  z-index: 1000;
  padding: 0 5%;
  height: var(--header-h);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 3, 15, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
header.scrolled {
  background: rgba(6, 3, 15, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

/* — Logo — */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  text-shadow: 0 0 15px rgba(240, 192, 64, 0.5);
}
.logo svg { width: 38px; height: 38px; flex-shrink: 0; }

/* — Desktop nav — */
nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
nav.desktop-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition);
}
nav.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
nav.desktop-nav a:hover                { color: var(--gold-light); }
nav.desktop-nav a:hover::after         { transform: scaleX(1); }

/* — CTA button in nav — */
.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
  color: #06030f !important;
  padding: 9px 22px;
  border-radius: 30px;
  font-weight: 700 !important;
  font-size: 0.83rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: box-shadow var(--transition), transform var(--transition) !important;
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}
.nav-cta:hover {
  box-shadow: 0 0 35px rgba(240, 192, 64, 0.7) !important;
  transform: translateY(-2px) !important;
}
.nav-cta::after { display: none !important; }

/* =============================================================
   BURGER
   ============================================================= */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer;
  z-index: 1100;
  padding: 4px;
}
.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-light);
  transition: all 0.35s ease;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   MOBILE MENU
   ============================================================= */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;           /* safe for mobile */
  height: 100%;
  background: rgba(6, 3, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-top: 80px;
  box-sizing: border-box;
  overflow-x: hidden;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition), text-shadow var(--transition);
}
.mobile-menu a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(240, 192, 64, 0.6);
}
.mobile-menu .nav-cta {
  font-family: 'Raleway', sans-serif !important;
  font-size: 1rem !important;
  padding: 14px 40px !important;
}

/* =============================================================
   SECTIONS BASE
   ============================================================= */
section { position: relative; z-index: 1; }

/* =============================================================
   SHARED SECTION TITLES
   ============================================================= */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  position: relative;
}
.section-label::before,
.section-label::after {
  content: '—';
  margin: 0 10px;
  opacity: 0.5;
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
}
.section-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 18px auto 0;
}

/* =============================================================
   SHARED BUTTONS
   ============================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #06030f;
  padding: 16px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  box-shadow: 0 0 25px rgba(201, 162, 39, 0.35), 0 6px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 45px rgba(240, 192, 64, 0.7), 0 12px 30px rgba(0, 0, 0, 0.5);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  padding: 15px 38px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1.5px solid rgba(201, 162, 39, 0.4);
  transition: all var(--transition);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 25px rgba(201, 162, 39, 0.2), inset 0 0 20px rgba(201, 162, 39, 0.05);
  transform: translateY(-2px);
}

/* =============================================================
   SCROLL ANIMATIONS
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible          { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible     { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible    { opacity: 1; transform: translateX(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* =============================================================
   HERO SECTION
   ============================================================= */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  /* top-offset = bar(44) + header(80) = 124px; +36px breathing room */
  padding: calc(var(--top-offset) + 36px) 5% 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Layered backgrounds: gradients on top, photo underneath */
  background:
    /* purple/gold colour overlays — keep dark fantasy mood */
    radial-gradient(ellipse 80% 60% at 50% 0%,  rgba(123, 63, 196, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(201, 162, 39, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(123, 63, 196, 0.22) 0%, transparent 60%),
    /* dark vignette so text stays readable */
    linear-gradient(180deg,
      rgba(6,3,15,0.82) 0%,
      rgba(14,6,32,0.55) 45%,
      rgba(6,3,15,0.88) 100%),
    /* hero photo — WebP with JPG fallback via image-set */
    url('hero.webp') center top / cover no-repeat;
}
/* JPG fallback for browsers without WebP support */
@supports not (background-image: url('x.webp')) {
  .hero-bg {
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%,  rgba(123, 63, 196, 0.35) 0%, transparent 70%),
      radial-gradient(ellipse 60% 40% at 20% 80%, rgba(201, 162, 39, 0.18) 0%, transparent 60%),
      radial-gradient(ellipse 50% 50% at 80% 70%, rgba(123, 63, 196, 0.22) 0%, transparent 60%),
      linear-gradient(180deg,
        rgba(6,3,15,0.82) 0%,
        rgba(14,6,32,0.55) 45%,
        rgba(6,3,15,0.88) 100%),
      url('hero.jpg') center top / cover no-repeat;
  }
}
.hero-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 63, 196, 0.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-orb 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse-orb {
  0%, 100% { transform: translate(-50%,-50%) scale(1);    opacity: 0.6; }
  50%       { transform: translate(-50%,-50%) scale(1.15); opacity: 1;   }
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  padding: 7px 20px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-badge::before { content: '⚡'; font-size: 0.9rem; }
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 40%, var(--gold) 70%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(201, 162, 39, 0.3));
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 44px;
  font-weight: 400;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce-scroll 2.5s ease-in-out infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }
@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =============================================================
   ABOUT SECTION
   ============================================================= */
#about {
  padding: 120px 5%;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 50%, var(--bg-deep) 100%);
  overflow-x: clip; /* contain the absolute about-stats box */
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.about-visual { position: relative; overflow: visible; }
.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-img-inner {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
}
.about-img-inner picture,
.about-img-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}
.about-img-wrap:hover .about-img-inner img {
  transform: scale(1.04);
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(201, 162, 39, 0.25);
  pointer-events: none;
  z-index: 2;
}
.about-corner { position: absolute; width: 40px; height: 40px; }
.about-corner.tl { top:-1px;    left:-1px;  border-top:  2px solid var(--gold); border-left:  2px solid var(--gold); border-radius:4px 0 0 0; }
.about-corner.tr { top:-1px;    right:-1px; border-top:  2px solid var(--gold); border-right: 2px solid var(--gold); border-radius:0 4px 0 0; }
.about-corner.bl { bottom:-1px; left:-1px;  border-bottom:2px solid var(--gold); border-left: 2px solid var(--gold); border-radius:0 0 0 4px; }
.about-corner.br { bottom:-1px; right:-1px; border-bottom:2px solid var(--gold); border-right:2px solid var(--gold); border-radius:0 0 4px 0; }

.about-stats {
  position: absolute;
  bottom: -24px; right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  min-width: 230px;
}
.stat-item    { text-align: center; }
.stat-num {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.about-content { padding-top: 10px; }
.about-content .section-header    { text-align: left; margin-bottom: 32px; }
.about-content .section-label::before { display: none; }
.about-content .section-divider   { margin: 14px 0 0; }
.about-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.85;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); font-weight: 600; }
.about-features {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(201, 162, 39, 0.05);
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: 10px;
  padding: 14px 16px;
  transition: all var(--transition);
}
.about-feature:hover {
  background: rgba(201, 162, 39, 0.1);
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-2px);
}
.af-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: #06030f; /* SVG stroke colour */
}
.af-text               { font-size: 0.85rem; color: var(--text-muted); }
.af-text strong        { display: block; font-size: 0.88rem; color: var(--text); margin-bottom: 2px; }

/* =============================================================
   GAMES SECTION
   ============================================================= */
#games {
  padding: 120px 5%;
  background: var(--bg-deep);
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1200px;
  margin: 0 auto;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all var(--transition);
}
.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 162, 39, 0.15);
}
.game-card-thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.game-card-bg {
  display: block;
  width: 100%;
  height: 100%;
}
/* The <picture> element itself doesn't scale — animate the inner img */
.game-card-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.game-card:hover .game-card-bg img { transform: scale(1.08); }
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--bg-card) 100%);
}
.game-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(201, 162, 39, 0.9);
  color: #06030f;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.game-card-body  { padding: 22px 24px 24px; }
.game-genre {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.game-name {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.game-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.game-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.game-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--gold);
}
.game-players { font-size: 0.78rem; color: var(--text-muted); }
.game-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, rgba(201,162,39,0.15), rgba(201,162,39,0.05));
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--gold-light);
  padding: 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.game-card:hover .game-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #06030f;
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

/* =============================================================
   CONTACTS SECTION
   ============================================================= */
#contacts {
  padding: 120px 5%;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
}
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.contact-info   { display: flex; flex-direction: column; gap: 28px; }
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all var(--transition);
}
.contact-card:hover {
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(201, 162, 39, 0.1);
  transform: translateX(6px);
}
.cc-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, rgba(201,162,39,0.2), rgba(201,162,39,0.05));
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.cc-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.cc-value { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 250px;
  background: var(--bg-card);
  position: relative;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg) saturate(0.7) brightness(0.85);
}

/* — Contact form — */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 40px;
}
.form-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
}
.form-title span { color: var(--gold-light); }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(201, 162, 39, 0.5);
  background: rgba(201, 162, 39, 0.04);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #06030f;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 0 25px rgba(201, 162, 39, 0.25);
  margin-top: 8px;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(240, 192, 64, 0.5), 0 8px 25px rgba(0, 0, 0, 0.4);
}
.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
.form-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  background: #04020b;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  padding: 64px 5% 36px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}
.footer-brand .logo  { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 2px solid var(--gold-dim);
  border-radius: 50%;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dim);
}

/* =============================================================
   POLICY PAGES — hero, toc, sections, tables
   ============================================================= */

/* Both bar + header are fixed → push content below both */
.policy-page-wrap {
  padding-top: var(--top-offset); /* 44px bar + 80px header = 124px */
}

.policy-hero {
  padding: 80px 5% 60px;
  background: linear-gradient(180deg, #0e0620 0%, var(--bg-deep) 100%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.policy-hero .badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.25);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.policy-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, #fff 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.policy-hero p { color: var(--text-muted); font-size: 0.9rem; }

.policy-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 5% 100px;
}
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 60px;
}
.toc h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.toc ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toc ol li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.toc ol li a:hover { color: var(--gold-light); }

.policy-section          { margin-bottom: 52px; }
.policy-section h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
}
.policy-section h2 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: #06030f;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}
.policy-section p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.policy-section ul {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.policy-section ul li::marker { color: var(--gold); }
.policy-section strong        { color: var(--text); }
.policy-section a             { color: var(--gold); text-underline-offset: 3px; }

/* Cookie table */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.85rem;
}
.cookie-table th {
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cookie-table td {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}
.cookie-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

/* Warning box (responsible gaming) */
.warning-box {
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 22px 28px;
  margin-bottom: 48px;
}
.warning-box p { color: var(--text); font-size: 0.92rem; margin: 0; }
.warning-box strong { color: var(--gold); }

/* Help cards */
.help-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}
.help-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  transition: all 0.3s;
}
.help-card:hover {
  border-color: rgba(201, 162, 39, 0.4);
  transform: translateY(-3px);
}
.help-card h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.help-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* =============================================================
   FORM SUCCESS MODAL
   ============================================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 3, 15, 0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--bg-card);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 24px;
  padding: 52px 44px 44px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 0 80px rgba(201, 162, 39, 0.15), 0 40px 80px rgba(0, 0, 0, 0.6);
  animation: modal-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
  padding: 4px;
}
.modal-close:hover { color: var(--gold-light); }

.modal-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(201,162,39,0.2), rgba(201,162,39,0.06));
  border: 2px solid rgba(201, 162, 39, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.modal-icon svg { width: 36px; height: 36px; }

.modal-title {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}
.modal-title span { color: var(--gold-light); }

.modal-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #06030f;
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 0 25px rgba(201, 162, 39, 0.3);
}
.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(240, 192, 64, 0.55);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1100px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-stats { right: 0; bottom: -10px; }
}

@media (max-width: 991px) {
  nav.desktop-nav { display: none; }
  .burger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 450px; margin: 0 auto; }
  .about-stats { right: 0; bottom: -18px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Mobile: hero shorter so games peek below */
  #hero { min-height: 78vh; padding-top: calc(var(--top-offset) + 20px); padding-bottom: 40px; }
  #games { padding-top: 60px; }
}

@media (max-width: 768px) {
  #hero { padding: 120px 5% 60px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 22px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .help-cards { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary,
  .btn-secondary { width: 100%; max-width: 320px; justify-content: center; }
  .games-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 400px) {
  .game-card-body { padding: 14px 14px 16px; }
  .game-name { font-size: 0.95rem; }
  .game-desc { font-size: 0.78rem; }
  .logo { font-size: 1.05rem; }
}

@media (max-width: 340px) {
  header { padding: 0 4%; }
}

@media (max-width: 300px) {
  .logo { font-size: 0.95rem; }
  .logo svg { width: 28px; height: 28px; }
  section { padding-left: 4%; padding-right: 4%; }
}

@media (max-width: 600px) {
  .cookie-table { font-size: 0.75rem; }
  .cookie-table th,
  .cookie-table td { padding: 8px 10px; }
}
