:root {
  --bg-primary: #04130f;
  --bg-secondary: #0b2d24;
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.1);
  --glass-blur: blur(18px);
  --gloss: linear-gradient(180deg, rgba(255,255,255,0.08), transparent);
  --accent-yellow: linear-gradient(135deg, #facc15, #f59e0b);
  --accent-green: linear-gradient(135deg, #22c55e, #16a34a);
  --accent-orange: linear-gradient(135deg, #fb923c, #f97316);
  --glow-yellow: rgba(250,204,21,0.4);
  --glow-green: rgba(34,197,94,0.35);
  --glow-orange: rgba(249,115,22,0.35);
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #6b7280;
  --radius-card: 24px;
  --radius-btn: 18px;
  --max-width: 1280px;
  --yellow-solid: #facc15;
  --green-solid: #22c55e;
  --orange-solid: #f97316;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul { list-style: none; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ====== CURSOR GLOW ====== */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250,204,21,0.08), transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* ====== FLOATING LEAVES ====== */
.floating-leaves {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

.leaf {
  position: absolute;
  font-size: 24px;
  opacity: 0.3;
  animation: leafFall linear infinite;
  top: -50px;
}

.leaf:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; font-size: 20px; }
.leaf:nth-child(2) { left: 25%; animation-duration: 15s; animation-delay: 2s; font-size: 28px; }
.leaf:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: 4s; font-size: 18px; }
.leaf:nth-child(4) { left: 55%; animation-duration: 14s; animation-delay: 1s; font-size: 22px; }
.leaf:nth-child(5) { left: 70%; animation-duration: 11s; animation-delay: 3s; font-size: 26px; }
.leaf:nth-child(6) { left: 85%; animation-duration: 13s; animation-delay: 5s; font-size: 16px; }
.leaf:nth-child(7) { left: 5%; animation-duration: 16s; animation-delay: 6s; font-size: 24px; }
.leaf:nth-child(8) { left: 95%; animation-duration: 9s; animation-delay: 7s; font-size: 20px; }

@keyframes leafFall {
  0% {
    transform: translateY(-50px) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% {
    transform: translateY(110vh) rotate(720deg) translateX(100px);
    opacity: 0;
  }
}

/* ====== BANANA DROP ====== */
.banana-drops {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 11;
  overflow: hidden;
}

.banana {
  position: absolute;
  font-size: 20px;
  opacity: 0;
  top: -40px;
  animation: bananaDrop linear infinite;
}

.banana:nth-child(1) { left: 15%; animation-duration: 8s; animation-delay: 3s; }
.banana:nth-child(2) { left: 45%; animation-duration: 10s; animation-delay: 7s; }
.banana:nth-child(3) { left: 75%; animation-duration: 9s; animation-delay: 11s; }
.banana:nth-child(4) { left: 30%; animation-duration: 11s; animation-delay: 15s; }
.banana:nth-child(5) { left: 60%; animation-duration: 7s; animation-delay: 5s; }

@keyframes bananaDrop {
  0% {
    transform: translateY(-40px) rotate(0deg);
    opacity: 0;
  }
  5% { opacity: 0.6; }
  85% { opacity: 0.6; }
  100% {
    transform: translateY(110vh) rotate(540deg);
    opacity: 0;
  }
}

/* ====== HEADER — CURVED JUNGLE NAV ====== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-inner {
  position: relative;
  background: rgba(4,19,15,0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--glass-border);
}

.header-inner::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background: rgba(4,19,15,0.85);
  clip-path: ellipse(55% 100% at 50% 0%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.header-wave {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
}

.header-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.header-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px var(--glow-yellow);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 4px 20px var(--glow-yellow); }
  50% { box-shadow: 0 4px 35px var(--glow-yellow), 0 0 60px rgba(250,204,21,0.2); }
}

.logo-text {
  background: var(--accent-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  transition: all 0.3s ease;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-yellow);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--yellow-solid);
}

.nav-links a.active::after {
  width: 100%;
}

.btn-play-now {
  background: var(--accent-yellow);
  color: #04130f;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--glow-yellow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-play-now::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-play-now:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px var(--glow-yellow);
}

.btn-play-now:hover::before {
  left: 100%;
}

.btn-play-now:active {
  transform: translateY(0) scale(0.97);
}

/* ====== MONKEY RUNNER ====== */
.monkey-runner {
  position: absolute;
  bottom: 10px;
  left: -60px;
  font-size: 32px;
  z-index: 5;
  animation: monkeyRun 12s linear infinite;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.monkey-runner .vine {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  opacity: 0.6;
  animation: vineSwing 1s ease-in-out infinite alternate;
}

@keyframes monkeyRun {
  0% {
    left: -60px;
    transform: scaleX(1) translateY(0);
  }
  10% {
    transform: scaleX(1) translateY(-15px);
  }
  15% {
    transform: scaleX(1) translateY(0);
  }
  25% {
    transform: scaleX(1) translateY(-20px) rotate(-10deg);
  }
  30% {
    transform: scaleX(1) translateY(0) rotate(0deg);
  }
  45% {
    transform: scaleX(1) translateY(-12px);
  }
  50% {
    left: calc(100% + 60px);
    transform: scaleX(1) translateY(0);
  }
  50.01% {
    transform: scaleX(-1) translateY(0);
    left: calc(100% + 60px);
  }
  60% {
    transform: scaleX(-1) translateY(-18px);
  }
  65% {
    transform: scaleX(-1) translateY(0);
  }
  75% {
    transform: scaleX(-1) translateY(-15px) rotate(10deg);
  }
  80% {
    transform: scaleX(-1) translateY(0) rotate(0);
  }
  90% {
    transform: scaleX(-1) translateY(-10px);
  }
  100% {
    left: -60px;
    transform: scaleX(-1) translateY(0);
  }
}

@keyframes vineSwing {
  0% { transform: translateX(-50%) rotate(-15deg); }
  100% { transform: translateX(-50%) rotate(15deg); }
}

.monkey-tail {
  position: absolute;
  bottom: -5px;
  right: -8px;
  font-size: 14px;
  animation: tailBounce 0.6s ease-in-out infinite alternate;
}

@keyframes tailBounce {
  0% { transform: rotate(-20deg); }
  100% { transform: rotate(20deg); }
}

/* ====== MOBILE MENU ====== */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7.5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7.5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(4,19,15,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--yellow-solid);
  transform: scale(1.1);
}

/* ====== HERO SECTION ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(34,197,94,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(250,204,21,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(249,115,22,0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.hero-rays {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 600px;
  background: conic-gradient(from 180deg at 50% 0%, transparent 40%, rgba(250,204,21,0.04) 45%, transparent 50%, transparent 90%, rgba(34,197,94,0.03) 95%, transparent 100%);
  animation: rayRotate 20s linear infinite;
  opacity: 0.8;
}

@keyframes rayRotate {
  0% { transform: translateX(-50%) rotate(0deg); }
  100% { transform: translateX(-50%) rotate(360deg); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--yellow-solid);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 30%; animation-delay: 1.5s; }
.particle:nth-child(3) { top: 60%; left: 50%; animation-delay: 3s; }
.particle:nth-child(4) { top: 30%; left: 70%; animation-delay: 4.5s; }
.particle:nth-child(5) { top: 70%; left: 90%; animation-delay: 2s; }
.particle:nth-child(6) { top: 50%; left: 20%; animation-delay: 5.5s; }
.particle:nth-child(7) { top: 80%; left: 60%; animation-delay: 1s; }
.particle:nth-child(8) { top: 15%; left: 80%; animation-delay: 3.5s; }
.particle:nth-child(9) { top: 90%; left: 40%; animation-delay: 6s; }
.particle:nth-child(10) { top: 25%; left: 55%; animation-delay: 7s; background: var(--green-solid); }
.particle:nth-child(11) { top: 55%; left: 85%; animation-delay: 2.5s; background: var(--orange-solid); }
.particle:nth-child(12) { top: 75%; left: 15%; animation-delay: 4s; background: var(--green-solid); }

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
  25% { opacity: 0.6; transform: translateY(-30px) scale(1.5); }
  50% { opacity: 0.3; transform: translateY(-60px) scale(1); }
  75% { opacity: 0.5; transform: translateY(-40px) scale(1.2); }
}

.hero-jungle-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(0deg, var(--bg-secondary) 0%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--yellow-solid);
  margin-bottom: 24px;
  backdrop-filter: var(--glass-blur);
  animation: fadeInDown 0.8s ease forwards;
}

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

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero h1 .text-yellow {
  background: var(--accent-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero h1 .text-green {
  background: var(--accent-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.btn-primary {
  background: var(--accent-yellow);
  color: #04130f;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 30px var(--glow-yellow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 40px var(--glow-yellow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  backdrop-filter: var(--glass-blur);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.97);
}

.hero-legal {
  margin-top: 40px;
  font-size: 0.8rem;
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.hero-monkey-branch {
  position: absolute;
  right: 5%;
  top: 35%;
  font-size: 3rem;
  z-index: 3;
  animation: monkeyBranch 4s ease-in-out infinite;
}

@keyframes monkeyBranch {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(-5deg); }
  50% { transform: translateY(0) rotate(5deg); }
  75% { transform: translateY(-10px) rotate(-3deg); }
}

/* ====== SECTION SHARED ====== */
section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--yellow-solid);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ====== GAME SECTION ====== */
.game-section {
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

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

.game-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-card) + 2px);
  padding: 2px;
  background: linear-gradient(135deg, var(--yellow-solid), var(--green-solid), var(--orange-solid), var(--yellow-solid));
  background-size: 300% 300%;
  animation: borderGlow 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.4s ease;
  z-index: 0;
}

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

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(250,204,21,0.15);
}

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

.game-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 16px;
  position: relative;
  z-index: 1;
}

.game-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.game-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-green);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px var(--glow-green);
}

.game-title {
  font-size: 1.4rem;
  font-weight: 800;
}

.game-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-solid);
  background: rgba(34,197,94,0.15);
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 4px;
  display: inline-block;
}

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

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.1);
}

.game-iframe-wrapper {
  position: relative;
  z-index: 1;
  padding: 0 28px 28px;
}

.game-iframe-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
}

.game-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.game-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px 24px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 12px;
}

.game-stats {
  display: flex;
  gap: 24px;
}

.game-stat {
  text-align: center;
}

.game-stat-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--yellow-solid);
}

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

.btn-how-to-play {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  backdrop-filter: var(--glass-blur);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-how-to-play:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ====== HOW TO PLAY MODAL ====== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,19,15,0.9);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  max-width: 600px;
  width: 100%;
  padding: 40px;
  position: relative;
  transform: translateY(20px);
  animation: modalIn 0.4s ease forwards;
}

@keyframes modalIn {
  to { transform: translateY(0); }
}

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

.modal-close:hover {
  background: rgba(255,255,255,0.15);
  transform: rotate(90deg);
}

.modal h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal .steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal .step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--glass-bg);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.modal .step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--accent-yellow);
  color: #04130f;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.modal .step-text h4 {
  font-weight: 700;
  margin-bottom: 4px;
}

.modal .step-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ====== FEATURES SECTION ====== */
.features-section {
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-yellow);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(250,204,21,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

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

.feature-card:nth-child(2)::before { background: var(--accent-green); }
.feature-card:nth-child(3)::before { background: var(--accent-orange); }
.feature-card:nth-child(4)::before { background: var(--accent-orange); }
.feature-card:nth-child(5)::before { background: var(--accent-yellow); }
.feature-card:nth-child(6)::before { background: var(--accent-green); }

.feature-card .leaf-texture {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 4rem;
  opacity: 0.05;
  transform: rotate(15deg);
  transition: all 0.4s ease;
}

.feature-card:hover .leaf-texture {
  opacity: 0.1;
  transform: rotate(0deg) scale(1.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.feature-icon.yellow {
  background: rgba(250,204,21,0.15);
  box-shadow: 0 4px 20px rgba(250,204,21,0.1);
}

.feature-icon.green {
  background: rgba(34,197,94,0.15);
  box-shadow: 0 4px 20px rgba(34,197,94,0.1);
}

.feature-icon.orange {
  background: rgba(249,115,22,0.15);
  box-shadow: 0 4px 20px rgba(249,115,22,0.1);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ====== WHY PLAY SECTION ====== */
.why-play-section {
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.why-play-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-play-visual {
  position: relative;
}

.why-play-card-main {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 48px;
  text-align: center;
  backdrop-filter: var(--glass-blur);
  position: relative;
  overflow: hidden;
}

.why-play-card-main .big-emoji {
  font-size: 5rem;
  margin-bottom: 16px;
  animation: emojiFloat 3s ease-in-out infinite;
}

@keyframes emojiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.why-play-card-main h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.why-play-card-main p {
  color: var(--text-secondary);
}

.why-play-float-card {
  position: absolute;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 4s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.why-play-float-card:nth-child(2) {
  top: -20px;
  right: -20px;
  animation-delay: 1s;
}

.why-play-float-card:nth-child(3) {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.why-play-float-card .float-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.why-play-float-card .float-text {
  font-weight: 700;
  font-size: 0.9rem;
}

.why-play-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-play-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.why-play-item:hover {
  transform: translateX(8px);
  border-color: rgba(250,204,21,0.3);
}

.why-play-item .item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(250,204,21,0.15);
}

.why-play-item h4 {
  font-weight: 700;
  margin-bottom: 4px;
}

.why-play-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ====== CTA SECTION ====== */
.cta-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: linear-gradient(135deg, rgba(250,204,21,0.1), rgba(34,197,94,0.1));
  border: 1px solid rgba(250,204,21,0.2);
  border-radius: var(--radius-card);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gloss);
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-card p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-monkeys {
  position: absolute;
  font-size: 3rem;
  opacity: 0.15;
}

.cta-monkeys:nth-child(1) { top: 20px; left: 30px; }
.cta-monkeys:nth-child(2) { bottom: 20px; right: 30px; }
.cta-monkeys:nth-child(3) { top: 50%; left: 10px; }
.cta-monkeys:nth-child(4) { top: 20%; right: 40px; }

/* ====== FOOTER ====== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: var(--yellow-solid);
  transform: translateX(4px);
  display: inline-block;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--glass-border);
  margin-bottom: 32px;
}

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

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

.footer-legal {
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 12px;
  padding: 16px 24px;
  margin-top: 32px;
  text-align: center;
}

.footer-legal p {
  color: var(--orange-solid);
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-18plus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange-solid);
}

/* ====== ABOUT PAGE ====== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--yellow-solid);
}

.about-content {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-visual {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 48px;
  text-align: center;
  backdrop-filter: var(--glass-blur);
}

.about-visual .big-emoji {
  font-size: 6rem;
  margin-bottom: 16px;
}

.about-values {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(250,204,21,0.3);
}

.value-card .value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ====== CONTACT PAGE ====== */
.contact-content {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 36px;
  backdrop-filter: var(--glass-blur);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
}

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-item .info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(250,204,21,0.15);
}

.contact-info-item h4 {
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-form-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 36px;
  backdrop-filter: var(--glass-blur);
}

.contact-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--yellow-solid);
  box-shadow: 0 0 0 3px rgba(250,204,21,0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ====== LEGAL PAGES ====== */
.legal-content {
  padding: 80px 0;
}

.legal-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 48px;
  backdrop-filter: var(--glass-blur);
  max-width: 900px;
  margin: 0 auto;
}

.legal-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 32px 0 16px;
  color: var(--yellow-solid);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-card ul {
  padding-left: 24px;
  list-style: disc;
  margin-bottom: 16px;
}

.legal-card ul li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-card .highlight-box {
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-card .highlight-box p {
  color: var(--orange-solid);
  font-weight: 600;
  margin-bottom: 0;
}

.legal-update {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ====== FULLSCREEN ====== */
.game-card.fullscreen {
  position: fixed;
  inset: 0;
  z-index: 3000;
  border-radius: 0;
  overflow: auto;
}

.game-card.fullscreen .game-iframe-container {
  padding-top: 0;
  height: calc(100vh - 160px);
  border-radius: 0;
}

.game-card.fullscreen .game-iframe-container iframe {
  position: relative;
  height: 100%;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  section { padding: 80px 0; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-play-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .nav-links { display: none; }
  .btn-play-now.desktop-only { display: none; }
  .mobile-toggle { display: flex; }

  .hero h1 {
    letter-spacing: -1px;
  }

  .hero-monkey-branch { display: none; }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .game-info-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-card {
    padding: 48px 24px;
  }

  .legal-card {
    padding: 28px 20px;
  }

  .why-play-float-card {
    display: none;
  }

  .monkey-runner {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .game-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ====== UTILITY ====== */
.text-yellow { color: var(--yellow-solid); }
.text-green { color: var(--green-solid); }
.text-orange { color: var(--orange-solid); }
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }