html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 38%, #f5f3ff 100%);
    color: #1f2937;
}

img {
    display: block;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.logo-mark {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.nav-search-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 80;
    max-height: 25rem;
    overflow-y: auto;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(88, 28, 135, 0.24);
    display: none;
}

.nav-search-panel.is-visible {
    display: block;
}

.search-result-item {
    display: block;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.search-result-item:last-child {
    border-bottom: 0;
}

.search-result-item strong {
    display: block;
    color: #111827;
    margin-bottom: 0.2rem;
}

.search-result-item span {
    display: block;
    color: #6b7280;
    font-size: 0.82rem;
    line-height: 1.45;
}

.mobile-panel {
    display: none;
}

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

.site-hero {
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 700ms ease, transform 700ms ease;
    transform: scale(1.015);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(236, 72, 153, 0.35), transparent 30%), linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.10));
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    color: #fef3c7;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    font-weight: 600;
}

.hero-controls {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.hero-dot {
    width: 0.65rem;
    height: 0.65rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 250ms ease, background 250ms ease;
}

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

.section-card {
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 60px rgba(88, 28, 135, 0.12);
    backdrop-filter: blur(12px);
}

.movie-card {
    text-decoration: none;
    color: inherit;
}

.movie-cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #581c87);
}

.movie-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.movie-card:hover .movie-cover img {
    transform: scale(1.07);
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #be185d;
    background: #fce7f3;
}

.rank-number {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, #ef4444, #ec4899, #8b5cf6);
    box-shadow: 0 10px 26px rgba(236, 72, 153, 0.32);
}

.player-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: #050505;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

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

.player-cover-button {
    position: absolute;
    inset: 0;
    z-index: 5;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.28));
}

.player-cover-button.is-hidden {
    display: none;
}

.player-play-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    padding-left: 0.25rem;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    box-shadow: 0 24px 60px rgba(236, 72, 153, 0.45);
}

.breadcrumbs a {
    color: #7c3aed;
}

.static-content p {
    line-height: 1.9;
    margin-bottom: 1rem;
}

.static-content h2 {
    font-size: 1.35rem;
    line-height: 1.4;
    font-weight: 800;
    margin: 2rem 0 0.75rem;
    color: #111827;
}

.index-link-grid {
    columns: 1;
}

.index-link-grid a {
    display: block;
    break-inside: avoid;
    padding: 0.6rem 0;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.index-link-grid a:hover {
    color: #9333ea;
}

@media (min-width: 640px) {
    .index-link-grid {
        columns: 2;
    }
}

@media (min-width: 1024px) {
    .index-link-grid {
        columns: 4;
    }
}

@media (max-width: 767px) {
    .hero-content {
        padding-bottom: 4.75rem;
    }

    .hero-controls {
        left: 1rem;
        right: auto;
        bottom: 1.25rem;
    }

    .player-play-icon {
        width: 4rem;
        height: 4rem;
        font-size: 1.65rem;
    }
}
