@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;700;900&display=swap');

/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 50%, #0a0a0a 100%);
    color: #ffffff;
    overflow-x: hidden;
}

.font-display {
    font-family: 'Orbitron', monospace;
}

/* GLASS EFFECTS */
.glass-effect {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* TEXT GRADIENT */
.text-gradient {
    background: linear-gradient(45deg, #E10600, #f59e0b, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    33% { filter: hue-rotate(120deg); }
    66% { filter: hue-rotate(240deg); }
}

/* LOGO EFFECTS */
.pulse-glow {
    box-shadow: 0 0 20px rgba(225, 6, 0, 0.6);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(225, 6, 0, 0.6); }
    50% { box-shadow: 0 0 30px rgba(225, 6, 0, 0.9), 0 0 40px rgba(245, 158, 11, 0.5); }
}

.mega-glow {
    box-shadow: 
        0 0 30px rgba(225, 6, 0, 1),
        0 0 60px rgba(245, 158, 11, 0.8),
        0 0 90px rgba(16, 185, 129, 0.6);
    animation: megaGlow 3s ease-in-out infinite;
}

@keyframes megaGlow {
    0%, 100% { 
        box-shadow: 
            0 0 30px rgba(225, 6, 0, 1),
            0 0 60px rgba(245, 158, 11, 0.8);
        transform: scale(1);
    }
    50% { 
        box-shadow: 
            0 0 50px rgba(139, 92, 246, 1),
            0 0 100px rgba(236, 72, 153, 0.9),
            0 0 150px rgba(225, 6, 0, 0.7);
        transform: scale(1.02);
    }
}

/* NAVIGATION */
.nav-item {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-item:hover {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    transform: translateY(-2px);
}

/* Mobile Navigation Fixes */
@media (max-width: 1024px) {
    .nav-item {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 640px) {
    nav .flex {
        align-items: center;
        min-height: 50px;
    }
    
    nav img {
        flex-shrink: 0;
    }
    
    nav .font-display {
        line-height: 1.2;
    }
}

/* LIVE DOT */
.live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: livePulse 2s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* FLOATING ELEMENTS */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-coin {
    position: absolute;
    font-size: 2rem;
    font-weight: 900;
    color: #f59e0b;
    animation: floatCoin 8s linear infinite;
    opacity: 0.7;
}

.coin-1 { left: 10%; animation-delay: 0s; }
.coin-2 { left: 30%; animation-delay: 2s; }
.coin-3 { left: 70%; animation-delay: 4s; }
.coin-4 { left: 90%; animation-delay: 6s; }

@keyframes floatCoin {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* LOGO EXPLOSION */
.logo-explosion {
    animation: logoExplosion 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    opacity: 0;
    transform: scale(0);
}

@keyframes logoExplosion {
    0% { 
        transform: scale(0) rotate(-360deg); 
        opacity: 0; 
        filter: blur(20px);
    }
    50% { 
        transform: scale(1.2) rotate(-180deg); 
        opacity: 0.8; 
        filter: blur(5px);
    }
    100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1; 
        filter: blur(0px);
    }
}

/* CTA BUTTONS */
.cta-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

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

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

.cta-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6);
}

.cta-secondary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.cta-secondary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

/* EMPIRE CARDS */
.empire-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* SUPPORT FLOAT */
.support-float {
    transition: all 0.3s ease;
    animation: supportFloat 3s ease-in-out infinite;
}

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

.support-float:hover {
    transform: translateY(-5px) scale(1.05);
}

/* REWARD CARDS */
.reward-card {
    transition: all 0.3s ease;
}

.reward-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(225, 6, 0, 0.3);
}

/* SECTION REVEAL */
.section-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* HERO SLIDE */
.hero-slide {
    animation: heroSlide 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes heroSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE NAVIGATION FIX */
.glass-effect {
    min-height: 70px;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
    .glass-effect {
        min-height: 65px;
        backdrop-filter: blur(15px);
        background: rgba(0, 0, 0, 0.98);
        position: fixed;
        top: 0;
        z-index: 9999;
    }
    
    nav {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .float-coin {
        font-size: 1.5rem;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .text-gradient {
        font-size: clamp(2rem, 8vw, 4rem);
    }
    
    /* Mobile hero spacing */
    .hero-logo {
        margin-top: 2rem;
    }
    
    /* Mobile empire cards */
    .empire-card {
        margin: 0 0.5rem;
    }
}