.site-body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(8, 145, 178, 0.22), transparent 30%), linear-gradient(180deg, #020617 0%, #0f172a 45%, #020617 100%);
    color: #f8fafc;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.88), rgba(15, 23, 42, 0.96));
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(30, 64, 175, 0.42);
    box-shadow: 0 18px 60px rgba(2, 6, 23, 0.45);
}

.header-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-row {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #22d3ee, #2563eb);
    color: #fff;
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.35);
}

.brand-name {
    font-size: 1.35rem;
    background: linear-gradient(90deg, #22d3ee, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    color: #e5e7eb;
    font-weight: 600;
}

.nav-links a,
.mobile-panel a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.mobile-panel a:hover {
    color: #22d3ee;
}

.menu-toggle {
    display: none;
    padding: 0.5rem;
    border-radius: 0.75rem;
    color: #e5e7eb;
}

.menu-toggle:hover {
    color: #22d3ee;
    background: rgba(15, 23, 42, 0.6);
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(30, 64, 175, 0.35);
    padding: 1rem 0;
}

.mobile-panel.is-open {
    display: grid;
    gap: 0.9rem;
}

.main-wrap {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.hero {
    position: relative;
    height: 70vh;
    min-height: 34rem;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.72) 45%, rgba(2, 6, 23, 0.15) 100%);
}

.hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem 1rem 4rem;
}

.hero-content-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(8, 145, 178, 0.2);
    border: 1px solid rgba(34, 211, 238, 0.35);
    color: #67e8f9;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.hero h1 {
    max-width: 52rem;
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.045em;
    text-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

.hero p {
    max-width: 44rem;
    margin-top: 1rem;
    color: #d1d5db;
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.8rem;
    padding: 0.72rem 1.35rem;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 18px 42px rgba(8, 145, 178, 0.35);
}

.secondary-btn {
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

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

.hero-dots {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-dots button {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
    width: 2rem;
    background: #22d3ee;
}

.search-panel {
    margin-top: -2rem;
    position: relative;
    z-index: 4;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.search-card {
    background: rgba(15, 23, 42, 0.86);
    border: 1px solid rgba(30, 64, 175, 0.38);
    border-radius: 1.4rem;
    padding: 1rem;
    box-shadow: 0 22px 64px rgba(2, 6, 23, 0.46);
    backdrop-filter: blur(14px);
}

.search-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 11rem 11rem;
    gap: 0.75rem;
}

.search-grid input,
.search-grid select {
    width: 100%;
    min-height: 3rem;
    padding: 0 1rem;
    border-radius: 1rem;
    background: rgba(2, 6, 23, 0.84);
    color: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.18);
    outline: none;
}

.search-grid input:focus,
.search-grid select:focus {
    border-color: rgba(34, 211, 238, 0.7);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
}

.search-results {
    display: none;
    margin-top: 1rem;
    max-height: 34rem;
    overflow: auto;
    border-radius: 1.1rem;
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.13);
}

.search-results.is-open {
    display: grid;
}

.search-result-item {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 0.9rem;
    padding: 0.8rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.search-result-item img {
    width: 4.5rem;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 0.75rem;
}

.section-stack {
    display: grid;
    gap: 4rem;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-kicker {
    color: #22d3ee;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    line-height: 1.1;
    font-weight: 900;
    color: #fff;
}

.section-desc {
    max-width: 46rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.3rem;
}

.movie-grid.compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.movie-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.13);
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 24px 50px rgba(8, 145, 178, 0.18);
}

.movie-cover {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.8);
}

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

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

.movie-badge {
    position: absolute;
    left: 0.65rem;
    top: 0.65rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.72);
    color: #67e8f9;
    font-size: 0.74rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.movie-score {
    position: absolute;
    right: 0.65rem;
    top: 0.65rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.92);
    color: #111827;
    font-size: 0.74rem;
    font-weight: 900;
}

.movie-info {
    display: grid;
    gap: 0.45rem;
    padding: 0.9rem;
}

.movie-title {
    font-weight: 900;
    color: #fff;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    color: #94a3b8;
    font-size: 0.78rem;
}

.movie-line {
    color: #cbd5e1;
    font-size: 0.86rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    min-height: 20rem;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
}

.feature-card img {
    width: 100%;
    height: 100%;
    min-height: 20rem;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.feature-card:hover img {
    transform: scale(1.08);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.08));
}

.feature-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.2rem;
}

.feature-info h3 {
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 0.45rem;
}

.feature-info p {
    color: #cbd5e1;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.band {
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.25), rgba(88, 28, 135, 0.22));
    border: 1px solid rgba(59, 130, 246, 0.18);
    padding: 2rem;
}

.rank-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.rank-item {
    display: grid;
    grid-template-columns: 3rem 5rem minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
    background: rgba(30, 41, 59, 0.92);
    transform: translateX(4px);
}

.rank-num {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.14);
    color: #67e8f9;
    font-weight: 900;
}

.rank-item img {
    width: 5rem;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 0.75rem;
}

.rank-title {
    font-weight: 900;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.category-card {
    min-height: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 1.1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.22));
    border: 1px solid rgba(148, 163, 184, 0.14);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.45);
}

.category-card strong {
    color: #fff;
    font-size: 1.15rem;
}

.category-card span {
    color: #94a3b8;
    font-size: 0.85rem;
}

.page-hero {
    padding: 4rem 0 2rem;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 900;
    max-width: 58rem;
    background: linear-gradient(90deg, #67e8f9, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-hero p {
    max-width: 50rem;
    margin-top: 1rem;
    color: #cbd5e1;
    font-size: 1.06rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.breadcrumb a {
    color: #67e8f9;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    min-width: 2.45rem;
    height: 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #e5e7eb;
    font-weight: 800;
}

.pagination span,
.pagination a:hover {
    background: rgba(8, 145, 178, 0.22);
    color: #67e8f9;
    border-color: rgba(34, 211, 238, 0.42);
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 2rem;
    align-items: center;
    padding: 3rem 0;
}

.detail-cover {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    background: #0f172a;
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.detail-info h1 {
    font-size: clamp(2.2rem, 4.6vw, 4.1rem);
    line-height: 1.05;
    font-weight: 900;
    color: #fff;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.detail-meta span,
.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.62rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: #cbd5e1;
    font-size: 0.86rem;
}

.detail-lead {
    margin-top: 1.1rem;
    color: #dbeafe;
    font-size: 1.08rem;
}

.player-card {
    border-radius: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.20));
    border: 1px solid rgba(59, 130, 246, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: #000;
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.20), rgba(2, 6, 23, 0.62));
    z-index: 3;
}

.player-overlay.is-hidden {
    display: none;
}

.play-circle {
    width: 5rem;
    height: 5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 18px 60px rgba(8, 145, 178, 0.45);
    color: #fff;
    transform: scale(1);
    transition: transform 0.2s ease;
}

.player-overlay:hover .play-circle {
    transform: scale(1.08);
}

.content-card {
    border-radius: 1.25rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.13);
}

.content-card h2 {
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: #fff;
}

.content-card p {
    color: #cbd5e1;
    line-height: 1.85;
}

.two-col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
}

.site-footer {
    margin-top: 4rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8), #020617);
    border-top: 1px solid rgba(30, 64, 175, 0.28);
}

.footer-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    gap: 0.8rem;
    justify-items: center;
    color: #94a3b8;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-links a:hover {
    color: #22d3ee;
}

@media (max-width: 1024px) {
    .movie-grid,
    .movie-grid.compact,
    .feature-grid,
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rank-list,
    .detail-hero,
    .two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero {
        min-height: 31rem;
        height: 68vh;
    }

    .hero-dots {
        right: 1rem;
        bottom: 1rem;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

    .movie-grid,
    .movie-grid.compact,
    .feature-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .rank-item {
        grid-template-columns: 2.5rem 4.5rem minmax(0, 1fr);
    }

    .band {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .movie-grid,
    .movie-grid.compact,
    .feature-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .brand-name {
        font-size: 1.08rem;
    }

    .hero h1 {
        font-size: 2.35rem;
    }
}
