:root {
    --scarlet-main: #c71818;
    --scarlet-dark: #6b0f0f;
    --text-main: #f2f2f2;
}

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

body {
    min-height: 100vh;
    background: #000;
    color: var(--text-main);
    font-family: 'Cinzel', serif;
    overflow: hidden;
}

/* Background */
body::after {
    content: '';
    position: fixed;
    inset: -5%;
    background: url('background.png') center / cover no-repeat;
    animation: subtleZoom 40s ease-in-out infinite;
    z-index: -2;
}

.radial-gradient {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%);
    z-index: -1;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.logo {
    width: min(600px, 85vw);
    animation: logoGlow 6s ease-in-out infinite;
}

/* Content */
.container {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.status-panel {
    padding: 35px 55px;
    background: linear-gradient(
        180deg,
        rgba(120, 10, 10, 0.35),
        rgba(15, 0, 0, 0.6)
    );
    border: 1px solid rgba(255, 60, 60, 0.25);
    border-radius: 8px;
    box-shadow:
        0 0 30px rgba(200, 20, 20, 0.35),
        inset 0 0 25px rgba(255, 0, 0, 0.08);
    backdrop-filter: blur(6px);
    animation: emberPulse 6s ease-in-out infinite;
}

/* Typewriter */
.typewriter {
    font-size: clamp(1.6rem, 3vw, 3rem);
    letter-spacing: 0.08em;
    text-shadow:
        0 0 10px rgba(255, 60, 60, 0.4),
        0 0 20px rgba(180, 20, 20, 0.3);
}

.typewriter::after {
    content: '|';
    margin-left: 4px;
    animation: blink 1s step-end infinite;
}

/* Beta Text */
.beta-title {
    margin-top: 18px;
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffb0b0;
    text-shadow: 0 0 8px rgba(200, 40, 40, 0.4);
}

.beta-subtitle {
    margin-top: 8px;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    color: rgba(255, 220, 220, 0.7);
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 20px;
    z-index: 10;
}

.footer::before {
    content: '';
    display: block;
    width: 70%;
    height: 1px;
    margin: 0 auto 15px;
    background: linear-gradient(90deg, transparent, rgba(200,40,40,0.5), transparent);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-discord-logo {
    width: 40px;
    filter: invert(1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover .footer-discord-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 0 6px rgba(200,40,40,0.7)) invert(1);
}

/* Animations */
@keyframes blink {
    50% { opacity: 0; }
}

@keyframes subtleZoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 12px rgba(200,0,0,0.3));
    }
    50% {
        filter:
            drop-shadow(0 0 28px rgba(255,30,30,0.55))
            drop-shadow(0 0 45px rgba(140,0,0,0.35));
    }
    100% {
        filter: drop-shadow(0 0 12px rgba(200,0,0,0.3));
    }
}

@keyframes emberPulse {
    0% { opacity: 0.45; }
    50% { opacity: 0.85; }
    100% { opacity: 0.45; }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
