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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
}

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

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

::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF6B35;
}

/* Flame animation for destroyer zone */
@keyframes flame {
    0%, 100% {
        text-shadow: 0 0 5px #FF4500, 0 0 10px #FF4500, 0 0 15px #FF0000, 0 0 20px #FF0000;
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 10px #FF4500, 0 0 20px #FF4500, 0 0 30px #FF0000, 0 0 40px #FF0000;
        transform: scale(1.05);
    }
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 0 5px #CC0000, 0 0 10px #CC0000, 0 0 15px #CC0000;
    }
    50% {
        box-shadow: 0 0 10px #FF0000, 0 0 20px #FF0000, 0 0 30px #FF0000;
    }
}

@keyframes nuclear-glow {
    0% {
        text-shadow: 0 0 5px #FF0000, 0 0 10px #FF0000, 0 0 15px #FF0000;
    }
    100% {
        text-shadow: 0 0 10px #FF0000, 0 0 20px #FF0000, 0 0 30px #FF0000, 0 0 40px #FF0000;
    }
}

/* Custom intensity slider */
input[type="range"].intensity-slider {
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, #FFD700 0%, #FF6B35 25%, #FF4500 50%, #CC0000 75%, #FF0000 100%);
    height: 8px;
    border-radius: 4px;
    cursor: pointer;
}

input[type="range"].intensity-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #FFFFFF;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    border: 3px solid #FF0000;
    box-shadow: 0 0 10px #FF0000;
}

input[type="range"].intensity-slider::-moz-range-thumb {
    background: #FFFFFF;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 3px solid #FF0000;
    box-shadow: 0 0 10px #FF0000;
}

/* Button hover effects */
button:hover {
    transform: translateY(-2px);
}

/* Destroyer zone specific styling */
.simp-destroyer-zone {
    background: linear-gradient(135deg, #2D2D2D 0%, #CC0000 100%);
    border: 4px solid #FF0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

/* Progress bar animations */
.progress-bar {
    transition: width 0.5s ease-in-out;
}

/* Metallic text effect */
.metallic-text {
    background: linear-gradient(45deg, #FFD700, #FF6B35, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom input styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-track {
    background: linear-gradient(90deg, #2D2D2D 0%, #FFD700 100%);
    height: 8px;
    border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #FFD700;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    border: 2px solid #FF6B35;
    box-shadow: 0 0 10px #FF6B35;
}

input[type="range"]::-moz-range-track {
    background: linear-gradient(90deg, #2D2D2D 0%, #FFD700 100%);
    height: 8px;
    border-radius: 4px;
}

input[type="range"]::-moz-range-thumb {
    background: #FFD700;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 2px solid #FF6B35;
    box-shadow: 0 0 10px #FF6B35;
}

/* Card hover effects */
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

/* Destroyer button special effects */
.destroyer-button {
    position: relative;
    overflow: hidden;
}

.destroyer-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;
}

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

/* Nuclear glow effect for high intensity */
.nuclear-intensity {
    animation: nuclear-glow 1.5s ease-in-out infinite alternate;
}

/* Aggressive red styling for destroyer sections */
.destroyer-border {
    border: 3px solid #FF0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.destroyer-gradient {
    background: linear-gradient(135deg, #CC0000 0%, #FF0000 50%, #FF4500 100%);
}