/* Epilepsy Warning Screen Styles */
.epilepsy-warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: none;
    z-index: 100001;
    font-family: 'SFPixelate', 'Courier New', monospace;
}

.epilepsy-warning-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.epilepsy-warning-container {
    text-align: center;
    color: #fff;
    padding: 40px;
    max-width: 800px;
}

.epilepsy-warning-title {
    font-size: 48px;
    color: #ff0000;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 4px;
    animation: warning-pulse 2s ease-in-out infinite;
}

.epilepsy-warning-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #ffffff;
}

.epilepsy-warning-text p {
    margin: 10px 0;
}

.epilepsy-warning-footer {
    margin-top: 40px;
}

.epilepsy-warning-footer p {
    font-size: 18px;
    color: #ffcc00;
    margin-bottom: 20px;
}


@keyframes warning-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Fade out animation */
.epilepsy-warning-overlay.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}