/* ========================================
   BRUTAL WARNING MODAL - EPIC METAL EFFECTS
   ======================================== */

.brutal-modal {
    z-index: 10000 !important;
}

.brutal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139,0,0,0.95) 0%, rgba(0,0,0,0.98) 100%);
    animation: pulseRed 2s infinite;
}

.brutal-modal.show .brutal-overlay {
    animation: pulseRed 2s infinite, screenShake 0.5s;
}

.brutal-warning-content {
    position: relative;
    max-width: 700px;
    background: linear-gradient(135deg, var(--death-black) 0%, var(--blood-red) 100%);
    border: 5px solid var(--rust-orange);
    box-shadow: 0 0 50px rgba(139, 0, 0, 0.8), inset 0 0 30px rgba(0, 0, 0, 0.5);
    animation: modalAppear 0.6s ease-out, float 3s ease-in-out infinite;
    overflow: visible;
}

.brutal-modal.show .brutal-warning-content {
    animation: modalAppear 0.6s ease-out, screenShake 0.5s 0.1s, float 3s ease-in-out 1s infinite;
}

.skull-container {
    display: flex;
    justify-content: space-around;
    font-size: 3rem;
    color: var(--bone-white);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.skull-container i {
    animation: skullBounce 1s ease-in-out infinite;
}

.skull-container i:nth-child(1) {
    animation-delay: 0s;
}

.skull-container i:nth-child(2) {
    animation-delay: 0.2s;
    font-size: 4rem;
    color: var(--blood-red);
}

.skull-container i:nth-child(3) {
    animation-delay: 0.4s;
}

.brutal-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--rust-orange);
    text-shadow:
        0 0 10px var(--blood-red),
        0 0 20px var(--blood-red),
        0 0 30px var(--blood-red),
        2px 2px 4px rgba(0,0,0,0.8);
    animation: glow 2s ease-in-out infinite, textShake 0.3s infinite;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.blood-drip {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--blood-red), transparent);
    box-shadow: 0 2px 10px var(--blood-red);
    margin-bottom: 2rem;
    animation: drip 2s ease-in-out infinite;
}

.warning-text {
    color: var(--bone-white);
    text-align: center;
    padding: 1rem;
}

.brutal-main-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse 2s infinite;
}

.blood-text {
    color: var(--blood-red);
    text-shadow: 0 0 10px var(--blood-red);
    animation: bloodPulse 1.5s infinite;
}

.brutal-sub-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.brutal-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.brutal-list li {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1rem 0;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    border-left: 4px solid var(--rust-orange);
    text-transform: uppercase;
    animation: slideInLeft 0.5s ease-out;
}

.brutal-list li:nth-child(1) { animation-delay: 0.2s; animation-fill-mode: backwards; }
.brutal-list li:nth-child(2) { animation-delay: 0.4s; animation-fill-mode: backwards; }
.brutal-list li:nth-child(3) { animation-delay: 0.6s; animation-fill-mode: backwards; }
.brutal-list li:nth-child(4) { animation-delay: 0.8s; animation-fill-mode: backwards; }

.brutal-list i {
    color: var(--rust-orange);
    margin-right: 0.75rem;
}

.brutal-consequence {
    font-size: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(139, 0, 0, 0.3);
    border: 2px dashed var(--rust-orange);
    border-radius: 10px;
}

.shaking-text {
    display: inline-block;
    animation: intenseShake 0.5s infinite;
    font-weight: 700;
    color: var(--rust-orange);
}

.brutal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding: 0 1rem 1rem 1rem;
}

.btn-brutal-confirm {
    flex: 1;
    max-width: 300px;
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--blood-red), var(--rust-orange));
    color: var(--bone-white);
    border: 3px solid var(--rust-orange);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
    animation: buttonPulse 2s infinite;
}

.btn-brutal-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 140, 0, 0.8);
    animation: buttonPulse 0.5s infinite, intenseShake 0.2s infinite;
}

.btn-brutal-cancel {
    flex: 1;
    max-width: 200px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: var(--steel-gray);
    color: var(--bone-white);
    border: 2px solid var(--gray-metal);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.7;
}

.btn-brutal-cancel:hover {
    opacity: 1;
    background: var(--gray-metal);
}

.flames-container {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-around;
    pointer-events: none;
}

.flame {
    width: 40px;
    height: 60px;
    background: linear-gradient(to top, var(--rust-orange), var(--blood-red), transparent);
    border-radius: 50% 50% 0 0;
    animation: flameFlicker 0.5s ease-in-out infinite;
    box-shadow: 0 0 20px var(--rust-orange);
}

.flame:nth-child(1) { animation-delay: 0s; }
.flame:nth-child(2) { animation-delay: 0.1s; }
.flame:nth-child(3) { animation-delay: 0.2s; }
.flame:nth-child(4) { animation-delay: 0.3s; }

/* ========================================
   BRUTAL ANIMATIONS
   ======================================== */

@keyframes pulseRed {
    0%, 100% { background: radial-gradient(circle, rgba(139,0,0,0.95) 0%, rgba(0,0,0,0.98) 100%); }
    50% { background: radial-gradient(circle, rgba(139,0,0,0.85) 0%, rgba(0,0,0,0.95) 100%); }
}

@keyframes screenShake {
    0%, 100% { transform: translate(0, 0); }
    10%, 30%, 50%, 70%, 90% { transform: translate(-5px, 5px); }
    20%, 40%, 60%, 80% { transform: translate(5px, -5px); }
}

@keyframes modalAppear {
    0% {
        transform: scale(0.3) rotate(-10deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

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

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

@keyframes glow {
    0%, 100% {
        text-shadow:
            0 0 10px var(--blood-red),
            0 0 20px var(--blood-red),
            0 0 30px var(--blood-red);
    }
    50% {
        text-shadow:
            0 0 20px var(--rust-orange),
            0 0 30px var(--rust-orange),
            0 0 40px var(--rust-orange);
    }
}

@keyframes textShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

@keyframes drip {
    0% { opacity: 1; width: 100%; }
    50% { opacity: 0.5; width: 90%; }
    100% { opacity: 1; width: 100%; }
}

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

@keyframes bloodPulse {
    0%, 100% {
        color: var(--blood-red);
        text-shadow: 0 0 10px var(--blood-red);
    }
    50% {
        color: var(--rust-orange);
        text-shadow: 0 0 20px var(--rust-orange);
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes intenseShake {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px) rotate(-1deg); }
    20%, 40%, 60%, 80% { transform: translateX(3px) rotate(1deg); }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 140, 0, 0.8);
    }
}

@keyframes flameFlicker {
    0%, 100% {
        transform: scaleY(1) scaleX(1);
        opacity: 1;
    }
    50% {
        transform: scaleY(1.2) scaleX(0.9);
        opacity: 0.8;
    }
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .brutal-warning-content {
        max-width: 95%;
        margin: 1rem;
        padding: 1.5rem 1rem;
        border-width: 3px;
    }

    .skull-container {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .skull-container i:nth-child(2) {
        font-size: 2.5rem;
    }

    .brutal-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 0.75rem;
    }

    .blood-drip {
        margin-bottom: 1rem;
    }

    .warning-text {
        padding: 0.5rem;
    }

    .brutal-main-text {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        letter-spacing: 1px;
    }

    .brutal-sub-text {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .brutal-list {
        margin: 1rem 0;
        max-width: 100%;
    }

    .brutal-list li {
        font-size: 0.9rem;
        margin: 0.75rem 0;
        padding: 0.5rem;
        border-left-width: 3px;
    }

    .brutal-list i {
        margin-right: 0.5rem;
        font-size: 0.85rem;
    }

    .brutal-consequence {
        font-size: 0.85rem;
        margin-top: 1rem;
        padding: 1rem;
    }

    .brutal-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
        padding: 0 0.5rem 0.5rem 0.5rem;
    }

    .btn-brutal-confirm {
        max-width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .btn-brutal-cancel {
        max-width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .flames-container {
        bottom: -20px;
        height: 40px;
    }

    .flame {
        width: 30px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .brutal-warning-content {
        max-width: 98%;
        margin: 0.5rem;
        padding: 1rem 0.75rem;
        border-width: 2px;
    }

    .skull-container {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .skull-container i:nth-child(2) {
        font-size: 2rem;
    }

    .brutal-title {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
    }

    .brutal-main-text {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .brutal-sub-text {
        font-size: 0.85rem;
    }

    .brutal-list li {
        font-size: 0.8rem;
        padding: 0.4rem;
    }

    .brutal-consequence {
        font-size: 0.75rem;
        padding: 0.75rem;
    }

    .btn-brutal-confirm {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .btn-brutal-cancel {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
    }

    .flames-container {
        bottom: -15px;
        height: 30px;
    }

    .flame {
        width: 20px;
        height: 30px;
    }
}
