/* ---------- base ---------- */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #060608;
    color: #fff;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

header {
    display: none;
}

::selection {
    background: rgba(255, 255, 255, 0.9);
    color: #060608;
}

/* ---------- nav ---------- */

.theater-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px clamp(20px, 5vw, 56px);
    background: linear-gradient(to bottom, rgba(6, 6, 8, 0.75), transparent);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.theater-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.theater-nav a:hover {
    color: #fff;
}

.theater-label {
    opacity: 0.55;
}

.theater-label:hover {
    opacity: 1;
}

/* ---------- hero ---------- */

.theater-hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(6, 6, 8, 0.55) 100%),
        linear-gradient(to bottom, rgba(6, 6, 8, 0.35) 0%, rgba(6, 6, 8, 0.15) 40%, rgba(6, 6, 8, 0.92) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 0 24px;
    animation: hero-rise 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 18px;
}

.hero-title {
    font-size: clamp(64px, 14vw, 168px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin: 0;
    background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.55) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-sub {
    max-width: 480px;
    margin: 22px auto 0;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

.hero-scroll {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    display: block;
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
    overflow: hidden;
    position: relative;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #fff);
    animation: scroll-drip 2.2s ease-in-out infinite;
}

@keyframes scroll-drip {
    0% { top: -100%; }
    60%, 100% { top: 100%; }
}

/* ---------- film list ---------- */

.theater-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 40px) 40px;
    display: flex;
    flex-direction: column;
    gap: clamp(88px, 12vw, 160px);
}

.video-card {
    position: relative;
}

.video-card.will-reveal {
    opacity: 0;
    transform: translateY(48px);
}

.video-card.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #0c0c10;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.07),
        0 24px 80px -24px rgba(0, 0, 0, 0.9);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.video-card:hover .video-embed {
    transform: translateY(-4px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.14),
        0 36px 100px -20px rgba(0, 0, 0, 0.95),
        0 0 120px -30px rgba(120, 160, 255, 0.25);
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.video-meta {
    display: flex;
    align-items: baseline;
    gap: 22px;
    margin-top: 26px;
    padding: 0 6px;
}

.video-index {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.35);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.video-title {
    text-align: left;
    font-size: clamp(22px, 3.4vw, 32px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin: 0;
    color: #fff;
}

.video-desc {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    max-width: 560px;
}

/* ---------- footer ---------- */

.theater-footer {
    text-align: center;
    padding: 80px 20px 56px;
}

.theater-footer a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.theater-footer a:hover {
    color: #fff;
}

/* ---------- small screens ---------- */

@media (max-width: 640px) {
    .video-meta {
        flex-direction: column;
        gap: 10px;
    }

    .video-embed {
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-content {
        animation: none;
    }

    .scroll-line::after {
        animation: none;
    }
}
