/* ===================================================
   GAMEPASSAGEHOP.CAM — CRAZY MONKEY JUNGLE TECH
   Full Design System & Styles
   =================================================== */

/* ----- CSS VARIABLES ----- */
:root {
    /* Base Jungle */
    --bg-primary: #04120c;
    --bg-secondary: #0f2a1f;
    --bg-tertiary: #0a1f15;

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

    /* Primary Accent — Jungle Green */
    --green-gradient: linear-gradient(135deg, #22c55e, #4ade80);
    --green-500: #22c55e;
    --green-400: #4ade80;
    --green-glow: rgba(34,197,94,0.45);
    --green-glow-soft: rgba(34,197,94,0.15);

    /* Secondary Accent — Banana Orange */
    --orange-gradient: linear-gradient(135deg, #f59e0b, #fbbf24);
    --orange-500: #f59e0b;
    --orange-400: #fbbf24;
    --orange-glow: rgba(245,158,11,0.45);
    --orange-glow-soft: rgba(245,158,11,0.15);

    /* Fun Accent — Monkey Energy Purple */
    --purple-gradient: linear-gradient(135deg, #8b5cf6, #c084fc);
    --purple-500: #8b5cf6;
    --purple-400: #c084fc;
    --purple-glow: rgba(139,92,246,0.35);
    --purple-glow-soft: rgba(139,92,246,0.12);

    /* Typography */
    --text-primary: #ecfdf5;
    --text-secondary: #bbf7d0;
    --text-muted: #4b5563;
    --text-dim: #6b7280;

    /* Fonts */
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* Spacing */
    --section-spacing: 120px;
    --container-max: 1280px;

    /* Radii */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 100px;
}

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

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

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

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

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

.container-narrow {
    max-width: 800px;
}

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

.cursor-glow.active {
    opacity: 1;
}

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

.leaf {
    position: absolute;
    font-size: 20px;
    opacity: 0.4;
    animation: leafFall linear infinite;
    top: -40px;
}

.leaf-1 { left: 5%; animation-duration: 18s; animation-delay: 0s; font-size: 18px; }
.leaf-2 { left: 15%; animation-duration: 22s; animation-delay: 3s; font-size: 22px; }
.leaf-3 { left: 30%; animation-duration: 16s; animation-delay: 7s; font-size: 16px; }
.leaf-4 { left: 45%; animation-duration: 25s; animation-delay: 2s; font-size: 20px; }
.leaf-5 { left: 60%; animation-duration: 20s; animation-delay: 5s; font-size: 24px; }
.leaf-6 { left: 72%; animation-duration: 19s; animation-delay: 8s; font-size: 17px; }
.leaf-7 { left: 82%; animation-duration: 23s; animation-delay: 1s; font-size: 21px; }
.leaf-8 { left: 90%; animation-duration: 17s; animation-delay: 6s; font-size: 19px; }
.leaf-9 { left: 25%; animation-duration: 21s; animation-delay: 10s; font-size: 15px; }
.leaf-10 { left: 55%; animation-duration: 24s; animation-delay: 4s; font-size: 23px; }

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

/* ===================================================
   HEADER — MONKEY HANGING NAV
   =================================================== */
.header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: var(--container-max);
    z-index: 1000;
    border-radius: var(--radius-xl);
    background: rgba(4, 18, 12, 0.85);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.3),
        0 0 60px var(--green-glow-soft),
        inset 0 1px 0 rgba(255,255,255,0.05);
    transition: var(--transition-base);
}

.header.scrolled {
    background: rgba(4, 18, 12, 0.95);
    box-shadow:
        0 4px 20px rgba(0,0,0,0.4),
        0 0 40px var(--green-glow-soft);
}

.header-vine {
    position: absolute;
    top: -10px;
    pointer-events: none;
    z-index: -1;
}

.header-vine-left {
    left: 20px;
}

.header-vine-right {
    right: 20px;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    gap: 20px;
}

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

.logo-icon {
    font-size: 28px;
    animation: monkeyBob 2s ease-in-out infinite;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-dot {
    color: var(--green-400);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-bounce);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--green-400);
    background: rgba(34,197,94,0.1);
}

.nav-emoji {
    font-size: 16px;
}

/* Header CTA */
.header-cta {
    flex-shrink: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

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

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ----- HANGING MONKEY ----- */
.hanging-monkey {
    position: absolute;
    right: 180px;
    top: -5px;
    z-index: 1001;
    pointer-events: none;
    animation: monkeySwing 4s ease-in-out infinite;
    transform-origin: top center;
}

.monkey-tail svg {
    display: block;
    margin: 0 auto;
}

.monkey-body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.monkey-face {
    position: relative;
    width: 52px;
    height: 52px;
}

.monkey-ears {
    position: absolute;
    top: 2px;
    left: -8px;
    right: -8px;
    display: flex;
    justify-content: space-between;
}

.monkey-ear {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #8B6914;
    border: 2px solid #6B4F10;
}

.monkey-ear::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D4A574;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ear-left::after { left: 55%; }
.ear-right::after { left: 45%; }

.monkey-head {
    position: absolute;
    top: 4px;
    left: 2px;
    right: 2px;
    bottom: 0;
    background: radial-gradient(ellipse at center, #A0722A, #8B6914);
    border-radius: 50% 50% 45% 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.monkey-eyes {
    display: flex;
    gap: 10px;
    margin-top: -2px;
}

.monkey-eye {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.monkey-pupil {
    width: 6px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.monkey-nose {
    width: 16px;
    height: 10px;
    background: #D4A574;
    border-radius: 50%;
    margin-top: 2px;
    position: relative;
}

.monkey-nose::before,
.monkey-nose::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: #6B4F10;
    border-radius: 50%;
    top: 3px;
}

.monkey-nose::before { left: 3px; }
.monkey-nose::after { right: 3px; }

.monkey-mouth {
    width: 12px;
    height: 6px;
    border-bottom: 2px solid #6B4F10;
    border-radius: 0 0 50% 50%;
    margin-top: 1px;
}

.monkey-arm {
    position: absolute;
    width: 8px;
    height: 20px;
    background: #8B6914;
    border-radius: 4px;
    top: 36px;
}

.arm-left {
    left: -4px;
    transform: rotate(15deg);
    animation: armSwing 4s ease-in-out infinite;
}

.arm-right {
    right: -4px;
    transform: rotate(-15deg);
    animation: armSwing 4s ease-in-out infinite 0.5s;
}

@keyframes monkeySwing {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes armSwing {
    0%, 100% { transform: rotate(15deg); }
    50% { transform: rotate(-10deg); }
}

/* ----- MOBILE NAV OVERLAY ----- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 18, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    text-align: center;
    padding: 40px;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-nav-monkey {
    font-size: 40px;
}

.mobile-nav-close {
    font-size: 28px;
    color: var(--text-secondary);
    padding: 8px;
    transition: var(--transition-base);
}

.mobile-nav-close:hover {
    color: var(--green-400);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 16px 32px;
    border-radius: var(--radius-md);
    transition: var(--transition-bounce);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--green-400);
    background: rgba(34,197,94,0.1);
    transform: scale(1.05);
}

.mobile-nav-cta {
    margin-top: 16px;
    width: 100%;
    max-width: 300px;
}

.mobile-nav-legal {
    margin-top: 32px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
    border-radius: inherit;
    pointer-events: none;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.btn-primary {
    background: var(--green-gradient);
    color: #04120c;
    box-shadow: 0 4px 20px var(--green-glow);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px var(--green-glow), 0 0 60px var(--green-glow-soft);
}

.btn-cta {
    background: var(--orange-gradient);
    color: #1a0a00;
    box-shadow: 0 4px 20px var(--orange-glow);
    animation: ctaPulse 3s ease-in-out infinite;
}

.btn-cta:hover {
    box-shadow: 0 8px 30px var(--orange-glow), 0 0 60px var(--orange-glow-soft);
    animation: none;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 20px var(--orange-glow); }
    50% { box-shadow: 0 4px 30px var(--orange-glow), 0 0 50px var(--orange-glow-soft); }
}

.btn-glass {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-glass:hover {
    background: var(--glass-bg-hover);
    border-color: var(--green-400);
    box-shadow: 0 4px 20px var(--green-glow-soft);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

/* ===================================================
   HERO SECTION — CRAZY JUNGLE WORLD
   =================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 0 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.jungle-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.jungle-layer-far {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(34,197,94,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(34,197,94,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(15,42,31,0.9) 0%, transparent 60%);
    animation: parallaxFar 20s ease-in-out infinite;
}

.jungle-layer-mid {
    background:
        radial-gradient(ellipse at 10% 90%, rgba(34,197,94,0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 85%, rgba(139,92,246,0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(245,158,11,0.04) 0%, transparent 50%);
    animation: parallaxMid 15s ease-in-out infinite;
}

.jungle-layer-near {
    background:
        linear-gradient(to top, rgba(4,18,12,0.95) 0%, transparent 40%),
        radial-gradient(ellipse at 30% 100%, rgba(34,197,94,0.15) 0%, transparent 30%),
        radial-gradient(ellipse at 70% 100%, rgba(34,197,94,0.1) 0%, transparent 30%);
}

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

@keyframes parallaxMid {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(8px) translateY(-5px); }
}

/* Light Rays */
.light-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ray {
    position: absolute;
    top: -20%;
    width: 2px;
    height: 60%;
    background: linear-gradient(to bottom, rgba(34,197,94,0.15), transparent);
    transform-origin: top center;
    animation: rayShimmer 8s ease-in-out infinite;
}

.ray-1 { left: 15%; animation-delay: 0s; transform: rotate(15deg); width: 3px; }
.ray-2 { left: 35%; animation-delay: 2s; transform: rotate(5deg); }
.ray-3 { left: 50%; animation-delay: 4s; transform: rotate(-3deg); width: 4px; }
.ray-4 { left: 70%; animation-delay: 1s; transform: rotate(-10deg); }
.ray-5 { left: 85%; animation-delay: 3s; transform: rotate(-18deg); width: 3px; }

@keyframes rayShimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--green-400);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-emoji {
    display: inline-block;
    animation: emojiBounce 2s ease-in-out infinite;
}

@keyframes emojiBounce {
    0%, 100% { transform: translateY(0) rotate(0); }
    25% { transform: translateY(-8px) rotate(-5deg); }
    75% { transform: translateY(-4px) rotate(5deg); }
}

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

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

.hero-subtitle {
    font-size: clamp(16px, 2.2vw, 22px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-legal {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--green-400);
    border-bottom: 2px solid var(--green-400);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
    50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--green-400);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* ===================================================
   GAME SECTION
   =================================================== */
.game-section {
    padding: var(--section-spacing) 0;
    position: relative;
}

.game-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.game-frame-wrapper {
    position: relative;
    width: 100%;
    max-width: 960px;
}

.game-frame-border {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: calc(var(--radius-lg) + 3px);
    background: conic-gradient(from 0deg, var(--green-500), var(--orange-500), var(--purple-500), var(--green-500));
    animation: borderRotate 4s linear infinite;
    z-index: 0;
    opacity: 0.7;
}

@keyframes borderRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.game-frame {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

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

.game-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.game-info {
    text-align: center;
    max-width: 700px;
    padding: 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.game-info-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.game-info-text {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.game-info-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-green {
    background: rgba(34,197,94,0.15);
    color: var(--green-400);
    border: 1px solid rgba(34,197,94,0.3);
}

.tag-orange {
    background: rgba(245,158,11,0.15);
    color: var(--orange-400);
    border: 1px solid rgba(245,158,11,0.3);
}

.tag-purple {
    background: rgba(139,92,246,0.15);
    color: var(--purple-400);
    border: 1px solid rgba(139,92,246,0.3);
}

/* ===================================================
   HOW TO PLAY MODAL
   =================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 18, 12, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 560px;
    width: 100%;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-slow);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 20px;
    color: var(--text-muted);
    padding: 8px;
    transition: var(--transition-base);
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.modal-title {
    font-size: 24px;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.how-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.how-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--green-gradient);
    color: #04120c;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
}

.how-step strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.how-step p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.modal-legal {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

/* ===================================================
   FEATURES SECTION
   =================================================== */
.features-section {
    padding: var(--section-spacing) 0;
    position: relative;
}

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

.feature-card {
    grid-column: span 4;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green-gradient);
    opacity: 0;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--glass-bg-hover);
    border-color: rgba(34,197,94,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 40px var(--green-glow-soft);
}

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

.feature-card-lg {
    grid-column: span 12;
    text-align: center;
    padding: 48px;
}

.feature-card-wide {
    grid-column: span 8;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-card-lg .feature-icon {
    margin: 0 auto 20px;
}

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

.feature-icon-orange {
    background: rgba(245,158,11,0.15);
    box-shadow: 0 0 20px var(--orange-glow-soft);
}

.feature-icon-purple {
    background: rgba(139,92,246,0.15);
    box-shadow: 0 0 20px var(--purple-glow-soft);
}

.feature-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
    padding: var(--section-spacing) 0;
}

.cta-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, var(--green-glow-soft) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, var(--orange-glow-soft) 0%, transparent 50%);
    opacity: 0.5;
    animation: ctaBgShift 8s ease-in-out infinite;
}

@keyframes ctaBgShift {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

.cta-title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 16px;
}

.cta-text {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ===================================================
   PAGE HERO (subpages)
   =================================================== */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    background:
        radial-gradient(ellipse at 50% 80%, var(--green-glow-soft) 0%, transparent 50%);
}

.page-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ===================================================
   CONTENT SECTIONS (subpages)
   =================================================== */
.content-section {
    padding: 0 0 var(--section-spacing);
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.content-card {
    padding: 40px;
    margin-bottom: 24px;
}

.content-card h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.content-card p:last-child {
    margin-bottom: 0;
}

.content-card a {
    color: var(--green-400);
    text-decoration: underline;
    text-decoration-color: rgba(34,197,94,0.3);
}

.content-card a:hover {
    text-decoration-color: var(--green-400);
}

.content-list {
    padding-left: 8px;
    margin-bottom: 16px;
}

.content-list li {
    padding: 6px 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-card h2 {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

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

/* ===================================================
   CONTACT FORM
   =================================================== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition-base);
    outline: none;
}

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

.form-input:focus {
    border-color: var(--green-400);
    box-shadow: 0 0 20px var(--green-glow-soft);
    background: rgba(255,255,255,0.06);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%234ade80'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form-submit {
    align-self: flex-start;
    margin-top: 8px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 24px;
    color: var(--green-400);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-secondary);
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-method-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-method strong {
    display: block;
    color: var(--text-primary);
    font-family: var(--font-heading);
    margin-bottom: 4px;
}

.contact-method p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-badge {
    display: inline-flex;
    padding: 6px 14px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--green-400);
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links li,
.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--green-400);
    transform: translateX(4px);
    display: inline-block;
}

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

.footer-legal {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 12px;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.footer-bottom-links {
    font-size: 13px;
}

.footer-bottom-links a {
    color: var(--text-secondary);
}

.footer-bottom-links a:hover {
    color: var(--green-400);
}

/* ===================================================
   ANIMATIONS
   =================================================== */

/* Fade in on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.animate-on-scroll[data-delay="100"] { transition-delay: 100ms; }
.animate-on-scroll[data-delay="200"] { transition-delay: 200ms; }
.animate-on-scroll[data-delay="300"] { transition-delay: 300ms; }
.animate-on-scroll[data-delay="400"] { transition-delay: 400ms; }

/* ===================================================
   RESPONSIVE
   =================================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 80px;
    }

    .hanging-monkey {
        display: none;
    }

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

    .feature-card {
        grid-column: span 1;
    }

    .feature-card-lg {
        grid-column: span 2;
    }

    .feature-card-wide {
        grid-column: span 2;
    }

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }

    .header {
        top: 12px;
        width: calc(100% - 24px);
    }

    .header-nav {
        padding: 12px 20px;
    }

    .header-vine {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .feature-card,
    .feature-card-lg,
    .feature-card-wide {
        grid-column: span 1;
    }

    .feature-card-lg {
        padding: 32px 24px;
    }

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

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

    .game-frame {
        aspect-ratio: 4/3;
    }

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

    .modal-content {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 15px;
    }

    .game-controls {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-leaves {
        display: none;
    }

    .cursor-glow {
        display: none;
    }
}

/* ===================================================
   UTILITIES
   =================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}