:root {
    --bg-dark: #0a0a0b;
    --forest-green: #1b4d3e;
    --royal-gold: #d4af37;
    --glow-color: rgba(27, 77, 62, 0.6);
    --text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg-dark);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    color: white;
    /* Premium radial gradient */
    background: radial-gradient(circle at center, #1b4d3e 0%, #0a0a0b 80%);
    position: relative;
}

/* Subtle scanlines for cinematic feel */
body::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 10;
}

.container {
    position: relative;
    text-align: center;
    max-width: 90%;
    z-index: 5;
}

.poster-wrapper {
    position: relative;
    display: inline-block;
    line-height: 0;
}

/* Dynamic Rotating Glow */
.poster-wrapper::after {
    content: '';
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    background: linear-gradient(45deg, var(--forest-green), var(--royal-gold), var(--forest-green));
    filter: blur(40px);
    opacity: 0.25;
    z-index: -1;
    animation: rotateGlow 12s infinite linear;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: sepia(0.2) contrast(1.1);
}

img:hover {
    transform: scale(1.03) translateY(-10px);
    border-color: rgba(212, 175, 55, 0.7);
    filter: sepia(0) contrast(1.2);
    box-shadow: 0 30px 80px rgba(0,0,0,1), 0 0 20px rgba(27, 77, 62, 0.4);
}

.status {
    margin-top: 3rem;
    font-family: 'VT323', monospace;
    font-size: 1.8rem;
    color: var(--royal-gold);
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: var(--text-shadow);
    animation: flicker 4s infinite;
}

@keyframes flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 0.99;
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.4;
        text-shadow: none;
    }
}

/* Loading Cursor Animation */
.status::after {
    content: '_';
    animation: blink 1s infinite steps(2);
}

@keyframes blink {
    to { opacity: 0; }
}

@media (max-width: 768px) {
    .status {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }
}
