/* SIMP SLAYER - Ultimate Alpha Male Transformation Styles */
@import url('https://fonts.googleapis.com/css2?family=Impact&family=Bebas+Neue:wght@400&family=Inter:wght@400;600;700;800;900&display=swap');

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

body {
    font-family: 'Inter', 'Impact', Arial, sans-serif;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 50%, #CC0000 100%);
    overflow-x: hidden;
    position: relative;
}

/* Nuclear Warning Tape Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: repeating-linear-gradient(
        45deg,
        #FFC107 0px,
        #FFC107 20px,
        #FF0000 20px,
        #FF0000 40px
    );
    z-index: 1000;
    animation: warningTape 2s linear infinite;
}

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

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #1A1A1A, #CC0000);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFE135, #FF4500);
    border-radius: 6px;
    border: 2px solid #FF0000;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FF0000, #FFE135);
}

/* Apocalyptic Flame Effects */
@keyframes flame {
    0%, 100% {
        text-shadow: 
            0 0 5px #FF4500, 
            0 0 10px #FF4500, 
            0 0 15px #FF0000, 
            0 0 20px #FF0000,
            0 0 25px #8B0000;
        transform: scale(1) rotate(0deg);
    }
    25% {
        text-shadow: 
            0 0 10px #FF4500, 
            0 0 20px #FF4500, 
            0 0 30px #FF0000, 
            0 0 40px #FF0000,
            0 0 50px #8B0000;
        transform: scale(1.05) rotate(1deg);
    }
    50% {
        text-shadow: 
            0 0 15px #FF4500, 
            0 0 30px #FF4500, 
            0 0 45px #FF0000, 
            0 0 60px #FF0000,
            0 0 75px #8B0000;
        transform: scale(1.1) rotate(-1deg);
    }
    75% {
        text-shadow: 
            0 0 10px #FF4500, 
            0 0 20px #FF4500, 
            0 0 30px #FF0000, 
            0 0 40px #FF0000,
            0 0 50px #8B0000;
        transform: scale(1.05) rotate(0.5deg);
    }
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 
            0 0 10px #CC0000,
            0 0 20px #CC0000,
            0 0 30px #CC0000,
            inset 0 0 10px rgba(255, 0, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 0 20px #FF0000,
            0 0 40px #FF0000,
            0 0 60px #FF0000,
            inset 0 0 20px rgba(255, 0, 0, 0.4);
        transform: scale(1.02);
    }
}

@keyframes nuclear-glow {
    0% {
        text-shadow: 
            0 0 5px #FF0000,
            0 0 10px #FF0000,
            0 0 15px #FF0000,
            0 0 20px #FFE135;
        filter: brightness(1);
    }
    50% {
        text-shadow: 
            0 0 10px #FF0000,
            0 0 20px #FF0000,
            0 0 30px #FF0000,
            0 0 40px #FFE135,
            0 0 50px #FF4500;
        filter: brightness(1.2);
    }
    100% {
        text-shadow: 
            0 0 15px #FF0000,
            0 0 30px #FF0000,
            0 0 45px #FF0000,
            0 0 60px #FFE135,
            0 0 75px #FF4500;
        filter: brightness(1.4);
    }
}

@keyframes screenShake {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-2px) rotate(0.5deg); }
    20% { transform: translateX(2px) rotate(-0.5deg); }
    30% { transform: translateX(-1px) rotate(0.3deg); }
    40% { transform: translateX(1px) rotate(-0.3deg); }
    50% { transform: translateX(-2px) rotate(0.4deg); }
    60% { transform: translateX(2px) rotate(-0.4deg); }
    70% { transform: translateX(-1px) rotate(0.2deg); }
    80% { transform: translateX(1px) rotate(-0.2deg); }
    90% { transform: translateX(-1px) rotate(0.1deg); }
}

@keyframes warningFlash {
    0%, 50% { 
        color: #FFC107; 
        text-shadow: 0 0 10px #FFC107;
    }
    25%, 75% { 
        color: #FF0000; 
        text-shadow: 0 0 20px #FF0000, 0 0 30px #FF4500;
    }
}

@keyframes warningTape {
    0% { transform: translateX(0); }
    100% { transform: translateX(40px); }
}

@keyframes obliteration {
    0% { 
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    25% { 
        transform: scale(1.1) rotate(5deg);
        filter: brightness(1.5);
    }
    50% { 
        transform: scale(0.9) rotate(-5deg);
        filter: brightness(2);
    }
    75% { 
        transform: scale(1.2) rotate(2deg);
        filter: brightness(1.2);
    }
    100% { 
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
}

@keyframes victoryPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 225, 53, 0.5);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(255, 225, 53, 0.8);
    }
}

/* Advanced Slider Styling for Obliteration Levels */
.dominance-slider, .obliteration-slider {
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, 
        #FFD700 0%, 
        #FF6B35 20%, 
        #FF4500 40%, 
        #CC0000 60%, 
        #8B0000 80%, 
        #FF0000 100%
    );
    height: 12px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid #FFE135;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.dominance-slider::-webkit-slider-thumb, 
.obliteration-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: radial-gradient(circle, #FFFFFF, #FFE135, #FF0000);
    height: 32px;
    width: 32px;
    border-radius: 50%;
    border: 4px solid #FF0000;
    box-shadow: 
        0 0 15px #FF0000,
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.obliteration-slider::-webkit-slider-thumb {
    background: radial-gradient(circle, #FF0000, #8B0000, #000000);
    box-shadow: 
        0 0 20px #FF0000,
        0 0 40px #FFE135,
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    animation: nuclear-glow 2s infinite ease-in-out;
}

.dominance-slider::-moz-range-thumb, 
.obliteration-slider::-moz-range-thumb {
    background: radial-gradient(circle, #FFFFFF, #FFE135, #FF0000);
    height: 28px;
    width: 28px;
    border-radius: 50%;
    border: 4px solid #FF0000;
    box-shadow: 0 0 15px #FF0000;
    cursor: pointer;
}

/* Button Devastation Effects */
button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

button:active {
    transform: translateY(0);
    animation: screenShake 0.2s ease-in-out;
}

/* Destroyer Button Special War Effects */
.destroyer-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s;
    z-index: 1;
}

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

/* Nuclear Material Warning Styling */
.nuclear-warning {
    background: repeating-linear-gradient(
        45deg,
        #FFC107 0px,
        #FFC107 10px,
        #FF0000 10px,
        #FF0000 20px
    );
    border: 4px solid #FF0000;
    box-shadow: 
        0 0 20px rgba(255, 0, 0, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: pulse-red 2s infinite;
}

/* Command Center Typography */
.font-impact {
    font-family: 'Impact', 'Bebas Neue', Arial Black, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.font-bebas {
    font-family: 'Bebas Neue', 'Impact', Arial Black, sans-serif;
    letter-spacing: 1.5px;
}

/* Metallic Gold Text Effects */
.metallic-gold {
    background: linear-gradient(45deg, #FFD700, #FFE135, #FF6B35, #FFD700);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: metallicShine 3s ease-in-out infinite;
}

@keyframes metallicShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Blood Drip Effects for Memorial Wall */
.blood-drip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #8B0000, transparent);
    transform: translateX(-50%);
    animation: bloodDrip 4s infinite ease-in-out;
}

@keyframes bloodDrip {
    0%, 90% { height: 0; opacity: 0; }
     10%, 80% { height: 20px; opacity: 1; }
}

/* Radar Scanning Effect */
.radar-scan {
    position: relative;
    overflow: hidden;
}

.radar-scan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 69, 0, 0.3) 45%, 
        rgba(255, 0, 0, 0.6) 50%, 
        rgba(255, 69, 0, 0.3) 55%, 
        transparent 100%
    );
    transform: translateX(-100%);
    animation: radarSweep 2s ease-in-out infinite;
}

@keyframes radarSweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Progress Bar War Mode */
.progress-bar {
    transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    transform: translateX(-100%);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Card Destruction Hover Effects */
.destruction-card {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.destruction-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(255, 0, 0, 0.4),
        0 0 30px rgba(255, 225, 53, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Achievement Badge Glow */
.achievement-badge {
    position: relative;
    background: radial-gradient(circle at center, #FFD700, #FF6B35, #CC0000);
    border: 3px solid #FFE135;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 107, 53, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.achievement-badge::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #FF6B35, #FFD700);
    border-radius: inherit;
    z-index: -1;
    animation: achievementGlow 3s ease-in-out infinite;
}

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

/* Memorial Tombstone Effects */
.tombstone {
    position: relative;
    background: linear-gradient(180deg, #2D2D2D, #1A1A1A);
    border: 2px solid #8B0000;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.8),
        inset 0 0 10px rgba(139, 0, 0, 0.3);
}

.tombstone::before {
    content: 'RIP';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: bold;
    color: #8B0000;
    text-shadow: 0 0 5px #8B0000;
}

/* Input Field War Styling */
input[type="number"], input[type="text"], textarea, select {
    transition: all 0.3s ease;
    position: relative;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #FF0000 !important;
    box-shadow: 
        0 0 20px rgba(255, 0, 0, 0.5),
        inset 0 0 10px rgba(255, 69, 0, 0.2);
    transform: scale(1.02);
}

/* Responsive Destruction */
@media (max-width: 768px) {
    .font-impact {
        font-size: 0.9em;
        letter-spacing: 1px;
    }
    
    button {
        padding: 12px 20px !important;
        font-size: 16px !important;
    }
    
    .destruction-card {
        margin: 10px 0;
    }
}

/* Final Boss Styling */
.final-boss-section {
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 0, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 69, 0, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #1A1A1A 0%, #CC0000 100%);
    border: 8px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.final-boss-section::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, #FFD700, #FF0000, #FFD700);
    border-radius: inherit;
    z-index: -1;
    animation: final-boss-border 3s linear infinite;
}

@keyframes final-boss-border {
    0%, 100% { 
        background: linear-gradient(45deg, #FFD700, #FF0000, #FFD700);
    }
    25% { 
        background: linear-gradient(135deg, #FF0000, #FFD700, #FF0000);
    }
    50% { 
        background: linear-gradient(225deg, #FFD700, #FF0000, #FFD700);
    }
    75% { 
        background: linear-gradient(315deg, #FF0000, #FFD700, #FF0000);
    }
}