/**
 * Cinema Mode Styling
 */

#cinema-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 20000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    font-family: 'Inter', sans-serif;
}

#cinema-modal.active {
    opacity: 1;
    pointer-events: auto;
}

#cinema-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cinema-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    z-index: 20001;
}

.cinema-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

#cinema-modal:hover .cinema-header {
    opacity: 1;
}

#cinema-video-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.5));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cinema-close-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cinema-close-btn:hover {
    background: #f43f5e;
    border-color: #f43f5e;
    transform: rotate(90deg);
}

.cinema-controls-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Three.js CSS3D CSS Fixes */
.css3d-object {
    box-shadow: 0 0 100px rgba(41, 151, 255, 0.2);
}

@media (max-width: 768px) {
    #cinema-video-title {
        font-size: 1rem;
    }
}
