/* ========================================
   PUMPSCARE - Professional Spooky Theme
   Modern, Responsive, Beautiful
======================================== */

/* ========================================
   RESET & BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-red: #ff0055;
    --dark-red: #cc0044;
    --blood-red: #8b0000;
    --neon-purple: #b000ff;
    --dark-purple: #4a0e4e;
    --cyan: #00ffff;
    --dark-bg: #0a0012;
    --darker-bg: #050008;
    --card-bg: rgba(20, 10, 30, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --text-white: #ffffff;
    --text-gray: #b8b8b8;
    --text-dark-gray: #666;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
}

*, *::before, *::after {
    cursor: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"%3E%3Ctext x="0" y="28" font-size="28"%3E🎃%3C/text%3E%3C/svg%3E') 16 16, auto !important;
}

body {
    font-family: 'Jolly Lodger', cursive;
    background: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Pumpkin cursor for interactive elements */
a, button, [onclick], .start-box, .end-box, input, textarea, select {
    cursor: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"%3E%3Ctext x="0" y="28" font-size="28"%3E🎃%3C/text%3E%3C/svg%3E') 16 16, pointer !important;
}

/* ========================================
   PARTICLE BACKGROUND
======================================== */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(ellipse at top, rgba(75, 0, 130, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(139, 0, 0, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, #0a0012 0%, #1a0520 50%, #0a0012 100%);
}

/* Animated particle effect */
#particles-container::before,
#particles-container::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: float 20s infinite;
}

#particles-container::before {
    top: 20%;
    left: 20%;
    box-shadow: 
        100px 100px white, 200px 300px white, 300px 150px white,
        400px 400px white, 500px 250px white, 600px 350px white,
        150px 450px white, 350px 500px white, 550px 150px white;
}

#particles-container::after {
    top: 40%;
    left: 40%;
    animation-delay: -10s;
    box-shadow: 
        150px 200px white, 250px 400px white, 350px 250px white,
        450px 500px white, 550px 350px white, 650px 450px white,
        200px 550px white, 400px 600px white, 600px 250px white;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

/* ========================================
   PAGE SYSTEM
======================================== */
.page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.page.active {
    display: flex;
    opacity: 1;
}

/* ========================================
   LANDING PAGE
======================================== */
#landing-page {
    background: 
        radial-gradient(ellipse at center, rgba(139, 0, 0, 0.3) 0%, transparent 70%),
        linear-gradient(180deg, #0a0012 0%, #1a0520 50%, #0a0012 100%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Fog Effect */
.fog-layer {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 300%;
    height: 300px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,40 Q300,80 600,40 T1200,40 L1200,120 L0,120 Z" fill="%23ffffff" opacity="0.03"/></svg>') repeat-x;
    opacity: 0.5;
}

.fog-1 {
    animation: fog 30s linear infinite;
}

.fog-2 {
    animation: fog 40s linear infinite reverse;
    animation-delay: -5s;
    opacity: 0.3;
}

.fog-3 {
    animation: fog 50s linear infinite;
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes fog {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

.landing-content {
    text-align: center;
    z-index: 10;
    animation: fadeInUp 1.2s ease;
    max-width: 900px;
    padding: 0 var(--spacing-md);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    margin-bottom: var(--spacing-lg);
    animation: float-logo 3s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    max-width: 300px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(255, 0, 85, 0.6));
    transition: all 0.3s ease;
    display: block;
}

.main-logo:hover {
    filter: drop-shadow(0 0 60px rgba(255, 0, 85, 0.9));
    transform: scale(1.05);
}

@keyframes float-logo {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.skull-icon {
    font-size: 8rem;
    margin-bottom: var(--spacing-md);
    animation: float-skull 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255, 0, 85, 0.5));
}

@keyframes float-skull {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.glitch-title {
    font-family: 'Nosifer', cursive;
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: bold;
    color: var(--primary-red);
    text-shadow: 
        0 0 20px rgba(255, 0, 85, 0.8),
        0 0 40px rgba(255, 0, 85, 0.6),
        0 0 60px rgba(255, 0, 85, 0.4);
    letter-spacing: 0;
    margin-bottom: var(--spacing-lg);
    animation: glitch-animation 5s infinite;
    text-align: center;
    position: relative;
    left: 0;
    right: 0;
    transform: translateX(0);
}

@keyframes glitch-animation {
    0%, 90%, 100% {
        text-shadow: 
            0 0 20px rgba(255, 0, 85, 0.8),
            0 0 40px rgba(255, 0, 85, 0.6),
            0 0 60px rgba(255, 0, 85, 0.4);
        transform: translate(0, 0);
    }
    92% {
        text-shadow: 
            -2px 0 0 var(--cyan),
            2px 0 0 var(--primary-red),
            0 0 20px rgba(255, 0, 85, 0.8);
        transform: translate(0, 0);
    }
    94% {
        text-shadow: 
            2px 0 0 var(--cyan),
            -2px 0 0 var(--primary-red),
            0 0 20px rgba(255, 0, 85, 0.8);
        transform: translate(0, 0);
    }
    96% {
        text-shadow: 
            0 0 20px rgba(255, 0, 85, 0.8),
            0 0 40px rgba(255, 0, 85, 0.6),
            0 0 60px rgba(255, 0, 85, 0.4);
        transform: translate(0, 0);
    }
}

.subtitle-wrapper {
    margin-bottom: var(--spacing-xl);
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-gray);
    font-weight: 300;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
}

.challenge {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--primary-red);
    font-weight: 500;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.7;
        text-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(255, 0, 85, 0.8);
    }
}

.enter-button {
    position: relative;
    font-family: 'Jolly Lodger', cursive;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    padding: var(--spacing-md) var(--spacing-xxl);
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 30px rgba(255, 0, 85, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.enter-button::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;
    z-index: 1;
    pointer-events: none;
}

.enter-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 50px rgba(255, 0, 85, 0.8),
        0 15px 40px rgba(0, 0, 0, 0.4);
}

.enter-button:hover::before {
    left: 100%;
}

.enter-button:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-text {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   GAME PAGE
======================================== */
#game-page {
    background: 
        radial-gradient(ellipse at top, rgba(75, 0, 130, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(139, 0, 0, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, #0a0012 0%, #1a0520 50%, #0a0012 100%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

#game-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

#game-particles-container::before,
#game-particles-container::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: float 20s infinite;
}

#game-particles-container::before {
    top: 20%;
    left: 20%;
    box-shadow: 
        100px 100px white, 200px 300px white, 300px 150px white,
        400px 400px white, 500px 250px white, 600px 350px white,
        150px 450px white, 350px 500px white, 550px 150px white;
}

#game-particles-container::after {
    top: 40%;
    left: 40%;
    animation-delay: -10s;
    box-shadow: 
        50px 50px white, 250px 200px white, 350px 400px white,
        450px 100px white, 550px 350px white, 100px 250px white,
        300px 50px white, 200px 450px white, 500px 200px white;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.simple-game-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.simple-game-container .game-title {
    font-family: 'Creepster', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 0, 85, 0.8);
}

.simple-game-container .game-instruction {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.skip-button {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 12px;
    background: rgba(255, 0, 85, 0.05);
    border: 1px solid rgba(255, 0, 85, 0.2);
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Jolly Lodger', cursive;
    font-size: 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100;
    opacity: 0.4;
}

.skip-button:hover {
    background: rgba(255, 0, 85, 0.2);
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
}

#maze-area {
    position: relative;
    width: 800px;
    height: 500px;
    margin: 0 auto;
    background: #000;
    border: 3px solid var(--primary-red);
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.5);
    cursor: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"%3E%3Ctext x="0" y="28" font-size="28"%3E🎃%3C/text%3E%3C/svg%3E') 16 16, crosshair !important;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    overflow: hidden;
}

.maze-path {
    position: absolute;
    transition: background 0.1s;
}

.start-box, .end-box {
    font-family: 'Jolly Lodger', cursive;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    transition: all 0.3s;
}

.start-box:hover {
    transform: scale(1.1);
}

.end-box {
    transition: transform 0.3s;
}

.game-background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.blood-drip {
    position: absolute;
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--blood-red));
    opacity: 0.6;
    animation: drip 3s ease-in infinite;
}

.drip-1 {
    left: 20%;
    animation-delay: 0s;
}

.drip-2 {
    left: 50%;
    animation-delay: 1s;
}

.drip-3 {
    left: 80%;
    animation-delay: 2s;
}

@keyframes drip {
    0% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.game-wrapper {
    max-width: 1200px;
    width: 100%;
    z-index: 10;
}

.game-header-section {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.level-badge {
    display: inline-flex;
    align-items: baseline;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: 30px;
    box-shadow: 
        0 0 30px rgba(255, 0, 85, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-bottom: var(--spacing-md);
}

.badge-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.badge-number {
    font-size: 2rem;
    font-weight: 700;
}

.badge-total {
    font-size: 1.2rem;
    opacity: 0.7;
}

.game-title {
    font-family: 'Creepster', cursive;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--primary-red);
    text-shadow: 
        0 0 20px rgba(255, 0, 85, 0.8),
        3px 3px 0 var(--dark-red);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
}

.game-instructions {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.instruction-icon {
    font-size: 1.5em;
    vertical-align: middle;
    animation: float-icon 2s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.maze-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
}

.maze-box {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 4/3;
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid var(--primary-red);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 
        0 0 40px rgba(255, 0, 85, 0.6),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
}

.corner-decoration {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid var(--cyan);
    z-index: 20;
}

.top-left {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: -3px;
    right: -3px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: -3px;
    left: -3px;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
}

#maze-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.game-start, .game-end {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.game-start {
    background: radial-gradient(circle, rgba(0, 255, 0, 0.8), rgba(0, 200, 0, 0.5));
    box-shadow: 
        0 0 20px rgba(0, 255, 0, 0.8),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    animation: pulse-start 2s ease-in-out infinite;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

@keyframes pulse-start {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(0, 255, 0, 1);
    }
}

.game-end {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8), rgba(255, 165, 0, 0.5));
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    animation: pulse-end 2s ease-in-out infinite;
    color: #333;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

@keyframes pulse-end {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(255, 215, 0, 1);
    }
}

.start-label, .end-label {
    font-size: 0.6rem;
}

.game-tips {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.tip-icon {
    font-size: 1.3em;
}

/* ========================================
   JUMPSCARE PAGE
======================================== */
#jumpscare-page {
    z-index: 1000;
    background: #000;
}

.jumpscare-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

/* ========================================
   TOKEN INFO PAGE
======================================== */
#token-page {
    background: var(--dark-bg);
    overflow-y: auto;
    overflow-x: hidden;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    width: 100%;
    flex-direction: column;
    height: 100vh;
}

.stars-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 75% 90%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    opacity: 0.4;
    animation: stars-move 100s linear infinite;
}

@keyframes stars-move {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Navigation */
.token-nav {
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-xl);
    background: rgba(10, 0, 18, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 0, 85, 0.2);
    z-index: 100;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 0, 85, 0.5));
    transition: all 0.3s ease;
}

.nav-logo-img:hover {
    filter: drop-shadow(0 0 20px rgba(255, 0, 85, 0.8));
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-family: 'Creepster', cursive;
    color: var(--primary-red);
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link:hover::after {
    width: 100%;
}

.token-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xxl) var(--spacing-md);
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

/* Hero Section */
.token-hero {
    text-align: center;
    padding: var(--spacing-xxl) 0;
    margin-bottom: var(--spacing-xxl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, rgba(0, 255, 100, 0.2), rgba(0, 200, 80, 0.2));
    border: 1px solid rgba(0, 255, 100, 0.3);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 100, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 100, 0.5);
    }
}

.badge-icon {
    font-size: 1.2em;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--text-white);
}

.hero-highlight {
    font-family: 'Nosifer', cursive;
    color: var(--primary-red);
    text-shadow: 0 0 30px rgba(255, 0, 85, 0.6);
    display: block;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto var(--spacing-xxl) auto;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* About Section */
.about-section {
    margin-bottom: var(--spacing-xxl);
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    padding: var(--spacing-xl);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 85, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 85, 0.5);
    box-shadow: 0 15px 40px rgba(255, 0, 85, 0.2);
}

.feature-icon-wrapper {
    margin-bottom: var(--spacing-md);
}

.feature-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 0, 85, 0.3));
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
}

.feature-text {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-title {
    font-family: 'Creepster', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* Tokenomics Section */
.tokenomics-section {
    margin-bottom: var(--spacing-xxl);
    padding: var(--spacing-xxl) 0;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.tokenomics-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xl);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.tokenomics-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(255, 0, 85, 0.3);
}

.highlight-card {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.1), rgba(204, 0, 68, 0.1));
}

.token-detail-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.token-detail-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.token-detail-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: var(--spacing-sm);
}

.token-detail-desc {
    font-size: 0.95rem;
    color: var(--text-dark-gray);
}

/* Contract Section */
.contract-section {
    padding: var(--spacing-xl);
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contract-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.contract-address-wrapper {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: var(--spacing-md);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 85, 0.3);
}

.contract-display {
    flex: 1;
    overflow: hidden;
}

.contract-display code {
    color: var(--cyan);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.copy-button {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.5);
}

.copy-icon {
    font-size: 1.2em;
}

/* How to Buy Section */
.how-to-buy-section {
    margin-bottom: var(--spacing-xxl);
    padding: var(--spacing-xxl) 0;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: 20px;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.3);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.4);
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-red);
}

/* Community Section */
.community-section {
    margin-bottom: var(--spacing-xxl);
    padding: var(--spacing-xxl) 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.social-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xl);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 85, 0.2), transparent);
    transition: left 0.6s ease;
}

.social-card:hover::before {
    left: 100%;
}

.social-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(255, 0, 85, 0.3);
}

.social-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.social-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.social-desc {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.social-arrow {
    font-size: 1.5rem;
    color: var(--primary-red);
}

/* Footer */
.token-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xxl) 0;
    margin-top: var(--spacing-xxl);
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 0, 85, 0.5));
}

.footer-icon {
    font-size: 2rem;
}

.footer-brand {
    font-family: 'Creepster', cursive;
    font-size: 2rem;
    color: var(--primary-red);
}

.footer-disclaimer {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 0, 85, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 85, 0.2);
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-dark-gray);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 900px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .step-arrow {
        display: none;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-card {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 2.5rem;
    }
    
    .token-nav {
        padding: var(--spacing-md);
    }
    
    .token-content {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .section-grid,
    .tokenomics-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .contract-address-wrapper {
        flex-direction: column;
    }
    
    .copy-button {
        width: 100%;
        justify-content: center;
    }
    
    /* Logo responsive sizing */
    .main-logo {
        max-width: 200px;
    }
    
    .nav-logo-img {
        height: 35px;
    }
    
    .footer-logo-img {
        height: 45px;
    }
    
    /* Mobile maze fixes */
    body {
        overflow-x: hidden;
    }
    
    .simple-game-container {
        padding: 0.5rem 0;
        overflow-x: hidden;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-height: 100vh;
    }
    
    #maze-area {
        width: 90vw !important;
        height: calc(90vw * 0.625) !important; /* Maintain aspect ratio */
        max-height: 70vh;
        border-width: 2px;
        margin: 1rem auto;
    }
    
    #game-page h2 {
        font-size: 1.3rem;
        margin: 0.5rem 0;
    }
    
    #level-display {
        font-size: 0.9rem;
        margin: 0.3rem 0;
    }
    
    .skip-button {
        font-size: 0.9rem;
        padding: 0.25rem 0.4rem;
        top: 5px;
        right: 5px;
    }
}

/* ========================================
   UTILITY ANIMATIONS
======================================== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-red);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-red);
}
