:root {
    color-scheme: light;
    --site-primary: #d4884b;
    --site-primary-dark: #c6703f;
    --site-ink: #1c1917;
    --site-muted: #57534e;
    --site-warm: #faf9f7;
    --site-line: #e8e4dc;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(212, 136, 75, 0.16), transparent 34rem),
        linear-gradient(180deg, #fffaf4 0%, #faf9f7 42%, #ffffff 100%);
    color: var(--site-ink);
    min-height: 100vh;
}

.site-header {
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(232, 228, 220, 0.86);
}

.logo-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.9rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--site-primary), #ed7516);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(212, 136, 75, 0.25);
}

.nav-link {
    font-weight: 600;
    color: #44403c;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
    color: var(--site-primary-dark);
    transform: translateY(-1px);
}

.mobile-panel {
    display: none;
}

.mobile-panel.is-open {
    display: block;
}

.hero-slider {
    min-height: 500px;
    background: #1c1917;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.9s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.02);
}

.hero-copy {
    max-width: 760px;
    text-shadow: 0 16px 42px rgba(0, 0, 0, 0.4);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff7ed;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-summary {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 2.1rem;
    background: #ffffff;
}

.section-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(232, 228, 220, 0.88);
    box-shadow: 0 24px 70px rgba(28, 25, 23, 0.08);
    backdrop-filter: blur(14px);
}

.movie-card {
    border: 1px solid rgba(232, 228, 220, 0.85);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 136, 75, 0.46);
    box-shadow: 0 20px 48px rgba(28, 25, 23, 0.12);
}

.movie-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #292524, #d4884b);
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
    font-size: 0.76rem;
    font-weight: 700;
    background: #fff7ed;
    color: #a55936;
    border: 1px solid rgba(212, 136, 75, 0.22);
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.78rem 1.25rem;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    background: linear-gradient(135deg, var(--site-primary), #ed7516);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(212, 136, 75, 0.25);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

.primary-button:hover {
    box-shadow: 0 20px 40px rgba(212, 136, 75, 0.33);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(12px);
}

.light-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.68rem 1rem;
    font-weight: 800;
    color: #a55936;
    background: #fff7ed;
    border: 1px solid rgba(212, 136, 75, 0.22);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.light-button:hover {
    transform: translateY(-1px);
    color: #ffffff;
    background: var(--site-primary-dark);
}

.filter-box {
    border: 1px solid rgba(232, 228, 220, 0.92);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 44px rgba(28, 25, 23, 0.06);
}

.filter-input,
.filter-select {
    width: 100%;
    border: 1px solid rgba(232, 228, 220, 0.95);
    border-radius: 999px;
    padding: 0.82rem 1rem;
    outline: none;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-input:focus,
.filter-select:focus {
    border-color: rgba(212, 136, 75, 0.66);
    box-shadow: 0 0 0 4px rgba(212, 136, 75, 0.12);
}

.rank-number {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.9rem;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #d4884b, #ed7516);
    box-shadow: 0 12px 24px rgba(212, 136, 75, 0.2);
}

.player-shell {
    position: relative;
    background: #0c0a09;
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 32px 90px rgba(28, 25, 23, 0.22);
}

.player-shell video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.44));
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.play-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-circle {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.94);
    color: var(--site-primary-dark);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    font-size: 2rem;
    transform: translateZ(0);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 2rem;
}

.prose-block p {
    margin-top: 1rem;
    color: #57534e;
    line-height: 1.9;
}

.site-footer {
    border-top: 1px solid rgba(232, 228, 220, 0.9);
    background: rgba(255, 255, 255, 0.86);
}

@media (max-width: 900px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 620px;
    }

    .hero-copy {
        padding-top: 4rem;
    }

    .desktop-nav {
        display: none;
    }
}
