/* Performance Optimized Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance Hint for GPU Acceleration */
.lightning-bolt,
.energy-orb,
.flame,
.flame::before,
.flame::after,
.screen-pulse-overlay,
.epic-atmosphere-container > * {
    will-change: transform;
    transform: translateZ(0);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #000;
    color: #e0e0e0;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* EPIC METAL INFERNO BACKGROUND */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 90%, rgba(255, 0, 100, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(0, 255, 255, 0.5) 0%, transparent 45%),
        radial-gradient(circle at 30% 70%, rgba(255, 69, 0, 0.7) 0%, transparent 35%),
        radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 0, 139, 0.3) 0%, transparent 60%),
        conic-gradient(from 45deg at 25% 75%, 
            rgba(255, 0, 0, 0.3) 0deg,
            rgba(255, 69, 0, 0.3) 90deg,
            rgba(255, 215, 0, 0.3) 180deg,
            rgba(255, 0, 255, 0.3) 270deg,
            rgba(255, 0, 0, 0.3) 360deg),
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.95) 0%, 
            rgba(20, 0, 20, 0.9) 20%, 
            rgba(40, 10, 0, 0.85) 40%, 
            rgba(20, 0, 40, 0.9) 60%, 
            rgba(40, 0, 20, 0.85) 80%, 
            rgba(0, 0, 0, 0.95) 100%);
    animation: epic-background-inferno 6s ease-in-out infinite alternate;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-conic-gradient(from 0deg at 20% 20%, 
            transparent 0deg, 
            rgba(255, 0, 255, 0.05) 30deg, 
            transparent 60deg,
            rgba(0, 255, 255, 0.05) 90deg,
            transparent 120deg),
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            transparent 30px,
            rgba(255, 215, 0, 0.08) 30px,
            rgba(255, 215, 0, 0.08) 32px,
            transparent 32px,
            transparent 50px,
            rgba(255, 69, 0, 0.06) 50px,
            rgba(255, 69, 0, 0.06) 52px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0px,
            transparent 40px,
            rgba(255, 0, 255, 0.04) 40px,
            rgba(255, 0, 255, 0.04) 42px,
            transparent 42px,
            transparent 80px,
            rgba(0, 255, 255, 0.04) 80px,
            rgba(0, 255, 255, 0.04) 82px
        );
    animation: epic-metal-matrix 10s linear infinite;
    z-index: -1;
}

@keyframes epic-background-inferno {
    0% {
        filter: brightness(0.9) contrast(1.5) hue-rotate(0deg) saturate(1.2);
        transform: scale(1) rotate(0deg);
    }
    25% {
        filter: brightness(1.3) contrast(1.8) hue-rotate(15deg) saturate(1.8);
        transform: scale(1.02) rotate(0.5deg);
    }
    50% {
        filter: brightness(1.1) contrast(2) hue-rotate(30deg) saturate(2);
        transform: scale(1.05) rotate(-0.3deg);
    }
    75% {
        filter: brightness(1.4) contrast(1.6) hue-rotate(45deg) saturate(1.6);
        transform: scale(1.01) rotate(0.8deg);
    }
    100% {
        filter: brightness(1) contrast(1.4) hue-rotate(60deg) saturate(1.4);
        transform: scale(0.98) rotate(-0.2deg);
    }
}

@keyframes epic-metal-matrix {
    0% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
        filter: hue-rotate(0deg) brightness(1) contrast(1.2);
    }
    25% { 
        transform: translate(-3px, -2px) rotate(1deg) scale(1.01); 
        filter: hue-rotate(90deg) brightness(1.2) contrast(1.4);
    }
    50% { 
        transform: translate(2px, 3px) rotate(-0.8deg) scale(0.99); 
        filter: hue-rotate(180deg) brightness(0.9) contrast(1.6);
    }
    75% { 
        transform: translate(-1px, 2px) rotate(0.6deg) scale(1.02); 
        filter: hue-rotate(270deg) brightness(1.1) contrast(1.3);
    }
    100% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
        filter: hue-rotate(360deg) brightness(1) contrast(1.2);
    }
}

/* EPIC FLOATING ENERGY ORBS */
.floating-orbs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
    will-change: transform;
}

.energy-orb {
    position: absolute;
    border-radius: 50%;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    filter: blur(1px);
    will-change: transform, opacity;
}

.orb-1 {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ff00ff 0%, transparent 70%);
    box-shadow: 
        0 0 20px #ff00ff,
        0 0 40px #ff00ff,
        0 0 60px #ff00ff;
    animation: float-orb-1 8s infinite;
}

.orb-2 {
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #00ffff 0%, transparent 70%);
    box-shadow: 
        0 0 15px #00ffff,
        0 0 30px #00ffff,
        0 0 45px #00ffff;
    animation: float-orb-2 12s infinite;
}

.orb-3 {
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, #ffd700 0%, transparent 70%);
    box-shadow: 
        0 0 25px #ffd700,
        0 0 50px #ffd700,
        0 0 75px #ffd700;
    animation: float-orb-3 10s infinite;
}

.orb-4 {
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #ff4500 0%, transparent 70%);
    box-shadow: 
        0 0 18px #ff4500,
        0 0 36px #ff4500,
        0 0 54px #ff4500;
    animation: float-orb-4 15s infinite;
}

.orb-5 {
    width: 22px;
    height: 22px;
    background: radial-gradient(circle, #00ff00 0%, transparent 70%);
    box-shadow: 
        0 0 22px #00ff00,
        0 0 44px #00ff00,
        0 0 66px #00ff00;
    animation: float-orb-5 9s infinite;
}

.orb-6 {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #ffffff 0%, transparent 70%);
    box-shadow: 
        0 0 16px #ffffff,
        0 0 32px #ffffff,
        0 0 48px #ffffff;
    animation: float-orb-6 11s infinite;
}

@keyframes float-orb-1 {
    0% { transform: translate(10vw, 90vh) scale(1); opacity: 0.8; }
    25% { transform: translate(80vw, 20vh) scale(1.3); opacity: 1; }
    50% { transform: translate(20vw, 60vh) scale(0.8); opacity: 0.6; }
    75% { transform: translate(90vw, 80vh) scale(1.1); opacity: 0.9; }
    100% { transform: translate(10vw, 90vh) scale(1); opacity: 0.8; }
}

@keyframes float-orb-2 {
    0% { transform: translate(90vw, 10vh) scale(1); opacity: 0.7; }
    30% { transform: translate(20vw, 80vh) scale(1.2); opacity: 1; }
    60% { transform: translate(70vw, 40vh) scale(0.9); opacity: 0.8; }
    100% { transform: translate(90vw, 10vh) scale(1); opacity: 0.7; }
}

@keyframes float-orb-3 {
    0% { transform: translate(50vw, 10vh) scale(1); opacity: 0.9; }
    20% { transform: translate(10vw, 50vh) scale(0.7); opacity: 0.6; }
    40% { transform: translate(80vw, 70vh) scale(1.4); opacity: 1; }
    60% { transform: translate(30vw, 30vh) scale(1.1); opacity: 0.8; }
    80% { transform: translate(90vw, 90vh) scale(0.8); opacity: 0.7; }
    100% { transform: translate(50vw, 10vh) scale(1); opacity: 0.9; }
}

@keyframes float-orb-4 {
    0% { transform: translate(30vw, 80vh) scale(1); opacity: 0.8; }
    35% { transform: translate(60vw, 10vh) scale(1.2); opacity: 1; }
    70% { transform: translate(10vw, 40vh) scale(0.9); opacity: 0.7; }
    100% { transform: translate(30vw, 80vh) scale(1); opacity: 0.8; }
}

@keyframes float-orb-5 {
    0% { transform: translate(70vw, 60vh) scale(1); opacity: 0.6; }
    25% { transform: translate(40vw, 90vh) scale(1.3); opacity: 0.9; }
    50% { transform: translate(90vw, 30vh) scale(0.7); opacity: 1; }
    75% { transform: translate(15vw, 70vh) scale(1.1); opacity: 0.8; }
    100% { transform: translate(70vw, 60vh) scale(1); opacity: 0.6; }
}

@keyframes float-orb-6 {
    0% { transform: translate(80vw, 50vh) scale(1); opacity: 0.9; }
    40% { transform: translate(25vw, 20vh) scale(1.1); opacity: 0.7; }
    80% { transform: translate(60vw, 85vh) scale(0.9); opacity: 1; }
    100% { transform: translate(80vw, 50vh) scale(1); opacity: 0.9; }
}

@keyframes epic-nav-hover {
    0% { 
        transform: translateY(-2px) scale(1); 
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    }
    50% { 
        transform: translateY(-8px) scale(1.15); 
        box-shadow: 
            0 0 40px rgba(212, 175, 55, 1),
            0 0 80px rgba(255, 215, 0, 0.8),
            0 0 120px rgba(255, 69, 0, 0.6);
    }
    100% { 
        transform: translateY(-5px) scale(1.1); 
        box-shadow: 
            0 0 25px rgba(212, 175, 55, 0.8),
            0 0 50px rgba(255, 215, 0, 0.6),
            0 0 75px rgba(255, 69, 0, 0.4);
    }
}

/* EPIC SCREEN PULSE OVERLAY */
.screen-pulse-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, 
            rgba(255, 69, 0, 0.1) 0%, 
            rgba(255, 0, 255, 0.05) 30%, 
            rgba(0, 255, 255, 0.03) 60%, 
            transparent 100%);
    pointer-events: none;
    z-index: 998;
    animation: epic-screen-pulse 4s ease-in-out infinite;
}

@keyframes epic-screen-pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
        filter: hue-rotate(0deg) brightness(1);
    }
    25% {
        transform: scale(1.02);
        opacity: 0.6;
        filter: hue-rotate(90deg) brightness(1.2);
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
        filter: hue-rotate(180deg) brightness(1.4);
    }
    75% {
        transform: scale(1.03);
        opacity: 0.5;
        filter: hue-rotate(270deg) brightness(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
        filter: hue-rotate(360deg) brightness(1);
    }
}

/* Lightning Effect */
.lightning-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.lightning {
    position: absolute;
    width: 8px;
    background: linear-gradient(to bottom, 
        #ffffff 0%,
        #00ffff 15%,
        #ff00ff 25%,
        #ffffff 50%,
        #ff00ff 75%,
        #00ffff 85%,
        #ffffff 100%);
    opacity: 0;
    animation: mega-lightning-strike 0.15s ease-in-out;
    box-shadow: 
        0 0 8px #00ffff,
        0 0 16px #ffffff,
        0 0 32px #ff00ff,
        0 0 64px #00ffff,
        0 0 96px #ffffff,
        inset 0 0 8px #ffffff;
    filter: 
        drop-shadow(0 0 16px #00ffff) 
        drop-shadow(0 0 32px #ff00ff)
        brightness(3) contrast(2);
}

@keyframes mega-lightning-strike {
    0% { 
        opacity: 0; 
        transform: scaleY(0) scaleX(0.5); 
        filter: brightness(3) hue-rotate(0deg);
    }
    15% { 
        opacity: 1; 
        transform: scaleY(0.3) scaleX(2); 
        filter: brightness(5) hue-rotate(45deg);
    }
    30% { 
        opacity: 0.8; 
        transform: scaleY(1) scaleX(1); 
        filter: brightness(4) hue-rotate(90deg);
    }
    60% { 
        opacity: 1; 
        transform: scaleY(1.1) scaleX(1.5); 
        filter: brightness(6) hue-rotate(180deg);
    }
    100% { 
        opacity: 0; 
        transform: scaleY(0.2) scaleX(0.3); 
        filter: brightness(2) hue-rotate(360deg);
    }
}

/* EPIC Coffee Beans Animation */
.beans-container {
    position: fixed;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.coffee-bean {
    position: absolute;
    width: 20px;
    height: 28px;
    background: linear-gradient(45deg, #8B4513, #A0522D, #D2691E, #CD853F);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.9;
    animation: epic-fall linear infinite;
    box-shadow: 
        0 0 12px rgba(139, 69, 19, 0.8),
        0 0 24px rgba(255, 140, 0, 0.4),
        inset 0 0 8px rgba(205, 133, 63, 0.6);
    filter: 
        drop-shadow(0 0 8px rgba(255, 140, 0, 0.5))
        brightness(1.2) contrast(1.3);
}

.coffee-bean::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 16px;
    background: #654321;
    border-radius: 2px;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
}

@keyframes epic-fall {
    0% {
        transform: translateY(-50px) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(0) rotate(36deg) scale(1.1);
    }
    100% {
        transform: translateY(100vh) rotate(720deg) scale(0.8);
        opacity: 0.7;
    }
}

/* 8-Bit Retro Animated Flames */
.flames-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 600px;
    pointer-events: none;
    z-index: 998;
    overflow: hidden;
    image-rendering: pixelated !important;
    image-rendering: -moz-crisp-edges !important;
    image-rendering: crisp-edges !important;
    filter: contrast(2) saturate(2) brightness(1.2);
    will-change: transform;
}

.flame {
    position: absolute;
    bottom: 0;
    width: 64px;
    height: 256px;
    transform-origin: bottom center;
    animation: retro-flame-flicker 0.5s steps(4) infinite;
    will-change: transform;
}

/* GIGANTIC MEGA 8-BIT FLAME BODY WITH MASSIVE PIXELS */
.flame::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px !important;
    height: 16px !important;
    background: #ff0000 !important;
    animation: pixel-flame-dance 0.4s steps(4) infinite;
    will-change: transform, filter;
    box-shadow: 
        /* Bottom row - GIGANTIC RED PIXELS (16px each) */
        0px 0px 0 0 #ff0000, 16px 0px 0 0 #ff0000, 32px 0px 0 0 #ff0000, 48px 0px 0 0 #ff0000, 64px 0px 0 0 #ff0000, 80px 0px 0 0 #ff0000,
        /* Second row - RED/ORANGE EXPANSION */
        -16px 16px 0 0 #ff0000, 0px 16px 0 0 #ff3300, 16px 16px 0 0 #ff3300, 32px 16px 0 0 #ff3300, 48px 16px 0 0 #ff3300, 64px 16px 0 0 #ff0000, 80px 16px 0 0 #ff0000, 96px 16px 0 0 #ff0000,
        /* Third row - BLAZING ORANGE GIANTS */
        -16px 32px 0 0 #ff3300, 0px 32px 0 0 #ff6600, 16px 32px 0 0 #ff6600, 32px 32px 0 0 #ff6600, 48px 32px 0 0 #ff6600, 64px 32px 0 0 #ff3300, 80px 32px 0 0 #ff3300, 96px 32px 0 0 #ff3300,
        /* Fourth row - MASSIVE FIRE CORE */
        -32px 48px 0 0 #ff6600, -16px 48px 0 0 #ff9900, 0px 48px 0 0 #ff9900, 16px 48px 0 0 #ff9900, 32px 48px 0 0 #ff9900, 48px 48px 0 0 #ff9900, 64px 48px 0 0 #ff6600, 80px 48px 0 0 #ff6600, 96px 48px 0 0 #ff6600, 112px 48px 0 0 #ff6600,
        /* Fifth row - GOLDEN FLAME BLOCKS */
        -16px 64px 0 0 #ff9900, 0px 64px 0 0 #ffcc00, 16px 64px 0 0 #ffcc00, 32px 64px 0 0 #ffcc00, 48px 64px 0 0 #ffcc00, 64px 64px 0 0 #ff9900, 80px 64px 0 0 #ff9900, 96px 64px 0 0 #ff9900,
        /* Sixth row - BRILLIANT YELLOW BLOCKS */
        -16px 80px 0 0 #ffcc00, 0px 80px 0 0 #ffff00, 16px 80px 0 0 #ffff00, 32px 80px 0 0 #ffff00, 48px 80px 0 0 #ffff00, 64px 80px 0 0 #ffcc00, 80px 80px 0 0 #ffcc00, 96px 80px 0 0 #ffcc00,
        /* Seventh row - WHITE HOT CORE BLOCKS */
        0px 96px 0 0 #ffff00, 16px 96px 0 0 #ffffff, 32px 96px 0 0 #ffffff, 48px 96px 0 0 #ffffff, 64px 96px 0 0 #ffff00, 80px 96px 0 0 #ffff00,
        /* Eighth row - PURE ENERGY TIP BLOCKS */
        16px 112px 0 0 #ffffff, 32px 112px 0 0 #ffffff, 48px 112px 0 0 #ffffff, 64px 112px 0 0 #ffffff,
        /* Ninth row - ULTIMATE ENERGY */
        24px 128px 0 0 #ffffff, 32px 128px 0 0 #ffffff, 40px 128px 0 0 #ffffff, 48px 128px 0 0 #ffffff,
        /* ULTIMATE TIP BLOCK */
        32px 144px 0 0 #ffffff, 40px 144px 0 0 #ffffff;
    filter: 
        drop-shadow(0 0 20px #ff4400) 
        drop-shadow(0 0 40px #ff8800)
        drop-shadow(0 0 60px #ffaa00)
        drop-shadow(0 0 80px #ffffff)
        contrast(3) saturate(3) brightness(2) !important;
    image-rendering: pixelated !important;
    image-rendering: -moz-crisp-edges !important;
    image-rendering: crisp-edges !important;
    z-index: 100 !important;
    opacity: 1 !important;
}

/* BLAZING GIGANTIC 8-BIT INNER FLAME CORE */
.flame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 14px !important;
    height: 14px !important;
    background: #ff9900 !important;
    animation: pixel-inner-flame 0.3s steps(4) infinite alternate;
    will-change: transform, filter;
    box-shadow: 
        /* Bottom row - MOLTEN CORE BLOCKS (14px each) */
        0px 0px 0 0 #ff9900, 14px 0px 0 0 #ff9900, 28px 0px 0 0 #ff9900, 42px 0px 0 0 #ff9900,
        /* Second row - LIQUID GOLD BLOCKS */
        -14px 14px 0 0 #ff9900, 0px 14px 0 0 #ffcc00, 14px 14px 0 0 #ffcc00, 28px 14px 0 0 #ffcc00, 42px 14px 0 0 #ff9900, 56px 14px 0 0 #ff9900,
        /* Third row - SOLAR FLARE BLOCKS */
        0px 28px 0 0 #ffcc00, 14px 28px 0 0 #ffff00, 28px 28px 0 0 #ffff00, 42px 28px 0 0 #ffcc00, 56px 28px 0 0 #ffcc00,
        /* Fourth row - LIGHTNING CORE BLOCKS */
        0px 42px 0 0 #ffff00, 14px 42px 0 0 #ffffff, 28px 42px 0 0 #ffffff, 42px 42px 0 0 #ffff00, 56px 42px 0 0 #ffff00,
        /* Fifth row - PURE ENERGY BLOCKS */
        14px 56px 0 0 #ffffff, 28px 56px 0 0 #ffffff, 42px 56px 0 0 #ffffff, 56px 56px 0 0 #ffffff,
        /* Sixth row - ULTIMATE CORE */
        21px 70px 0 0 #ffffff, 28px 70px 0 0 #ffffff, 35px 70px 0 0 #ffffff,
        /* ULTIMATE CORE BLOCK */
        28px 84px 0 0 #ffffff;
    filter: 
        drop-shadow(0 0 25px #ffff00) 
        drop-shadow(0 0 50px #ffffff)
        drop-shadow(0 0 75px #ffaa00)
        contrast(4) saturate(4) brightness(2.5) !important;
    image-rendering: pixelated !important;
    image-rendering: -moz-crisp-edges !important;
    image-rendering: crisp-edges !important;
    z-index: 101 !important;
    opacity: 1 !important;
}

/* Add flame sparks */
.flame-sparks {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 2px;
    background: #ffaa00;
    border-radius: 50%;
    animation: spark-rise 2s linear infinite;
    opacity: 0;
}

.flame-1 { 
    left: 8%; 
    animation-delay: 0s; 
}
.flame-1::before { animation-delay: 0.1s; }
.flame-1::after { animation-delay: 0.05s; }

.flame-2 { 
    left: 20%; 
    animation-delay: 0.15s; 
}
.flame-2::before { animation-delay: 0.25s; }
.flame-2::after { animation-delay: 0.2s; }

.flame-3 { 
    left: 35%; 
    animation-delay: 0.3s; 
}
.flame-3::before { animation-delay: 0.4s; }
.flame-3::after { animation-delay: 0.35s; }

.flame-4 { 
    left: 55%; 
    animation-delay: 0.45s; 
}
.flame-4::before { animation-delay: 0.55s; }
.flame-4::after { animation-delay: 0.5s; }

.flame-5 { 
    left: 70%; 
    animation-delay: 0.6s; 
}
.flame-5::before { animation-delay: 0.7s; }
.flame-5::after { animation-delay: 0.65s; }

.flame-6 { 
    left: 85%; 
    animation-delay: 0.75s; 
}
.flame-6::before { animation-delay: 0.85s; }
.flame-6::after { animation-delay: 0.8s; }

/* 8-Bit Retro Flame Animations */
@keyframes retro-flame-flicker {
    0% {
        transform: scaleY(1) scaleX(1) rotate(0deg);
        filter: hue-rotate(0deg) brightness(1) contrast(1.2);
    }
    25% {
        transform: scaleY(1.1) scaleX(0.9) rotate(1deg);
        filter: hue-rotate(10deg) brightness(1.1) contrast(1.3);
    }
    50% {
        transform: scaleY(0.9) scaleX(1.1) rotate(-1deg);
        filter: hue-rotate(-5deg) brightness(0.9) contrast(1.1);
    }
    75% {
        transform: scaleY(1.05) scaleX(0.95) rotate(2deg);
        filter: hue-rotate(15deg) brightness(1.05) contrast(1.4);
    }
    100% {
        transform: scaleY(1) scaleX(1) rotate(0deg);
        filter: hue-rotate(0deg) brightness(1) contrast(1.2);
    }
}

@keyframes pixel-flame-dance {
    0% {
        transform: translateX(-50%) scaleY(1) scaleX(1);
        box-shadow: 
            /* Frame 1 - Normal flame shape */
            0px 0px 0 0 #ff0000, 4px 0px 0 0 #ff0000, 8px 0px 0 0 #ff0000, 12px 0px 0 0 #ff0000,
            -4px 4px 0 0 #ff0000, 0px 4px 0 0 #ff3300, 4px 4px 0 0 #ff3300, 8px 4px 0 0 #ff3300, 12px 4px 0 0 #ff0000, 16px 4px 0 0 #ff0000,
            -4px 8px 0 0 #ff3300, 0px 8px 0 0 #ff6600, 4px 8px 0 0 #ff6600, 8px 8px 0 0 #ff6600, 12px 8px 0 0 #ff3300, 16px 8px 0 0 #ff3300,
            -8px 12px 0 0 #ff6600, -4px 12px 0 0 #ff9900, 0px 12px 0 0 #ff9900, 4px 12px 0 0 #ff9900, 8px 12px 0 0 #ff9900, 12px 12px 0 0 #ff6600, 16px 12px 0 0 #ff6600, 20px 12px 0 0 #ff6600,
            -4px 16px 0 0 #ff9900, 0px 16px 0 0 #ffcc00, 4px 16px 0 0 #ffcc00, 8px 16px 0 0 #ffcc00, 12px 16px 0 0 #ff9900, 16px 16px 0 0 #ff9900,
            -4px 20px 0 0 #ffcc00, 0px 20px 0 0 #ffff00, 4px 20px 0 0 #ffff00, 8px 20px 0 0 #ffff00, 12px 20px 0 0 #ffcc00, 16px 20px 0 0 #ffcc00,
            0px 24px 0 0 #ffff00, 4px 24px 0 0 #ffffff, 8px 24px 0 0 #ffffff, 12px 24px 0 0 #ffff00,
            4px 28px 0 0 #ffffff, 8px 28px 0 0 #ffffff,
            6px 32px 0 0 #ffffff;
    }
    50% {
        transform: translateX(-50%) scaleY(0.9) scaleX(1.1);
        box-shadow: 
            /* Frame 2 - Wider and shorter */
            -4px 0px 0 0 #ff0000, 0px 0px 0 0 #ff0000, 4px 0px 0 0 #ff0000, 8px 0px 0 0 #ff0000, 12px 0px 0 0 #ff0000, 16px 0px 0 0 #ff0000,
            -8px 4px 0 0 #ff0000, -4px 4px 0 0 #ff3300, 0px 4px 0 0 #ff3300, 4px 4px 0 0 #ff3300, 8px 4px 0 0 #ff3300, 12px 4px 0 0 #ff0000, 16px 4px 0 0 #ff0000, 20px 4px 0 0 #ff0000,
            -8px 8px 0 0 #ff3300, -4px 8px 0 0 #ff6600, 0px 8px 0 0 #ff6600, 4px 8px 0 0 #ff6600, 8px 8px 0 0 #ff6600, 12px 8px 0 0 #ff3300, 16px 8px 0 0 #ff3300, 20px 8px 0 0 #ff3300,
            -4px 12px 0 0 #ff9900, 0px 12px 0 0 #ff9900, 4px 12px 0 0 #ff9900, 8px 12px 0 0 #ff9900, 12px 12px 0 0 #ff9900, 16px 12px 0 0 #ff6600,
            -4px 16px 0 0 #ffcc00, 0px 16px 0 0 #ffcc00, 4px 16px 0 0 #ffcc00, 8px 16px 0 0 #ffcc00, 12px 16px 0 0 #ff9900, 16px 16px 0 0 #ff9900,
            0px 20px 0 0 #ffff00, 4px 20px 0 0 #ffff00, 8px 20px 0 0 #ffff00, 12px 20px 0 0 #ffcc00,
            4px 24px 0 0 #ffffff, 8px 24px 0 0 #ffffff;
    }
    100% {
        transform: translateX(-50%) scaleY(1.1) scaleX(0.9);
        box-shadow: 
            /* Frame 3 - Taller and thinner */
            0px 0px 0 0 #ff0000, 4px 0px 0 0 #ff0000, 8px 0px 0 0 #ff0000,
            -4px 4px 0 0 #ff0000, 0px 4px 0 0 #ff3300, 4px 4px 0 0 #ff3300, 8px 4px 0 0 #ff0000, 12px 4px 0 0 #ff0000,
            -4px 8px 0 0 #ff3300, 0px 8px 0 0 #ff6600, 4px 8px 0 0 #ff6600, 8px 8px 0 0 #ff3300, 12px 8px 0 0 #ff3300,
            -8px 12px 0 0 #ff6600, -4px 12px 0 0 #ff9900, 0px 12px 0 0 #ff9900, 4px 12px 0 0 #ff9900, 8px 12px 0 0 #ff6600, 12px 12px 0 0 #ff6600, 16px 12px 0 0 #ff6600,
            -4px 16px 0 0 #ff9900, 0px 16px 0 0 #ffcc00, 4px 16px 0 0 #ffcc00, 8px 16px 0 0 #ff9900, 12px 16px 0 0 #ff9900,
            -4px 20px 0 0 #ffcc00, 0px 20px 0 0 #ffff00, 4px 20px 0 0 #ffff00, 8px 20px 0 0 #ffcc00, 12px 20px 0 0 #ffcc00,
            0px 24px 0 0 #ffff00, 4px 24px 0 0 #ffffff, 8px 24px 0 0 #ffff00,
            4px 28px 0 0 #ffffff, 8px 28px 0 0 #ffffff,
            6px 32px 0 0 #ffffff,
            6px 36px 0 0 #ffffff;
    }
}

@keyframes pixel-inner-flame {
    0% {
        transform: translateX(-50%) scaleY(1) scaleX(1);
        box-shadow: 
            /* Inner flame frame 1 */
            0px 0px 0 0 #ff9900, 4px 0px 0 0 #ff9900,
            -4px 4px 0 0 #ff9900, 0px 4px 0 0 #ffcc00, 4px 4px 0 0 #ffcc00, 8px 4px 0 0 #ff9900,
            0px 8px 0 0 #ffcc00, 4px 8px 0 0 #ffff00, 8px 8px 0 0 #ffcc00,
            0px 12px 0 0 #ffff00, 4px 12px 0 0 #ffffff, 8px 12px 0 0 #ffff00,
            4px 16px 0 0 #ffffff, 8px 16px 0 0 #ffffff,
            6px 20px 0 0 #ffffff;
    }
    33% {
        transform: translateX(-50%) scaleY(1.1) scaleX(0.9);
        box-shadow: 
            /* Inner flame frame 2 - taller */
            0px 0px 0 0 #ff9900, 4px 0px 0 0 #ff9900,
            0px 4px 0 0 #ffcc00, 4px 4px 0 0 #ffcc00, 8px 4px 0 0 #ffcc00,
            0px 8px 0 0 #ffff00, 4px 8px 0 0 #ffff00, 8px 8px 0 0 #ffff00,
            0px 12px 0 0 #ffffff, 4px 12px 0 0 #ffffff, 8px 12px 0 0 #ffffff,
            4px 16px 0 0 #ffffff, 8px 16px 0 0 #ffffff,
            4px 20px 0 0 #ffffff,
            4px 24px 0 0 #ffffff;
    }
    66% {
        transform: translateX(-50%) scaleY(0.8) scaleX(1.2);
        box-shadow: 
            /* Inner flame frame 3 - wider */
            -4px 0px 0 0 #ff9900, 0px 0px 0 0 #ff9900, 4px 0px 0 0 #ff9900, 8px 0px 0 0 #ff9900, 12px 0px 0 0 #ff9900,
            -4px 4px 0 0 #ffcc00, 0px 4px 0 0 #ffcc00, 4px 4px 0 0 #ffcc00, 8px 4px 0 0 #ffcc00, 12px 4px 0 0 #ffcc00,
            0px 8px 0 0 #ffff00, 4px 8px 0 0 #ffff00, 8px 8px 0 0 #ffff00,
            4px 12px 0 0 #ffffff, 8px 12px 0 0 #ffffff;
    }
    100% {
        transform: translateX(-50%) scaleY(1) scaleX(1);
        box-shadow: 
            /* Inner flame frame 4 - back to normal */
            0px 0px 0 0 #ff9900, 4px 0px 0 0 #ff9900,
            -4px 4px 0 0 #ff9900, 0px 4px 0 0 #ffcc00, 4px 4px 0 0 #ffcc00, 8px 4px 0 0 #ff9900,
            0px 8px 0 0 #ffcc00, 4px 8px 0 0 #ffff00, 8px 8px 0 0 #ffcc00,
            0px 12px 0 0 #ffff00, 4px 12px 0 0 #ffffff, 8px 12px 0 0 #ffff00,
            4px 16px 0 0 #ffffff, 8px 16px 0 0 #ffffff,
            6px 20px 0 0 #ffffff;
    }
}

@keyframes spark-rise {
    0% {
        opacity: 1;
        transform: translateY(0) translateX(0) scale(1);
    }
    20% {
        opacity: 1;
        transform: translateY(-20px) translateX(5px) scale(1.2);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-80px) translateX(-3px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translateY(-150px) translateX(8px) scale(0.3);
    }
}

/* Navigation with Glow Effects */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(60, 30, 30, 0.95));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #d4af37;
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.3),
        0 0 40px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(212, 175, 55, 0.2);
    z-index: 1001;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: 'Metal Mania', cursive;
    font-size: 1.8rem;
    color: #d4af37;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px #d4af37,
        0 0 20px #d4af37,
        0 0 30px #d4af37;
    animation: logo-glow-pulse 3s ease-in-out infinite alternate;
}

@keyframes logo-glow-pulse {
    0% {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 10px #d4af37,
            0 0 20px #d4af37,
            0 0 30px #d4af37;
    }
    100% {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 15px #d4af37,
            0 0 30px #d4af37,
            0 0 45px #d4af37;
    }
}

.nav-logo i {
    color: #ff4500;
    animation: epic-logo-transformation 3s ease-in-out infinite;
    filter: 
        drop-shadow(0 0 15px #ff4500)
        drop-shadow(0 0 30px #ffd700)
        drop-shadow(0 0 45px #ff00ff);
    position: relative;
}

@keyframes epic-logo-transformation {
    0% {
        filter: 
            drop-shadow(0 0 15px #ff4500)
            drop-shadow(0 0 30px #ffd700)
            hue-rotate(0deg);
        transform: scale(1) rotate(0deg);
    }
    25% {
        filter: 
            drop-shadow(0 0 25px #ff00ff)
            drop-shadow(0 0 50px #00ffff)
            drop-shadow(0 0 75px #ff4500)
            hue-rotate(90deg);
        transform: scale(1.15) rotate(90deg);
    }
    50% {
        filter: 
            drop-shadow(0 0 35px #00ffff)
            drop-shadow(0 0 70px #ff00ff)
            drop-shadow(0 0 105px #ffd700)
            hue-rotate(180deg);
        transform: scale(1.25) rotate(180deg);
    }
    75% {
        filter: 
            drop-shadow(0 0 30px #ffd700)
            drop-shadow(0 0 60px #ff4500)
            drop-shadow(0 0 90px #00ffff)
            hue-rotate(270deg);
        transform: scale(1.1) rotate(270deg);
    }
    100% {
        filter: 
            drop-shadow(0 0 15px #ff4500)
            drop-shadow(0 0 30px #ffd700)
            hue-rotate(360deg);
        transform: scale(1) rotate(360deg);
    }
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(224, 224, 224, 0.3);
}

.nav-link:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px) scale(1.1);
    text-shadow: 
        0 0 15px #d4af37,
        0 0 30px #ffd700,
        0 0 45px #ff4500,
        0 0 60px #ff00ff,
        0 0 75px #00ffff;
    box-shadow: 
        0 0 25px rgba(212, 175, 55, 0.8),
        0 0 50px rgba(255, 215, 0, 0.6),
        0 0 75px rgba(255, 69, 0, 0.4),
        inset 0 0 20px rgba(212, 175, 55, 0.3);
    animation: epic-nav-hover 0.6s ease-out;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff4500, #d4af37, #ff4500);
    box-shadow: 0 0 10px #d4af37;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #d4af37;
    margin: 3px 0;
    transition: 0.3s;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 20px;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.hero-content {
    z-index: 10;
    position: relative;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo i {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 20px;
    display: block;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-family: 'Metal Mania', cursive;
    font-size: 5.5rem;
    color: #d4af37;
    text-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.9), 
        0 0 20px rgba(212, 175, 55, 0.8),
        0 0 40px rgba(255, 215, 0, 0.6),
        0 0 60px rgba(255, 69, 0, 0.4),
        0 0 80px rgba(255, 0, 255, 0.3),
        0 0 100px rgba(0, 255, 255, 0.2);
    margin-bottom: 20px;
    background: linear-gradient(45deg, 
        #d4af37 0%, 
        #ffd700 25%, 
        #ff4500 50%, 
        #ffd700 75%, 
        #d4af37 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: epic-hero-title-glow 2s ease-in-out infinite alternate;
    filter: 
        drop-shadow(0 0 20px #d4af37)
        drop-shadow(0 0 40px #ff4500)
        drop-shadow(0 0 60px #ffd700);
    position: relative;
}

@keyframes epic-hero-title-glow {
    0% { 
        text-shadow: 
            4px 4px 8px rgba(0, 0, 0, 0.9), 
            0 0 20px rgba(212, 175, 55, 0.8),
            0 0 40px rgba(255, 215, 0, 0.6),
            0 0 60px rgba(255, 69, 0, 0.4),
            0 0 80px rgba(255, 0, 255, 0.3),
            0 0 100px rgba(0, 255, 255, 0.2);
        transform: scale(1) rotate(0deg);
        filter: 
            drop-shadow(0 0 20px #d4af37)
            drop-shadow(0 0 40px #ff4500)
            brightness(1.2) contrast(1.3);
    }
    50% { 
        text-shadow: 
            4px 4px 8px rgba(0, 0, 0, 0.9), 
            0 0 40px rgba(212, 175, 55, 1),
            0 0 80px rgba(255, 215, 0, 0.8),
            0 0 120px rgba(255, 69, 0, 0.6),
            0 0 160px rgba(255, 0, 255, 0.5),
            0 0 200px rgba(0, 255, 255, 0.4);
        transform: scale(1.05) rotate(1deg);
        filter: 
            drop-shadow(0 0 40px #d4af37)
            drop-shadow(0 0 80px #ff4500)
            drop-shadow(0 0 120px #ffd700)
            brightness(1.5) contrast(1.6);
    }
    100% { 
        text-shadow: 
            4px 4px 8px rgba(0, 0, 0, 0.9), 
            0 0 30px rgba(212, 175, 55, 0.9),
            0 0 60px rgba(255, 215, 0, 0.7),
            0 0 90px rgba(255, 69, 0, 0.5),
            0 0 120px rgba(255, 0, 255, 0.4),
            0 0 150px rgba(0, 255, 255, 0.3);
        transform: scale(1.03) rotate(-0.5deg);
        filter: 
            drop-shadow(0 0 30px #d4af37)
            drop-shadow(0 0 60px #ff4500)
            drop-shadow(0 0 90px #ffd700)
            brightness(1.3) contrast(1.4);
    }
}

.hero-decorations {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.hero-decorations i {
    font-size: 2rem;
    color: #ff4500;
    animation: crazy-bounce 2s infinite;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px #ff4500) drop-shadow(0 0 20px #ff4500);
}

.hero-decorations i:hover {
    animation: spin-bounce 1s infinite;
    transform: scale(1.3);
    color: #d4af37;
    filter: drop-shadow(0 0 15px #d4af37) drop-shadow(0 0 30px #d4af37) drop-shadow(0 0 45px #d4af37);
}

.hero-decorations i:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-decorations i:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes crazy-bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    40% { 
        transform: translateY(-15px) rotate(5deg); 
    }
    60% { 
        transform: translateY(-8px) rotate(-3deg); 
    }
}

@keyframes spin-bounce {
    0% { transform: rotate(0deg) scale(1.3); }
    25% { transform: rotate(90deg) scale(1.4); }
    50% { transform: rotate(180deg) scale(1.3); }
    75% { transform: rotate(270deg) scale(1.4); }
    100% { transform: rotate(360deg) scale(1.3); }
}

.hero-tagline {
    font-size: 1.8rem;
    color: #ff4500;
    margin-bottom: 20px;
    font-weight: 300;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 15px #ff4500,
        0 0 30px #ff4500,
        0 0 45px rgba(255, 69, 0, 0.3);
    animation: tagline-glow 4s ease-in-out infinite alternate;
}

@keyframes tagline-glow {
    0% {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 15px #ff4500,
            0 0 30px #ff4500,
            0 0 45px rgba(255, 69, 0, 0.3);
    }
    100% {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 20px #ff4500,
            0 0 40px #ff4500,
            0 0 60px rgba(255, 69, 0, 0.5);
    }
}

.hero-subtitle {
    margin-bottom: 40px;
}

.hero-subtitle p {
    font-size: 1.2rem;
    color: #c0c0c0;
    margin: 10px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.cta-button {
    background: linear-gradient(135deg, #ff4500, #d4af37, #ff4500);
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 
        0 5px 15px rgba(255, 69, 0, 0.6),
        0 0 20px rgba(255, 69, 0, 0.4),
        0 0 40px rgba(255, 69, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 255, 255, 0.3);
    animation: cta-glow-pulse 3s ease-in-out infinite alternate;
}

@keyframes cta-glow-pulse {
    0% {
        box-shadow: 
            0 5px 15px rgba(255, 69, 0, 0.6),
            0 0 20px rgba(255, 69, 0, 0.4),
            0 0 40px rgba(255, 69, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 
            0 8px 25px rgba(255, 69, 0, 0.8),
            0 0 30px rgba(255, 69, 0, 0.6),
            0 0 60px rgba(255, 69, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(255, 69, 0, 0.8),
        0 0 40px rgba(255, 69, 0, 0.6),
        0 0 80px rgba(255, 69, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(255, 255, 255, 0.5);
}

.cta-button::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;
}

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

/* EPIC METAL ATMOSPHERE BACKGROUND */
.epic-atmosphere-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.metal-smoke-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(60, 60, 60, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(40, 40, 40, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 90%, rgba(80, 80, 80, 0.3) 0%, transparent 40%),
        linear-gradient(135deg, 
            rgba(20, 20, 20, 0.8) 0%, 
            rgba(40, 40, 40, 0.6) 30%, 
            rgba(60, 60, 60, 0.4) 60%, 
            rgba(30, 30, 30, 0.7) 100%);
    animation: smoke-drift 12s ease-in-out infinite;
}

.coffee-steam-effect {
    position: absolute;
    top: 60%;
    left: 10%;
    width: 80%;
    height: 40%;
    background: 
        radial-gradient(ellipse at 30% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 90%, rgba(200, 200, 200, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 95%, rgba(180, 180, 180, 0.06) 0%, transparent 30%);
    animation: steam-rise 8s ease-in-out infinite;
    filter: blur(2px);
}

.shadow-ambiance {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 10%, rgba(139, 0, 0, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(255, 69, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    animation: ambiance-pulse 15s ease-in-out infinite alternate;
}

.atmospheric-sparks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.3) 1px, transparent 2px),
        radial-gradient(circle at 80% 30%, rgba(255, 140, 0, 0.4) 1px, transparent 2px),
        radial-gradient(circle at 60% 80%, rgba(255, 69, 0, 0.2) 1px, transparent 2px),
        radial-gradient(circle at 30% 60%, rgba(255, 255, 255, 0.5) 1px, transparent 2px);
    background-size: 200px 200px, 300px 300px, 250px 250px, 180px 180px;
    animation: sparks-twinkle 6s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes smoke-drift {
    0% {
        transform: translateX(0) translateY(0) scale(1);
        filter: blur(1px) opacity(0.6);
    }
    25% {
        transform: translateX(-20px) translateY(-10px) scale(1.05);
        filter: blur(2px) opacity(0.4);
    }
    50% {
        transform: translateX(15px) translateY(-5px) scale(0.95);
        filter: blur(1.5px) opacity(0.7);
    }
    75% {
        transform: translateX(-10px) translateY(-15px) scale(1.02);
        filter: blur(2.5px) opacity(0.3);
    }
    100% {
        transform: translateX(0) translateY(0) scale(1);
        filter: blur(1px) opacity(0.6);
    }
}

@keyframes steam-rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.6;
    }
    100% {
        transform: translateY(-60px) scale(1.2);
        opacity: 0.1;
    }
}

@keyframes ambiance-pulse {
    0% {
        filter: brightness(0.8) contrast(1.1);
        transform: scale(1);
    }
    50% {
        filter: brightness(1.2) contrast(1.3);
        transform: scale(1.02);
    }
    100% {
        filter: brightness(0.9) contrast(1.2);
        transform: scale(0.98);
    }
}

@keyframes sparks-twinkle {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    25% {
        opacity: 1;
        transform: scale(1.2);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    75% {
        opacity: 0.9;
        transform: scale(1.1);
    }
}

/* Section Titles with Enhanced Glow */
.section-title {
    font-family: 'Metal Mania', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: #d4af37;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px #d4af37,
        0 0 40px #d4af37,
        0 0 60px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    animation: section-title-glow 4s ease-in-out infinite alternate;
}

@keyframes section-title-glow {
    0% {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 20px #d4af37,
            0 0 40px #d4af37,
            0 0 60px rgba(212, 175, 55, 0.4);
    }
    100% {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 30px #d4af37,
            0 0 60px #d4af37,
            0 0 90px rgba(212, 175, 55, 0.6);
    }
}

.section-title i {
    color: #ff4500;
    animation: spin 4s linear infinite;
    filter: drop-shadow(0 0 15px #ff4500) drop-shadow(0 0 30px #ff4500);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(42, 24, 16, 0.9));
}

.daily-special-container {
    text-align: center;
    margin-bottom: 50px;
}

.daily-special-btn {
    background: linear-gradient(135deg, #ff4500, #ff6500);
    color: #fff;
    border: 2px solid #d4af37;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 69, 0, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 69, 0, 0.8); }
}

.daily-special-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ff6500, #ff8500);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.menu-category {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(40, 20, 20, 0.9));
    border: 2px solid #d4af37;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.menu-category:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(212, 175, 55, 0.5),
        0 0 50px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(212, 175, 55, 0.3);
}

.menu-category::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
    z-index: 1;
}

.menu-category > * {
    position: relative;
    z-index: 2;
}

.category-title {
    font-family: 'Metal Mania', cursive;
    font-size: 1.8rem;
    color: #d4af37;
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.category-title i {
    color: #ff4500;
}

.menu-item {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid #ff4500;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.menu-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.3);
    animation: menu-item-pulse 0.6s ease-out;
}

.menu-item:hover::before {
    left: 100%;
}

@keyframes menu-item-pulse {
    0% { transform: translateX(5px) scale(1.02); }
    50% { transform: translateX(8px) scale(1.05); }
    100% { transform: translateX(5px) scale(1.02); }
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.item-header h4 {
    font-size: 1.1rem;
    color: #d4af37;
    font-weight: 600;
}

.item-prices {
    display: flex;
    gap: 15px;
}

.price {
    color: #ff4500;
    font-weight: bold;
    font-size: 0.95rem;
}

.item-description {
    color: #c0c0c0;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 5px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(42, 24, 16, 0.9), rgba(26, 26, 26, 0.9));
}

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

.about-text h3 {
    font-family: 'Metal Mania', cursive;
    font-size: 1.8rem;
    color: #d4af37;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #e0e0e0;
    text-align: justify;
}

.awards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.award {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    border: 1px solid #d4af37;
}

.award i {
    color: #ff4500;
    font-size: 1.2rem;
}

.award span {
    color: #d4af37;
    font-weight: 500;
}

.about-image {
    text-align: center;
}

.about-img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid #d4af37;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(42, 24, 16, 0.9));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h3 {
    font-family: 'Metal Mania', cursive;
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block h3 i {
    color: #ff4500;
}

.info-block p, .info-block a {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
    text-decoration: none;
}

.info-block a:hover {
    color: #d4af37;
}

.hours p {
    margin-bottom: 8px;
}

.amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amenity {
    background: rgba(212, 175, 55, 0.1);
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
}

.social-icons a:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(5px);
}

.social-icons i {
    font-size: 1.2rem;
    color: #ff4500;
}

/* Contact Form */
.contact-form-container h3 {
    font-family: 'Metal Mania', cursive;
    font-size: 1.8rem;
    color: #d4af37;
    margin-bottom: 25px;
    text-align: center;
}

.contact-form {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #d4af37;
}

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

.form-group label {
    display: block;
    color: #d4af37;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.submit-btn {
    background: linear-gradient(135deg, #ff4500, #d4af37);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
}

/* Map */
.map-container {
    margin-top: 50px;
}

.map-container h3 {
    font-family: 'Metal Mania', cursive;
    font-size: 1.8rem;
    color: #d4af37;
    text-align: center;
    margin-bottom: 25px;
}

.map-container iframe {
    border-radius: 15px;
    border: 3px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    padding: 40px 0;
    border-top: 2px solid #d4af37;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: 'Metal Mania', cursive;
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-logo i {
    color: #ff4500;
}

.footer-content p {
    color: #c0c0c0;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff4500;
}

.footer-links span {
    color: #666;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a, #2a1810);
    margin: 10% auto;
    padding: 0;
    border: 3px solid #d4af37;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #ff4500;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #d4af37;
}

.modal-header {
    background: linear-gradient(135deg, #ff4500, #d4af37);
    padding: 20px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.modal-header h2 {
    font-family: 'Metal Mania', cursive;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-body h3 {
    font-family: 'Metal Mania', cursive;
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 15px;
}

.special-price {
    font-size: 1.5rem;
    color: #ff4500;
    font-weight: bold;
    margin-bottom: 20px;
}

.special-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 25px;
}

.special-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.special-features span {
    background: rgba(212, 175, 55, 0.1);
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animations for better mobile performance */
    body::before,
    body::after {
        animation: none;
        opacity: 0.3;
    }
    
    .energy-orb {
        display: none;
    }
    
    .screen-pulse-overlay {
        display: none;
    }
    
    .floating-orbs-container {
        display: none;
    }
    
    /* Simplify flames on mobile */
    .flames-container {
        opacity: 0.5;
    }
    
    .flame::before,
    .flame::after {
        animation-duration: 3s;
        opacity: 0.7;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(60, 30, 30, 0.98));
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-decorations {
        gap: 20px;
    }
    
    .hero-decorations i {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
    
    .flames-container {
        height: 100px;
    }
    
    .flame {
        width: 20px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    /* Further reduce effects for very small screens */
    .flames-container {
        display: none;
    }
    
    .lightning-container {
        display: none;
    }
    
    .beans-container {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .nav-logo {
        font-size: 1.5rem;
    }
    
    .category-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .awards {
        flex-direction: column;
    }
    
    .special-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff4500, #d4af37);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #d4af37, #ff4500);
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-title {
        color: #fff;
        text-shadow: 2px 2px 4px #000;
    }
    
    .section-title {
        color: #fff;
    }
    
    .nav-link {
        color: #fff;
    }
}
