
:root {
    --teal: #0d9488;
    --cyan: #0891b2;
    --dark: #0f172a;
    --muted: #64748b;
    --line: #e5e7eb;
    --soft: #f8fafc;
    --card: #ffffff;
    --shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #111827;
    background: #f9fafb;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(16px);
}

.nav-shell {
    max-width: 1220px;
    margin: 0 auto;
    min-height: 74px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    box-shadow: 0 14px 30px rgba(13, 148, 136, 0.28);
}

.logo-text {
    font-size: 19px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.desktop-nav a,
.mobile-panel a {
    padding: 10px 14px;
    border-radius: 999px;
    color: #475569;
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
    color: #0f766e;
    background: #ccfbf1;
}

.nav-search {
    width: 290px;
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.nav-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 8px 12px;
    color: #0f172a;
}

.nav-search button,
.primary-btn,
.ghost-btn,
.filter-btn,
.play-trigger {
    border: 0;
    cursor: pointer;
}

.nav-search button {
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--teal);
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: #0f172a;
    background: #f1f5f9;
}

.mobile-panel {
    display: none;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.mobile-panel nav {
    max-width: 1220px;
    margin: 0 auto;
    padding: 14px 22px 18px;
    display: grid;
    gap: 8px;
}

.hero {
    position: relative;
    height: min(720px, 72vh);
    min-height: 520px;
    overflow: hidden;
    background: #030712;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.05);
}

.hero-slide.active .hero-bg {
    animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.05);
    }
    to {
        transform: scale(1.12);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 7, 18, 0.92), rgba(3, 7, 18, 0.62) 46%, rgba(3, 7, 18, 0.05));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1220px;
    height: 100%;
    margin: 0 auto;
    padding: 70px 22px 110px;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 680px;
    color: #ffffff;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(20, 184, 166, 0.92);
    font-size: 14px;
    font-weight: 800;
}

.hero h1,
.hero h2 {
    margin: 22px 0 18px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 660px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.primary-btn,
.ghost-btn,
.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
    color: #0f172a;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.2);
}

.primary-btn:hover {
    color: #ffffff;
    background: var(--teal);
    transform: translateY(-2px);
}

.ghost-btn {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: background 0.2s ease;
}

.hero-control:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 4;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.active {
    width: 34px;
    background: #ffffff;
}

.featured-panel {
    max-width: 1220px;
    margin: -74px auto 64px;
    padding: 0 22px;
    position: relative;
    z-index: 6;
}

.featured-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.featured-card img {
    width: 100%;
    height: 190px;
    border-radius: 22px;
    object-fit: cover;
}

.featured-card h2 {
    margin: 8px 0 10px;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.15;
}

.featured-card p {
    color: #475569;
    margin: 0 0 18px;
}

.page-shell,
.content-section,
.category-hero,
.detail-shell {
    max-width: 1220px;
    margin: 0 auto;
    padding-left: 22px;
    padding-right: 22px;
}

.content-section {
    margin-top: 58px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.section-heading div:first-child {
    display: grid;
    gap: 4px;
}

.section-heading span {
    color: var(--teal);
    font-weight: 900;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(26px, 3.6vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 0;
    color: #64748b;
}

.section-link {
    color: #0f766e;
    font-weight: 800;
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 184, 166, 0.45);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.13);
}

.movie-card-link {
    display: block;
    height: 100%;
}

.movie-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e2e8f0;
}

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

.movie-card:hover .movie-poster img {
    transform: scale(1.06);
}

.movie-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.82);
    font-size: 12px;
    font-weight: 800;
}

.movie-card-body {
    padding: 17px;
}

.movie-card h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card p {
    margin: 0 0 12px;
    min-height: 44px;
    color: #64748b;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.movie-meta {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.movie-meta span:nth-child(2),
.tag-row span {
    color: #0f766e;
    background: #ccfbf1;
    border-radius: 999px;
    padding: 4px 9px;
}

.tag-row {
    margin-top: 12px;
}

.tag-row span {
    font-size: 12px;
    font-weight: 800;
}

.category-band {
    padding: 70px 0;
    margin-top: 70px;
    background: #ffffff;
}

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

.category-card {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    padding: 24px;
    border-radius: 26px;
    color: #ffffff;
    background: linear-gradient(135deg, #0f766e, #0891b2);
    box-shadow: 0 18px 42px rgba(8, 145, 178, 0.22);
}

.category-card:nth-child(2n) {
    background: linear-gradient(135deg, #0f172a, #0f766e);
}

.category-card::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -26px;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.category-card h2,
.category-card h3 {
    position: relative;
    margin: 0 0 10px;
    font-size: 24px;
}

.category-card p {
    position: relative;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
}

.category-card span {
    position: relative;
    font-weight: 900;
}

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

.rank-item {
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.rank-link {
    display: grid;
    grid-template-columns: 58px 116px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px;
}

.rank-number {
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
    color: #0f766e;
}

.rank-link img {
    width: 116px;
    height: 76px;
    object-fit: cover;
    border-radius: 16px;
}

.rank-link h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.rank-link p {
    margin: 0 0 8px;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-hero {
    padding-top: 54px;
}

.category-hero-card {
    overflow: hidden;
    padding: 42px;
    border-radius: 32px;
    color: #ffffff;
    background: radial-gradient(circle at top right, rgba(45, 212, 191, 0.45), transparent 34%), linear-gradient(135deg, #0f172a, #0f766e 58%, #0891b2);
    box-shadow: var(--shadow);
}

.category-hero-card h1 {
    margin: 12px 0 12px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.category-hero-card p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 180px;
    gap: 12px;
    margin: 26px 0 30px;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    outline: 0;
    padding: 0 17px;
    color: #0f172a;
    background: #ffffff;
}

.filter-btn {
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.detail-hero {
    padding: 44px 0 24px;
    background: radial-gradient(circle at top right, rgba(20, 184, 166, 0.22), transparent 32%), #f8fafc;
}

.detail-top {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 34px;
    align-items: center;
}

.detail-cover {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow);
    background: #e2e8f0;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #64748b;
    font-size: 14px;
}

.breadcrumb a {
    color: #0f766e;
    font-weight: 800;
}

.detail-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.detail-copy p {
    margin: 0 0 22px;
    color: #475569;
    font-size: 18px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.detail-tags span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #0f766e;
    background: #ccfbf1;
    font-size: 13px;
    font-weight: 900;
}

.detail-actions .primary-btn {
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.player-section {
    margin-top: 42px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #020617;
    box-shadow: var(--shadow);
}

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

.play-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.62));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-shell.ready .play-layer {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-trigger {
    width: 94px;
    height: 94px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 34px;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    box-shadow: 0 22px 48px rgba(13, 148, 136, 0.36);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    margin-top: 38px;
}

.article-card,
.side-card {
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.article-card h2,
.side-card h2 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: 24px;
}

.article-card p {
    margin: 0 0 20px;
    color: #334155;
    font-size: 17px;
}

.side-list {
    display: grid;
    gap: 14px;
}

.side-link {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;
    align-items: center;
}

.side-link img {
    width: 92px;
    height: 62px;
    object-fit: cover;
    border-radius: 14px;
}

.side-link strong {
    display: block;
    margin-bottom: 5px;
    color: #0f172a;
    line-height: 1.35;
}

.side-link span {
    color: #64748b;
    font-size: 13px;
}

.site-footer {
    margin-top: 78px;
    padding: 46px 22px 28px;
    border-top: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.footer-grid {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 36px;
}

.footer-grid p {
    color: #64748b;
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 17px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    padding: 7px 12px;
    border-radius: 999px;
    color: #0f766e;
    background: #ccfbf1;
    font-size: 14px;
    font-weight: 800;
}

.copyright {
    max-width: 1220px;
    margin: 32px auto 0;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .desktop-nav,
    .nav-search {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

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

    .detail-top,
    .detail-grid,
    .featured-card {
        grid-template-columns: 1fr;
    }

    .detail-cover {
        max-width: 360px;
    }
}

@media (max-width: 760px) {
    .nav-shell {
        min-height: 66px;
    }

    .hero {
        min-height: 580px;
        height: 74vh;
    }

    .hero-content {
        padding: 70px 22px 96px;
    }

    .hero-control {
        display: none;
    }

    .featured-panel {
        margin-top: -54px;
    }

    .movie-grid,
    .category-grid,
    .rank-panel,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        grid-template-columns: 1fr;
    }

    .rank-link {
        grid-template-columns: 46px 100px 1fr;
        gap: 12px;
    }

    .rank-link img {
        width: 100px;
        height: 68px;
    }

    .category-hero-card {
        padding: 30px 24px;
    }

    .detail-shell,
    .page-shell,
    .content-section,
    .category-hero {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 16px;
    }

    .hero h1,
    .hero h2,
    .detail-copy h1 {
        letter-spacing: -0.02em;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
    }

    .side-link {
        grid-template-columns: 84px 1fr;
    }
}


.overview-list {
    display: grid;
    gap: 18px;
}

.category-overview {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 18px;
}

@media (max-width: 760px) {
    .category-overview {
        grid-template-columns: 1fr;
    }
}
