
:root {
    --teal: #0d9488;
    --teal-dark: #0f766e;
    --cyan: #0891b2;
    --ink: #111827;
    --muted: #6b7280;
    --soft: #f3f4f6;
    --line: #e5e7eb;
    --footer: #111827;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: #ffffff;
    line-height: 1.6;
}

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

img,
video {
    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.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    backdrop-filter: blur(18px);
}

.nav-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.28);
    font-size: 16px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #374151;
    font-weight: 650;
}

.desktop-nav a {
    position: relative;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
    color: var(--teal);
}

.desktop-nav a.is-active::after,
.desktop-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--teal), var(--cyan));
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    color: #111827;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 18px;
    border-top: 1px solid #edf2f7;
}

.mobile-nav a {
    display: block;
    padding: 11px 0;
    color: #374151;
    font-weight: 650;
}

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

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #134e4a, #164e63);
}

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

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
    transform: scale(1.02);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 28%, rgba(20, 184, 166, 0.45), transparent 30%), linear-gradient(90deg, rgba(8, 47, 73, 0.92), rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.24));
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero-content h1,
.hero-content h2 {
    max-width: 720px;
    margin: 0 0 18px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.hero-content p {
    max-width: 650px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    margin-bottom: 18px;
    padding: 8px 15px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(20, 184, 166, 0.88);
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.28);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-meta span {
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.78);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

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

.btn-primary,
.filter-bar button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover,
.filter-bar button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(13, 148, 136, 0.34);
}

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

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-block {
    width: 100%;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.36);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transform: translateY(-50%);
    font-size: 34px;
    line-height: 1;
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 36px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: #ffffff;
}

.quick-links {
    background: #ffffff;
}

.quick-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 20px 18px;
}

.quick-inner h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.2;
}

.quick-inner p {
    max-width: 820px;
    margin: 0 0 22px;
    color: var(--muted);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-row a,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    color: #0f766e;
    background: #ccfbf1;
    font-size: 14px;
    font-weight: 750;
}

.content-section {
    padding: 60px 0;
    background: #ffffff;
}

.content-section.section-soft,
.section-soft {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
}

.section-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.section-icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.22);
}

.section-link {
    color: var(--teal);
    font-weight: 800;
}

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

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

.movie-card {
    display: block;
    min-width: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #0f766e, #155e75);
}

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

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

.card-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(13, 148, 136, 0.88);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.24);
}

.rank-badge {
    min-width: 34px;
    text-align: center;
    background: linear-gradient(135deg, #f97316, #dc2626);
}

.card-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.66);
    backdrop-filter: blur(8px);
}

.movie-info {
    display: block;
    padding: 15px;
}

.movie-info strong {
    display: block;
    overflow: hidden;
    color: #111827;
    font-size: 17px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-line {
    display: -webkit-box;
    min-height: 42px;
    margin-top: 6px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta {
    display: block;
    margin-top: 10px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.movie-card-small {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: stretch;
}

.movie-card-small .poster-wrap {
    aspect-ratio: 2 / 3;
    height: 100%;
}

.movie-card-small .movie-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

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

.category-tile {
    display: flex;
    min-height: 142px;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border: 1px solid #d1fae5;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(240, 253, 250, 0.95), rgba(255, 255, 255, 0.95));
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(13, 148, 136, 0.14);
}

.category-tile span {
    color: #0f766e;
    font-size: 22px;
    font-weight: 900;
}

.category-tile small {
    margin-top: 14px;
    color: var(--muted);
    font-size: 14px;
}

.page-main {
    min-height: 70vh;
    background: #f9fafb;
}

.page-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 20px 28px;
}

.page-hero > div {
    border-radius: 26px;
    padding: 42px;
    box-shadow: var(--shadow);
}

.page-hero-light > div {
    background: linear-gradient(135deg, #ffffff, #f0fdfa);
}

.page-hero-dark > div {
    color: #ffffff;
    background: linear-gradient(135deg, #0f766e, #164e63);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--teal);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.page-hero-dark .eyebrow {
    color: #99f6e4;
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.page-hero-dark p {
    color: rgba(255, 255, 255, 0.84);
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(3, 160px) 110px;
    gap: 14px;
    align-items: end;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.filter-bar label {
    display: grid;
    gap: 6px;
    color: #374151;
    font-weight: 800;
}

.filter-bar span {
    font-size: 13px;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0 13px;
    outline: none;
    background: #ffffff;
}

.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.empty-state {
    padding: 26px;
    margin-bottom: 24px;
    border-radius: 18px;
    color: var(--muted);
    text-align: center;
    background: #ffffff;
}

.is-hidden {
    display: none !important;
}

.breadcrumb {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #6b7280;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--teal);
    font-weight: 750;
}

.detail-main-page {
    background: linear-gradient(180deg, #f9fafb, #ffffff 42%);
}

.detail-layout {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 20px 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
}

.player-card,
.detail-copy,
.info-card {
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.player-card {
    overflow: hidden;
}

.video-box {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #020617;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(20, 184, 166, 0.3), rgba(2, 6, 23, 0.62));
    cursor: pointer;
}

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

.play-circle {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    padding-left: 4px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    box-shadow: 0 20px 45px rgba(20, 184, 166, 0.34);
    font-size: 30px;
}

.play-overlay strong {
    font-size: 18px;
}

.detail-copy {
    margin-top: 24px;
    padding: 30px;
}

.detail-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.detail-copy h2 {
    margin: 28px 0 12px;
    font-size: 24px;
}

.detail-copy p {
    margin: 0 0 14px;
    color: #374151;
    font-size: 17px;
}

.detail-lead {
    color: #4b5563 !important;
    font-size: 20px !important;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 4px;
}

.detail-side {
    display: grid;
    align-content: start;
    gap: 20px;
}

.detail-poster {
    width: 100%;
    border-radius: 22px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    background: linear-gradient(135deg, #0f766e, #155e75);
    box-shadow: var(--shadow);
}

.info-card {
    padding: 24px;
}

.info-card h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.info-card ul {
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.info-card li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.info-card span {
    color: var(--muted);
}

.info-card strong {
    text-align: right;
}

.related-section {
    padding-top: 0;
}

.site-footer {
    color: #d1d5db;
    background: var(--footer);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
}

.brand-footer {
    color: #ffffff;
}

.footer-brand p {
    max-width: 520px;
    color: #9ca3af;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links a:hover {
    color: #5eead4;
}

.footer-copy {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 20px;
    border-top: 1px solid #1f2937;
    color: #6b7280;
    text-align: center;
    font-size: 14px;
}

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

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

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-side {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .hero-slider {
        height: 540px;
    }

    .hero-content {
        padding: 46px 22px 74px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .hero-arrow {
        display: none;
    }

    .content-section {
        padding: 42px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .movie-grid,
    .movie-grid-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

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

    .movie-card-small {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .category-grid,
    .category-grid-large {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding-top: 34px;
    }

    .page-hero > div {
        padding: 28px;
    }

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

    .detail-side {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 440px) {
    .movie-grid,
    .movie-grid-wide {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .movie-info {
        padding: 12px;
    }

    .movie-info strong {
        font-size: 15px;
    }

    .movie-line {
        font-size: 13px;
    }

    .brand {
        font-size: 18px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }
}
