/* Theater environment styles */
@keyframes spotlight {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes curtainReveal {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.theater-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, #000000 25%, transparent 25%),
        linear-gradient(-45deg, #000000 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #000000 75%),
        linear-gradient(-45deg, transparent 75%, #000000 75%);
    background-size: 20px 20px;
    background-color: #0a0a0a;
    z-index: -1;
}

.spotlight {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,223,67,0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: spotlight 4s infinite;
}

.spotlight:nth-child(2) {
    animation-delay: -2s;
    background: radial-gradient(circle, rgba(255,67,67,0.15) 0%, transparent 70%);
}

.curtain {
    position: fixed;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, #4a0000, #800000);
    z-index: -1;
    transform-origin: top;
    animation: curtainReveal 1.5s ease-out forwards;
}

.curtain-left {
    left: 0;
    transform-origin: left top;
}

.curtain-right {
    right: 0;
    transform-origin: right top;
}

.curtain::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1) 2px,
        transparent 2px,
        transparent 20px
    );
}