/* 2025 Green Color Palette Variables */
:root {
    --primary-green: #00ff88;        /* Neon green */
    --secondary-green: #39ff14;      /* Electric lime */
    --accent-green: #00cc6a;         /* Deep emerald */
    --dark-green: #004d2a;           /* Forest green */
    --light-green: #7dce94;          /* Soft mint */
    --gradient-green: linear-gradient(135deg, #00ff88, #39ff14, #7dce94);
    --neon-glow: 0 0 20px rgba(0, 255, 136, 0.6);
    --soft-glow: 0 0 10px rgba(0, 255, 136, 0.3);
    --background-dark: #0a0a0a;      /* Rich black */
    --background-card: #1a1a1a;      /* Card background */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #a0a0a0;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Critical LCP optimization - reduce initial image load */
.delayed-load {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.delayed-load.loaded {
    opacity: 1;
}

/* Reduce layout shifts with proper sizing */
.walk-sprite, .showcase-mog {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Optimize animations for performance */
.character, .floating-mog, .bouncing-mog, .spinning-mog {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Critical above-the-fold optimization */
.hero-background .bg-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Preload critical fonts */
@font-face {
    font-family: 'Orbitron';
    font-display: swap;
}

/* TRIPPY GREEN GAME BUTTON - INSTANT EYE MAGNET */
.cta-game {
    background: linear-gradient(45deg, #00ff88, #39ff14, #7dce94, #00cc6a, #00ff88);
    background-size: 400% 400%;
    animation: trippyGreenPulse 1.5s ease-in-out infinite, gameButtonFloat 3s ease-in-out infinite;
    color: #000 !important;
    font-weight: 900;
    font-size: 1.2rem;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow:
        0 0 20px rgba(0, 255, 136, 0.8),
        0 0 40px rgba(0, 255, 136, 0.6),
        0 0 60px rgba(0, 255, 136, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.cta-game::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 255, 136, 0.3), transparent, rgba(57, 255, 20, 0.3), transparent);
    animation: trippyRotate 2s linear infinite;
    z-index: -1;
}

.cta-game::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(45deg, #00ff88, #39ff14, #7dce94, #00cc6a);
    border-radius: 47px;
    z-index: -1;
}

.cta-game:hover {
    transform: scale(1.1) rotate(5deg);
    animation-duration: 0.8s;
    box-shadow:
        0 0 30px rgba(0, 255, 136, 1),
        0 0 60px rgba(0, 255, 136, 0.8),
        0 0 90px rgba(0, 255, 136, 0.6),
        0 0 120px rgba(0, 255, 136, 0.4);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.cta-game:active {
    transform: scale(0.95) rotate(-2deg);
}

@keyframes trippyGreenPulse {
    0%, 100% {
        background-position: 0% 50%;
        filter: brightness(1) saturate(1);
    }
    25% {
        background-position: 100% 50%;
        filter: brightness(1.2) saturate(1.3);
    }
    50% {
        background-position: 200% 50%;
        filter: brightness(1.4) saturate(1.5);
    }
    75% {
        background-position: 300% 50%;
        filter: brightness(1.2) saturate(1.3);
    }
}

@keyframes gameButtonFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-3px) rotate(1deg); }
    66% { transform: translateY(2px) rotate(-1deg); }
}

@keyframes trippyRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Trippy footer game link */
.footer-link.game-link {
    background: linear-gradient(45deg, #00ff88, #39ff14);
    color: #000 !important;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid #ffffff;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
    transition: all 0.3s ease;
    animation: footerGameGlow 2s ease-in-out infinite;
}

.footer-link.game-link:hover {
    transform: scale(1.15) rotate(3deg);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.9);
    background: linear-gradient(45deg, #39ff14, #00ff88);
    animation-duration: 1s;
}

@keyframes footerGameGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 255, 136, 0.6); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 136, 0.8); }
}

/* MEMEABLE CURSOR SYSTEM! đźŽŻ - MUCH MORE PROMINENT */
body, html {
    cursor: url('images/head1.png') 32 32, auto; /* Doubled size for prominence */
}

/* Cursor hover effects for interactive elements */
button, a, .clickable {
    cursor: url('images/head1.png') 32 32, pointer; /* Doubled size */
    transition: transform 0.2s ease;
}

button:hover, a:hover, .clickable:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Custom cursor trail enhancement */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #00ff88, transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    animation: trailFade 0.8s ease-out forwards;
}

@keyframes trailFade {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

/* ADVANCED FIREWORKS SYSTEM! đźŽ† */
.fireworks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Enhanced firework particles for fallback */
.firework-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: advancedExplode 1.5s ease-out forwards;
}

/* Large particles */
.firework-large {
    width: 12px;
    height: 12px;
    box-shadow: 0 0 20px currentColor;
}

/* Medium particles */
.firework-medium {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 15px currentColor;
}

/* Small particles */
.firework-small {
    width: 4px;
    height: 4px;
    box-shadow: 0 0 10px currentColor;
}

/* Advanced explosion animation */
@keyframes advancedExplode {
    0% {
        transform: scale(0) rotate(0deg) translate(0, 0);
        opacity: 1;
        filter: brightness(2);
    }
    50% {
        opacity: 0.8;
        filter: brightness(1.5);
    }
    100% {
        transform: scale(1.5) rotate(720deg) translate(var(--dx, 100px), var(--dy, 100px));
        opacity: 0;
        filter: brightness(0.5);
    }
}

/* Sparkle effect */
.sparkle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle 0.6s ease-out forwards;
}

@keyframes sparkle {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-green);
    text-shadow: var(--soft-glow);
}

.buy-btn {
    background: var(--gradient-green);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: var(--background-dark);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--soft-glow);
}

.buy-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--neon-glow);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Add depth shadow at the bottom of hero section */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 100%);
    z-index: 11;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 255, 136, 0.4) 0%,
        rgba(57, 255, 20, 0.3) 50%,
        rgba(125, 206, 148, 0.2) 100%);
    z-index: 2;
}

/* SmartSlider-inspired Layers Container */
.walking-characters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    /* SmartSlider-style layer container */
    overflow: hidden;
    /* Add subtle street texture */
    background: linear-gradient(to bottom,
        transparent 0%,
        transparent 70%,
        rgba(0, 255, 136, 0.02) 85%,
        rgba(0, 255, 136, 0.05) 95%,
        rgba(0, 255, 136, 0.08) 100%);
}

/* Remove the masking effect - let the next section boundary do the cutting */
.walking-characters::after {
    display: none;
}

/* Add a ground/street line effect */
.walking-characters::before {
    content: '';
    position: absolute;
    bottom: 30%; /* Moved higher to create better ground illusion */
    left: 0;
    width: 100%;
    height: 3px; /* Slightly thicker */
    background: linear-gradient(to right,
        transparent 0%,
        rgba(0, 255, 136, 0.15) 10%,
        rgba(0, 255, 136, 0.3) 30%,
        rgba(0, 255, 136, 0.4) 50%,
        rgba(0, 255, 136, 0.3) 70%,
        rgba(0, 255, 136, 0.15) 90%,
        transparent 100%);
    z-index: 9;
    pointer-events: none;
    opacity: 0.4; /* More visible */
    /* Add a subtle glow effect */
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.character {
    position: absolute;
    z-index: 3;
    /* Position characters at the bottom edge of hero section */
    bottom: -10%; /* Extend into gray section so lower bodies are hidden */
    /* SmartSlider-style transforms */
    transform-origin: center bottom;
    will-change: transform;
    /* Smooth entrance animations - start invisible */
    opacity: 0;
    /* Add subtle perspective effect for depth */
    transition: opacity 0.3s ease-out;
    /* Smooth entrance animation */
    animation: smoothEntrance 1s ease-out forwards;
}
}

/* Characters fade slightly as they approach the bottom edge */
.character:nth-child(odd) {
    animation-timing-function: ease-in-out;
}

.character:nth-child(even) {
    animation-timing-function: ease-out;
}

.walk-sprite {
    width: clamp(120px, 12vw, 250px); /* Slightly smaller for better balance */
    height: clamp(120px, 12vw, 250px);
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--primary-green))
            drop-shadow(0 0 5px var(--secondary-green));
    transition: filter 0.3s ease;
    /* Add walking bobbing animation */
    animation: walkBob 0.6s ease-in-out infinite alternate;
    /* SmartSlider-style optimizations */
    backface-visibility: hidden;
    transform-style: flat;
}

/* Walking bobbing animation to simulate walking */
@keyframes walkBob {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-3px); }
}

/* Layer-based Character Positioning (SmartSlider-inspired) */

/* Street Level Characters - Main walking area */
[data-layer="street"],
.fast-walker-1, .fast-walker-2, .fast-walker-3 {
    bottom: -10%; /* Extend into gray section so lower bodies are hidden */
    z-index: 5;
    transform: scale(1.0); /* Normal size - no jarring pop-in */
}

.fast-walker-1 {
    animation: walkLeftToRight 8s linear infinite; /* No delay - start immediately */
    bottom: -8%; /* Slightly higher for depth */
}

.fast-walker-2 {
    animation: walkLeftToRight 6s linear infinite 0.5s; /* Very short delay */
    bottom: -12%; /* Slightly lower for depth */
}

.fast-walker-3 {
    animation: walkLeftToRight 7s linear infinite 1s; /* Short delay */
    bottom: -10%; /* At the boundary */
}

/* Sidewalk Level Characters - Slightly elevated */
[data-layer="sidewalk"],
.medium-walker-1, .medium-walker-2, .medium-walker-3, .medium-walker-4 {
    bottom: -12%; /* Extend into gray section for lower body hiding */
    z-index: 4;
    transform: scale(1.8); /* Large size but smaller than street level */
    opacity: 0.95;
}

.medium-walker-1 {
    animation: walkLeftToRight 12s linear infinite; /* No delay */
}

.medium-walker-2 {
    animation: walkLeftToRight 14s linear infinite; /* No delay */
}

.medium-walker-3 {
    animation: walkLeftToRight 13s linear infinite; /* No delay */
}

.medium-walker-4 {
    animation: walkLeftToRight 11s linear infinite; /* No delay */
}

/* Background Characters - Distant */
[data-layer="background"],
.slow-walker-1, .slow-walker-2, .slow-walker-3 {
    bottom: -15%; /* Background level - extend into gray section */
    z-index: 2;
    transform: scale(1.5); /* Smaller for background depth */
    opacity: 0.85;
}

.slow-walker-1 {
    animation: walkLeftToRight 18s linear infinite; /* No delay */
}

.slow-walker-2 {
    animation: walkLeftToRight 20s linear infinite; /* No delay */
}

.slow-walker-3 {
    animation: walkLeftToRight 22s linear infinite; /* No delay */
}

/* Reverse Walkers - Right to Left */
.reverse-walker-1 {
    bottom: -8%; /* Extend into gray section */
    z-index: 5;
    animation: smoothEntranceFromRight 1s ease-out forwards, walkRightToLeft 10s linear infinite 1s;
    transform: scale(1.1);
}

.reverse-walker-2 {
    bottom: -11%; /* Extend further into gray section */
    z-index: 4;
    animation: walkRightToLeft 12s linear infinite;
    transform: scale(1.9);
}

.reverse-walker-3 {
    bottom: -9%; /* Extend into gray section */
    z-index: 5;
    animation: walkRightToLeft 9s linear infinite;
    transform: scale(1.0);
}

.reverse-walker-4 {
    bottom: -7%; /* Extend into gray section */
    z-index: 5;
    animation: walkRightToLeft 11s linear infinite;
    transform: scale(1.05);
}

.reverse-walker-5 {
    bottom: -13%; /* Extend furthest into gray section */
    z-index: 4;
    animation: walkRightToLeft 13s linear infinite;
    transform: scale(1.7);
}

/* Foreground Characters - Closest to camera */
[data-layer="foreground"],
.floater-1, .diagonal-1 {
    bottom: -6%; /* Extend into gray section for lower body hiding */
    z-index: 6;
    transform: scale(1.2); /* Slightly larger for foreground depth */
    opacity: 1.0;
}

.floater-1 {
    animation: walkLeftToRight 16s linear infinite;
}

.diagonal-1 {
    animation: walkLeftToRight 9s linear infinite;
}

/* Mixed Layer Characters */
.floater-2 {
    bottom: -10%; /* Extend into gray section */
    z-index: 5;
    animation: walkRightToLeft 14s linear infinite;
    transform: scale(1.9);
}

/* Crowd Characters - Create dense street effect */
.crowd-walker-1 {
    bottom: -7%; /* Extend into gray section */
    z-index: 5;
    animation: walkLeftToRight 15s linear infinite;
    transform: scale(1.15);
    opacity: 0.9;
}

.crowd-walker-2 {
    bottom: -14%; /* Background level - extend further */
    z-index: 4;
    animation: walkLeftToRight 17s linear infinite;
    transform: scale(1.6);
    opacity: 0.85;
}

.crowd-walker-3 {
    bottom: -16%; /* Further back - extend furthest */
    z-index: 3;
    animation: walkRightToLeft 19s linear infinite;
    transform: scale(1.4);
    opacity: 0.8;
}

.crowd-walker-4 {
    bottom: -9%; /* Extend into gray section */
    z-index: 5;
    animation: walkLeftToRight 13s linear infinite;
    transform: scale(1.05);
    opacity: 0.95;
}

.crowd-walker-5 {
    bottom: -11%; /* Extend into gray section */
    z-index: 4;
    animation: walkRightToLeft 16s linear infinite;
    transform: scale(1.8);
    opacity: 0.88;
}

.crowd-walker-6 {
    bottom: -5%; /* Extend into gray section */
    z-index: 6;
    animation: walkLeftToRight 14s linear infinite;
    transform: scale(1.1);
    opacity: 0.92;
}

/* CROWD EXPANSION - Additional characters for busy street effect */

/* Additional Fast Walkers */
.crowd-fast-1 {
    bottom: -8%;
    z-index: 5;
    animation: walkLeftToRight 7s linear infinite 1s;
    transform: scale(0.95);
    opacity: 0.9;
}

.crowd-fast-2 {
    bottom: -12%;
    z-index: 4;
    animation: walkLeftToRight 9s linear infinite 3s;
    transform: scale(0.85);
    opacity: 0.8;
}

.crowd-fast-3 {
    bottom: -6%;
    z-index: 6;
    animation: walkLeftToRight 6s linear infinite 2s;
    transform: scale(1.05);
    opacity: 0.95;
}

.crowd-fast-4 {
    bottom: -14%;
    z-index: 3;
    animation: walkLeftToRight 11s linear infinite 4s;
    transform: scale(0.75);
    opacity: 0.7;
}

.crowd-fast-5 {
    bottom: -9%;
    z-index: 5;
    animation: walkLeftToRight 8s linear infinite 0.5s;
    transform: scale(0.9);
    opacity: 0.85;
}

/* Additional Reverse Walkers */
.crowd-reverse-1 {
    bottom: -7%;
    z-index: 5;
    animation: walkRightToLeft 10s linear infinite 2s;
    transform: scale(0.95);
    opacity: 0.9;
}

.crowd-reverse-2 {
    bottom: -13%;
    z-index: 3;
    animation: walkRightToLeft 12s linear infinite 1s;
    transform: scale(0.8);
    opacity: 0.75;
}

.crowd-reverse-3 {
    bottom: -5%;
    z-index: 6;
    animation: walkRightToLeft 8s linear infinite 3s;
    transform: scale(1.1);
    opacity: 0.95;
}

.crowd-reverse-4 {
    bottom: -11%;
    z-index: 4;
    animation: walkRightToLeft 14s linear infinite 0.5s;
    transform: scale(0.85);
    opacity: 0.8;
}

.crowd-reverse-5 {
    bottom: -9%;
    z-index: 5;
    animation: walkRightToLeft 9s linear infinite 4s;
    transform: scale(0.9);
    opacity: 0.85;
}

/* Background Crowd Characters */
.crowd-bg-1 {
    bottom: -16%;
    z-index: 2;
    animation: walkLeftToRight 18s linear infinite 1s;
    transform: scale(0.65);
    opacity: 0.6;
}

.crowd-bg-2 {
    bottom: -18%;
    z-index: 1;
    animation: walkRightToLeft 20s linear infinite 3s;
    transform: scale(0.6);
    opacity: 0.55;
}

.crowd-bg-3 {
    bottom: -15%;
    z-index: 2;
    animation: walkLeftToRight 16s linear infinite 2s;
    transform: scale(0.7);
    opacity: 0.65;
}

.crowd-bg-4 {
    bottom: -17%;
    z-index: 1;
    animation: walkRightToLeft 22s linear infinite 4s;
    transform: scale(0.6);
    opacity: 0.5;
}

.crowd-bg-5 {
    bottom: -19%;
    z-index: 1;
    animation: walkLeftToRight 24s linear infinite 0.5s;
    transform: scale(0.55);
    opacity: 0.45;
}

.crowd-bg-6 {
    bottom: -14%;
    z-index: 2;
    animation: walkRightToLeft 17s linear infinite 2.5s;
    transform: scale(0.75);
    opacity: 0.7;
}

/* Varied Speed Crowd */
.crowd-varied-1 {
    bottom: -10%;
    z-index: 4;
    animation: walkLeftToRight 13s linear infinite 1.5s;
    transform: scale(0.8);
    opacity: 0.8;
}

.crowd-varied-2 {
    bottom: -6%;
    z-index: 6;
    animation: walkRightToLeft 7s linear infinite 2.5s;
    transform: scale(1.05);
    opacity: 0.9;
}

.crowd-varied-3 {
    bottom: -12%;
    z-index: 3;
    animation: walkLeftToRight 15s linear infinite 3.5s;
    transform: scale(0.75);
    opacity: 0.75;
}

.crowd-varied-4 {
    bottom: -8%;
    z-index: 5;
    animation: walkRightToLeft 11s linear infinite 1s;
    transform: scale(0.9);
    opacity: 0.85;
}

.crowd-varied-5 {
    bottom: -11%;
    z-index: 4;
    animation: walkLeftToRight 9s linear infinite 4.5s;
    transform: scale(0.85);
    opacity: 0.8;
}

.floater-3 {
    bottom: -12%;
    z-index: 4;
    animation: walkLeftToRight 19s linear infinite 5s;
    transform: scale(0.85);
    opacity: 0.9;
}

.diagonal-2 {
    bottom: -14%;
    z-index: 3;
    animation: walkRightToLeft 11s linear infinite 6s;
    transform: scale(0.75);
    opacity: 0.85;
}

/* Distant Background Characters */
.random-1 {
    bottom: -18%;
    z-index: 1;
    animation: walkLeftToRight 25s linear infinite;
    transform: scale(0.6);
    opacity: 0.6;
}

.random-2 {
    bottom: -16%;
    z-index: 1;
    animation: walkRightToLeft 23s linear infinite 8s;
    transform: scale(0.65);
    opacity: 0.65;
}

/* Animation Keyframes */

/* Smooth Entrance Animations - No more abrupt spawning! */
@keyframes smoothEntrance {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes smoothEntranceFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes walkLeftToRight {
    0% {
        left: -100px;
        transform: scaleX(1);
    }
    100% {
        left: calc(100% + 100px);
        transform: scaleX(1);
    }
}

@keyframes walkRightToLeft {
    0% {
        left: calc(100% + 100px);
        transform: scaleX(-1);
    }
    100% {
        left: -100px;
        transform: scaleX(-1);
    }
}

/* Additional walking variations for depth */
@keyframes walkLeftToRightSlow {
    0% {
        left: -100px;
        transform: scaleX(1);
    }
    100% {
        left: calc(100% + 100px);
        transform: scaleX(1);
    }
}

@keyframes walkRightToLeftSlow {
    0% {
        left: calc(100% + 100px);
        transform: scaleX(-1);
    }
    100% {
        left: -100px;
        transform: scaleX(-1);
    }
}

/* Staggered walking for more natural movement */
@keyframes walkLeftToRightStagger1 {
    0% {
        left: -80px;
        transform: scaleX(1);
    }
    100% {
        left: calc(100% + 80px);
        transform: scaleX(1);
    }
}

@keyframes walkLeftToRightStagger2 {
    0% {
        left: -120px;
        transform: scaleX(1);
    }
    100% {
        left: calc(100% + 120px);
        transform: scaleX(1);
    }
}

@keyframes walkRightToLeftStagger1 {
    0% {
        left: calc(100% + 80px);
        transform: scaleX(-1);
    }
    100% {
        left: -80px;
        transform: scaleX(-1);
    }
}

@keyframes walkRightToLeftStagger2 {
    0% {
        left: calc(100% + 120px);
        transform: scaleX(-1);
    }
    100% {
        left: -120px;
        transform: scaleX(-1);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.hero-title {
    margin-bottom: 2rem;
}

.main-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    color: #ffffff;
    text-shadow:
        0 0 20px rgba(0, 255, 136, 0.8),
        0 0 40px rgba(0, 255, 136, 0.6),
        0 0 60px rgba(0, 255, 136, 0.4),
        2px 2px 0px rgba(0, 0, 0, 0.9),
        -2px -2px 0px rgba(0, 0, 0, 0.9),
        2px -2px 0px rgba(0, 0, 0, 0.9),
        -2px 2px 0px rgba(0, 0, 0, 0.9);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.title-line-1, .title-line-2 {
    display: block;
}

.title-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow:
        0 0 15px rgba(57, 255, 20, 0.8),
        0 0 30px rgba(57, 255, 20, 0.5),
        1px 1px 0px rgba(0, 0, 0, 0.8),
        -1px -1px 0px rgba(0, 0, 0, 0.8),
        1px -1px 0px rgba(0, 0, 0, 0.8),
        -1px 1px 0px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-text {
    margin-bottom: 3rem;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow:
        0 0 10px rgba(125, 206, 148, 0.8),
        0 0 20px rgba(125, 206, 148, 0.5),
        1px 1px 0px rgba(0, 0, 0, 0.8),
        -1px -1px 0px rgba(0, 0, 0, 0.8),
        1px -1px 0px rgba(0, 0, 0, 0.8),
        -1px 1px 0px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    display: inline-block;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    text-shadow:
        1px 1px 0px rgba(0, 0, 0, 0.8),
        -1px -1px 0px rgba(0, 0, 0, 0.8),
        1px -1px 0px rgba(0, 0, 0, 0.8),
        -1px 1px 0px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-primary {
    background: var(--gradient-green);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    color: var(--background-dark);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: var(--soft-glow);
}

.cta-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--neon-glow);
    filter: brightness(1.1);
}

.cta-secondary {
    background: transparent;
    border: 2px solid var(--accent-green);
    padding: 1rem 2rem;
    border-radius: 30px;
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-secondary:hover {
    background: var(--accent-green);
    color: var(--background-dark);
    transform: scale(1.05);
    box-shadow: var(--soft-glow);
}

.hero-ticker {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--dark-green);
    padding: 1rem;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.ticker-content {
    display: flex;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    margin-right: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.1rem;
    text-shadow: var(--soft-glow);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Silly Title Animation */
.silly-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #ffffff;
    text-shadow:
        0 0 20px rgba(0, 255, 136, 0.8),
        0 0 40px rgba(0, 255, 136, 0.6),
        2px 2px 0px rgba(0, 0, 0, 0.9),
        -2px -2px 0px rgba(0, 0, 0, 0.9),
        2px -2px 0px rgba(0, 0, 0, 0.9),
        -2px 2px 0px rgba(0, 0, 0, 0.9);
    animation: sillyBounce 2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes sillyBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.05) rotate(-1deg); }
    50% { transform: scale(1.1) rotate(0deg); }
    75% { transform: scale(1.05) rotate(1deg); }
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-card), #2a2a2a);
    position: relative;
    overflow: hidden;
    z-index: 10; /* Higher than walking characters to hide their lower bodies */
}

/* Floating MOG Characters */
.floating-mogs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-mog {
    position: absolute;
    opacity: 0.3;
}

.floating-mog img {
    width: clamp(60px, 8vw, 120px);
    height: clamp(60px, 8vw, 120px);
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--primary-green));
}

.floating-mog-1 {
    top: 10%;
    left: 5%;
    animation: floatAround 15s ease-in-out infinite;
}

.floating-mog-2 {
    top: 20%;
    right: 10%;
    animation: floatAround 18s ease-in-out infinite reverse;
}

.floating-mog-3 {
    bottom: -30%;
    left: 15%;
    animation: floatAround 12s ease-in-out infinite;
}

.floating-mog-4 {
    bottom: -15%;
    right: 5%;
    animation: floatAround 20s ease-in-out infinite reverse;
}

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(20px, -30px) rotate(5deg) scale(1.1); }
    50% { transform: translate(-15px, -20px) rotate(-3deg) scale(0.9); }
    75% { transform: translate(25px, 10px) rotate(7deg) scale(1.05); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-green);
    margin-bottom: 1rem;
    text-shadow: var(--neon-glow);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.mog-showcase {
    text-align: center;
}

.showcase-mog {
    width: clamp(200px, 25vw, 350px);
    height: clamp(200px, 25vw, 350px);
    object-fit: contain;
    filter: drop-shadow(0 0 30px var(--primary-green));
    animation: showcaseBounce 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-mog:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 50px var(--secondary-green));
}

@keyframes showcaseBounce {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.about-text .lead-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 2rem;
    line-height: 1.3;
    text-shadow: var(--soft-glow);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 255, 136, 0.08);
    border-radius: 20px;
    border: 1px solid var(--dark-green);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--soft-glow);
    border-color: var(--accent-green);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--primary-green));
}

.feature h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    text-shadow: var(--soft-glow);
}

.feature p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* COMPREHENSIVE MOBILE RESPONSIVENESS đź“± */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .hero-content {
        padding: 2rem;
    }

    .main-title {
        font-size: 4rem;
    }

    .character {
        transform: scale(0.8) !important;
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
    }

    .navbar {
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    /* Hero Section - MAJOR MOBILE FIXES */
    .hero {
        min-height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: 4rem 1rem 1rem;
        text-align: center;
        z-index: 10;
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .main-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
        padding: 0 0.5rem;
    }

    .title-line-1, .title-line-2 {
        display: block;
        margin: 0.2rem 0;
    }

    .title-subtitle {
        font-size: 0.9rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin: 1rem 0.5rem;
        padding: 0.75rem;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 8px;
        border: 1px solid var(--dark-green);
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0.75rem;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 8px;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        margin: 1.5rem 0.5rem;
        align-items: center;
    }

    .hero-actions button {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    .hero-ticker {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .ticker-item {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    /* Character animations - reduce for mobile performance */
    .character {
        transform: scale(0.6) !important;
        opacity: 0.8 !important;
    }

    .walk-sprite {
        width: 40px;
        height: 40px;
    }

    .walking-characters {
        height: 100%;
        overflow: hidden;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1;
    }

    /* MOBILE WALKING CHARACTERS - ENABLED! đźš¶â€Ťâ™‚ď¸Źđź“± */
    .character {
        position: absolute;
        bottom: 15%;
        width: 40px;
        height: 40px;
        z-index: 2;
    }

    /* Ensure all walking character animations work on mobile */
    .fast-walker-1, .fast-walker-2, .fast-walker-3 {
        animation: walk 8s linear infinite;
    }

    .medium-walker-1, .medium-walker-2, .medium-walker-3 {
        animation: walk 12s linear infinite;
    }

    .slow-walker-1, .slow-walker-2 {
        animation: walk 16s linear infinite;
    }

    /* Mobile-specific positioning adjustments */
    .fast-walker-1 { animation-delay: 0s; }
    .fast-walker-2 { animation-delay: 2s; }
    .fast-walker-3 { animation-delay: 4s; }
    .medium-walker-1 { animation-delay: 1s; }
    .medium-walker-2 { animation-delay: 3s; }
    .medium-walker-3 { animation-delay: 5s; }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-text {
        order: 2;
    }

    .mog-showcase {
        order: 1;
    }

    /* Tokenomics */
    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tokenomics-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Buy Steps */
    .buy-steps {
        gap: 2rem;
    }

    .buy-step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .step-number {
        margin-bottom: 1rem;
        position: static;
    }

    .step-mog {
        order: -1;
        margin-bottom: 1rem;
    }

    .step-mog img {
        max-width: 80px;
    }

    /* Footer - MAJOR MOBILE FIXES */
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-logo {
        order: 1;
    }

    .footer-text {
        order: 2;
    }

    .footer-links {
        order: 3;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .footer-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
}

/* Tokenomics Section */
.tokenomics-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2a2a2a, var(--background-dark));
    position: relative;
    overflow: hidden;
}

/* Bouncing MOG Characters */
.bouncing-mogs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bouncing-mog {
    position: absolute;
    opacity: 0.2;
}

.bouncing-mog img {
    width: clamp(80px, 10vw, 150px);
    height: clamp(80px, 10vw, 150px);
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--secondary-green));
}

.bouncing-mog-1 {
    top: 15%;
    left: 8%;
    animation: crazybounce 4s ease-in-out infinite;
}

.bouncing-mog-2 {
    top: 60%;
    right: 12%;
    animation: crazybounce 3s ease-in-out infinite reverse;
}

.bouncing-mog-3 {
    bottom: -20%;
    left: 50%;
    animation: crazybounce 5s ease-in-out infinite;
}

@keyframes crazybounce {
    0%, 100% { transform: translateY(0px) scale(1) rotate(0deg); }
    25% { transform: translateY(-40px) scale(1.2) rotate(10deg); }
    50% { transform: translateY(-60px) scale(0.8) rotate(-5deg); }
    75% { transform: translateY(-30px) scale(1.1) rotate(15deg); }
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    position: relative;
    z-index: 2;
}

.tokenomics-card {
    background: rgba(0, 255, 136, 0.05);
    border: 2px solid var(--dark-green);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tokenomics-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.tokenomics-card:hover::before {
    opacity: 1;
    animation: shimmer 1s ease-in-out;
}

.tokenomics-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-green);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.card-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px var(--primary-green));
    animation: cardIconSpin 6s linear infinite;
    margin-bottom: 1rem;
}

@keyframes cardIconSpin {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.tokenomics-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
    text-shadow: var(--soft-glow);
}

.tokenomics-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.card-highlight {
    background: var(--gradient-green);
    color: var(--background-dark);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.tokenomics-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    border: 1px solid var(--dark-green);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    border-color: var(--accent-green);
    box-shadow: var(--soft-glow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-green);
    text-shadow: var(--soft-glow);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Buy Section */
.buy-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-dark), #1a3a1a);
    position: relative;
    overflow: hidden;
}

/* Spinning MOG Characters */
.spinning-mogs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.spinning-mog {
    position: absolute;
    opacity: 0.25;
}

.spinning-mog img {
    width: clamp(100px, 12vw, 180px);
    height: clamp(100px, 12vw, 180px);
    object-fit: contain;
    filter: drop-shadow(0 0 20px var(--accent-green));
    animation: spinAndFloat 8s linear infinite;
}

.spinning-mog-1 {
    top: 20%;
    left: 10%;
}

.spinning-mog-2 {
    bottom: -25%;
    right: 15%;
    animation-direction: reverse;
    animation-duration: 6s;
}

@keyframes spinAndFloat {
    0% { transform: rotate(0deg) translateY(0px); }
    25% { transform: rotate(90deg) translateY(-20px); }
    50% { transform: rotate(180deg) translateY(0px); }
    75% { transform: rotate(270deg) translateY(-20px); }
    100% { transform: rotate(360deg) translateY(0px); }
}

.buy-steps {
    display: grid;
    gap: 3rem;
    margin: 4rem 0;
    position: relative;
    z-index: 2;
}

.buy-step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    background: rgba(0, 255, 136, 0.05);
    border: 2px solid var(--dark-green);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.buy-step:hover {
    transform: translateX(10px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    color: var(--background-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    animation: stepPulse 3s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    text-shadow: var(--soft-glow);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-mog img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--primary-green));
    animation: stepMogWiggle 4s ease-in-out infinite;
}

@keyframes stepMogWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
}

.buy-actions {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.mega-buy-btn {
    font-size: 1.5rem;
    padding: 1.5rem 3rem;
    margin-bottom: 2rem;
    animation: megaPulse 2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes megaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.contract-address {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--dark-green);
    border-radius: 15px;
    padding: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Courier New', monospace;
}

.copy-btn {
    background: var(--accent-green);
    border: none;
    color: var(--background-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-green);
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--background-dark);
    border-top: 2px solid var(--dark-green);
    position: relative;
    overflow: hidden;
}

.footer-mogs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.footer-mog {
    position: absolute;
    opacity: 0.15;
}

.footer-mog img {
    width: clamp(80px, 10vw, 140px);
    height: clamp(80px, 10vw, 140px);
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--primary-green));
}

.footer-mog-1 {
    top: 20%;
    left: 5%;
    animation: footerFloat 12s ease-in-out infinite;
}

.footer-mog-2 {
    bottom: -20%;
    right: 8%;
    animation: footerFloat 15s ease-in-out infinite reverse;
}

@keyframes footerFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--primary-green));
}

.footer-text {
    text-align: center;
}

.footer-text p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-link {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
}

.footer-link:hover {
    color: var(--primary-green);
    text-shadow: var(--soft-glow);
    border-color: var(--dark-green);
    background: rgba(0, 255, 136, 0.05);
    transform: translateY(-2px);
}

/* Mobile phones - CRITICAL PERFORMANCE & UX OPTIMIZATIONS */
@media (max-width: 480px) {
    /* Hero Section - CRITICAL MOBILE FIXES */
    .hero-content {
        padding: 1.5rem 1rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .title-subtitle {
        font-size: 0.9rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .hero-actions button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        max-width: 280px;
    }

    /* Characters - minimal for performance */
    .character {
        transform: scale(0.4) !important;
        opacity: 0.6 !important;
    }

    /* Reduce floating characters for performance */
    .floating-mog:nth-child(n+3),
    .bouncing-mog:nth-child(n+3),
    .spinning-mog:nth-child(n+2),
    .footer-mog:nth-child(n+2) {
        display: none;
    }

    /* Sections */
    .container {
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .buy-step {
        padding: 1rem;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    /* Contract address */
    .contract-address {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .contract-address span {
        font-size: 0.8rem;
        word-break: break-all;
    }

    /* Fireworks canvas - optimize for mobile */
    .fireworks-canvas {
        pointer-events: none;
    }

    /* Cursor trail - reduce for mobile performance */
    .cursor-trail {
        display: none;
    }

    /* Footer - MOBILE PHONE SPECIFIC FIXES */
    .footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-content {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .footer-logo img {
        width: 50px;
        height: 50px;
    }

    .footer-text p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .footer-link {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 200px;
        text-align: center;
        border: 1px solid var(--dark-green);
        background: rgba(0, 255, 136, 0.05);
    }
}
