body {
    background:
        radial-gradient(circle at 20% 0%, rgba(6, 182, 212, 0.12), transparent 30rem),
        radial-gradient(circle at 90% 10%, rgba(99, 102, 241, 0.12), transparent 28rem),
        #020617;
}

.site-header {
    background: transparent;
}

.site-header.site-header-scrolled,
.site-header:hover {
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.08);
}

.cover-frame {
    background:
        linear-gradient(135deg, rgba(8, 47, 73, 0.9), rgba(15, 23, 42, 0.95)),
        radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.25), transparent 16rem);
}

.cover-frame img.is-missing-cover {
    opacity: 0;
}

.hero-carousel {
    background: #020617;
}

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

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

.hero-dot {
    width: 2.5rem;
    height: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.3s ease;
}

.hero-dot.is-active {
    width: 4rem;
    background: rgb(34, 211, 238);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    display: none;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: white;
    font-size: 2.5rem;
    line-height: 1;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.hero-arrow:hover {
    background: rgba(6, 182, 212, 0.7);
    border-color: rgba(103, 232, 249, 0.6);
}

.hero-arrow-prev {
    left: 2rem;
}

.hero-arrow-next {
    right: 2rem;
}

.hero-search {
    transform: translateY(0);
}

.movie-card,
.category-tile,
.ranking-row,
.ranking-full-row,
.content-panel {
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.22);
}

.rank-number {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgb(6, 182, 212), rgb(37, 99, 235));
    color: white;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.25);
}

.rank-number-large {
    width: 3rem;
    height: 3rem;
    font-size: 1.1rem;
}

.category-hero,
.detail-hero {
    min-height: 26rem;
}

.video-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    background: #000;
    border: 1px solid rgba(34, 211, 238, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.video-shell video {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.1), rgba(2, 6, 23, 0.45));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.video-message {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 6;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: rgba(226, 232, 240, 0.88);
    font-size: 0.875rem;
    pointer-events: none;
    backdrop-filter: blur(8px);
}

.video-shell.is-playing .video-message {
    opacity: 0;
}

.content-panel {
    border: 1px solid rgba(51, 65, 85, 0.7);
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.72);
    padding: 1.5rem;
}

.search-card-result {
    display: block;
}

@media (min-width: 768px) {
    .hero-arrow {
        display: flex;
    }
}

@media (max-width: 767px) {
    .hero-carousel {
        min-height: 680px;
    }

    .hero-slide .text-5xl {
        font-size: 2.6rem;
        line-height: 1.05;
    }

    .category-hero,
    .detail-hero {
        min-height: auto;
    }
}
