/* ============================================================
   POGOSPARKRUN — NEO DINOLAND DESIGN SYSTEM
   ============================================================ */

/* 1. CSS VARIABLES
   ============================================================ */
:root {
  /* Base Colors */
  --bg-primary: #0b0f0c;
  --bg-secondary: #132018;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.10);

  /* Accent Gradients */
  --grad-green: linear-gradient(135deg, #22c55e, #4ade80);
  --grad-orange: linear-gradient(135deg, #f97316, #fb923c);
  --grad-lime: linear-gradient(135deg, #a3e635, #84cc16);
  --grad-premium: linear-gradient(135deg, #22c55e, #f97316);
  --grad-border: linear-gradient(135deg, #22c55e, #f97316, #22c55e);

  /* Solid Accents */
  --green: #22c55e;
  --green-light: #4ade80;
  --orange: #f97316;
  --orange-light: #fb923c;
  --lime: #a3e635;
  --lime-dark: #84cc16;

  /* Glow */
  --glow-green: rgba(34, 197, 94, 0.4);
  --glow-orange: rgba(249, 115, 22, 0.4);
  --glow-lime: rgba(163, 230, 53, 0.35);

  /* Typography */
  --text-primary: #f0fdf4;
  --text-secondary: #d1fae5;
  --text-muted: #6b7280;
  --text-link: #4ade80;

  /* Glass */
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 16px;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 80px;
  --space-2xl: 120px;
  --section-gap: 120px;
  --section-gap-tablet: 80px;
  --section-gap-mobile: 50px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Font */
  --font-primary: 'Nunito', sans-serif;
  --font-display: 'Fredoka One', cursive;

  /* Header height */
  --header-h: 72px;
}

/* 2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul {
  list-style: none;
}

/* 3. LAYOUT & CONTAINER
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-gap) 0;
}

/* 4. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

.gradient-text {
  background: var(--grad-premium);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--grad-premium);
  color: #fff;
  box-shadow: 0 4px 20px var(--glow-green);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px var(--glow-green), 0 0 20px var(--glow-orange);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(34, 197, 94, 0.5);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green-light);
  box-shadow: 0 0 15px var(--glow-green);
  background: rgba(34, 197, 94, 0.08);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 20px 48px;
  font-size: 1.2rem;
}

/* 6. SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  backdrop-filter: blur(var(--glass-blur));
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* 7. HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(11, 15, 12, 0.7);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 0 0 16px 16px;
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(11, 15, 12, 0.95);
  border-bottom-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4), 0 0 15px rgba(34, 197, 94, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-icon {
  font-size: 1.8rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px var(--glow-green));
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  background: var(--grad-premium);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav { display: flex; }

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

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--grad-green);
  border-radius: var(--radius-full);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.header-cta { flex-shrink: 0; }

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: rgba(19, 32, 24, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  padding: 80px 32px 40px;
  transition: right var(--transition-slow);
  border-left: 1px solid rgba(34, 197, 94, 0.2);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-drawer.open { right: 0; }

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
}

.drawer-close:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: var(--green);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-link {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
}

.drawer-link:hover {
  color: var(--text-primary);
  background: var(--glass);
}

.drawer-cta { align-self: flex-start; }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* 8. HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--header-h);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 60%, rgba(34, 197, 94, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(249, 115, 22, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--glass);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(var(--glass-blur));
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 10px 16px;
  background: var(--glass);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-img {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, var(--glow-green) 0%, transparent 70%);
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hero Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: particle-float linear infinite;
  opacity: 0.6;
}

/* Floating Leaves */
.floating-leaves {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.leaf {
  position: absolute;
  font-size: 1.2rem;
  animation: leaf-fall linear infinite;
  opacity: 0.7;
}

/* Mist */
.hero-mist {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(0deg, rgba(19, 32, 24, 0.8) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* 9. PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--header-h) + 60px) 0 60px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.page-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

.page-hero-game {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* 10. GAME SECTION
   ============================================================ */
.game-section {
  background: var(--bg-primary);
}

.game-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(var(--glass-blur));
  transition: all var(--transition);
}

.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: var(--grad-border);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-rotate 4s linear infinite;
  opacity: 0.6;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--glow-green);
}

.game-card:hover::before { opacity: 1; }

.game-card-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 480px;
}

.game-preview {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.game-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.game-card:hover .game-preview-img {
  transform: scale(1.04);
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 12, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.game-card:hover .game-overlay { opacity: 1; }

.play-btn .play-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.game-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.game-title {
  font-size: 1.8rem;
  color: var(--text-primary);
}

.game-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

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

.game-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.feat-icon {
  width: 28px;
  height: 28px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

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

/* 11. GAME EMBED (game page)
   ============================================================ */
.game-embed-section { padding-top: 20px; }

.game-embed-wrap {
  background: var(--glass);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(34, 197, 94, 0.1);
}

.game-embed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--glass-border);
}

.game-embed-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
}

.game-embed-controls {
  display: flex;
  gap: 10px;
}

.embed-ctrl-btn {
  padding: 8px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.embed-ctrl-btn:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: var(--green);
  color: var(--green-light);
}

.game-embed-container {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
}

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

.game-embed-footer {
  padding: 14px 24px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.embed-legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.embed-legal a { color: var(--text-link); }

/* 12. FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(var(--glass-blur));
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--grad-green);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3), 0 0 25px var(--glow-green);
}

.feature-card:hover::after { opacity: 0.04; }

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.feature-icon-wrap.orange {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.3);
}

.feature-icon-wrap.lime {
  background: rgba(163, 230, 53, 0.12);
  border-color: rgba(163, 230, 53, 0.3);
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--glow-green);
}

.feature-card:hover .feature-icon-wrap.orange {
  box-shadow: 0 0 20px var(--glow-orange);
}

.feature-card:hover .feature-icon-wrap.lime {
  box-shadow: 0 0 20px var(--glow-lime);
}

.feature-icon { line-height: 1; }

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* 13. CTA STRIP
   ============================================================ */
.cta-strip { padding: 80px 0; }

.cta-strip-inner {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(249, 115, 22, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  backdrop-filter: blur(var(--glass-blur));
  position: relative;
  overflow: hidden;
}

.cta-strip-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.cta-strip-content { position: relative; z-index: 1; }

.cta-strip-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.cta-strip-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.cta-strip-btn { position: relative; z-index: 1; flex-shrink: 0; }

/* 14. ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 { margin-bottom: 20px; }

.about-content p { margin-bottom: 20px; }

.about-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px var(--glow-green);
}

.about-img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-slow);
}

.about-img:hover { transform: scale(1.02); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.stat-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  backdrop-filter: blur(var(--glass-blur));
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.4);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 15. CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-info > p {
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur));
  transition: all var(--transition);
}

.contact-info-card:hover {
  border-color: rgba(34, 197, 94, 0.4);
  transform: translateY(-2px);
}

.ci-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-form-wrap {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(var(--glass-blur));
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  background: rgba(34, 197, 94, 0.06);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-submit { width: 100%; }

.form-success {
  display: none;
  padding: 14px 18px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  color: var(--green-light);
  font-size: 0.9rem;
  font-weight: 600;
}

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

/* 16. LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-block {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  backdrop-filter: blur(var(--glass-blur));
  transition: border-color var(--transition);
}

.legal-block:hover {
  border-color: rgba(34, 197, 94, 0.25);
}

.legal-block h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal-block p { font-size: 0.95rem; margin-bottom: 12px; }

.legal-block ul {
  padding-left: 20px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-block ul li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  list-style: disc;
  padding-left: 4px;
}

.legal-block a { color: var(--text-link); }

/* Responsible Gaming */
.rg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto 40px;
}

.rg-alert-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur));
}

.rg-alert-card.orange {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.3);
}

.rg-alert-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.rg-alert-card strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.rg-alert-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

/* 17. STEPS (How to Play)
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(var(--glass-blur));
  transition: all var(--transition);
  text-align: center;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  background: var(--grad-premium);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.step-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

/* 18. MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #132018;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 540px;
  width: 100%;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.modal-close:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: var(--green);
}

.modal-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 16px;
}

.modal-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 28px;
}

.modal-steps {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.modal-steps li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  list-style: decimal;
  padding-left: 4px;
  line-height: 1.6;
}

.modal-steps strong { color: var(--text-primary); }

.modal-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  padding: 12px;
  background: var(--glass);
  border-radius: var(--radius-md);
  margin: 0;
}

/* 19. FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(34, 197, 94, 0.1);
  padding-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-brand { max-width: 360px; }

.footer-brand .logo { margin-bottom: 16px; }

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-col-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: var(--font-primary);
  font-weight: 700;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--green-light); }

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* 20. ANIMATIONS
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--glow-green); opacity: 1; }
  50% { box-shadow: 0 0 40px var(--glow-green), 0 0 60px rgba(34, 197, 94, 0.2); opacity: 0.85; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes border-rotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes particle-float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

@keyframes leaf-fall {
  0% { transform: translateY(-60px) rotate(0deg); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.6; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

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

@keyframes fade-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* 21. INTERSECTION OBSERVER CLASSES
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 22. UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* 23. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .section { padding: var(--section-gap-tablet) 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .game-card-inner { grid-template-columns: 1fr; }
  .game-preview { border-radius: var(--radius-lg) var(--radius-lg) 0 0; height: 280px; }
  .game-overlay { opacity: 1; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 40px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions { justify-content: center; }
  .hero-visual { justify-content: center; }
  .hero-img { max-width: 380px; }
  .hero-content { max-width: 100%; }

  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }

  .cta-strip-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .rg-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .section { padding: var(--section-gap-mobile) 0; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .hero-headline { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-img { max-width: 100%; }

  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }

  .game-embed-header { flex-direction: column; gap: 12px; align-items: flex-start; }

  .contact-form-wrap { padding: 28px 20px; }

  .footer-links { grid-template-columns: 1fr 1fr; }

  .cta-strip-inner { padding: 32px 20px; }

  .modal { padding: 36px 24px; }
}

@media (max-width: 420px) {
  .about-stats { grid-template-columns: 1fr; }
  .game-embed-controls { flex-direction: column; width: 100%; }
  .embed-ctrl-btn { width: 100%; text-align: center; }
}
/* ENDFILE */