@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap");

:root {
    --primary: #14b8a6;
    --primary-dark: #0f766e;
    --primary-soft: #ccfbf1;
    --secondary: #f97316;
    --secondary-soft: #ffedd5;
    --accent: #06b6d4;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f8fafc;
    --footer: #111827;
    --white: #ffffff;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(229, 231, 235, 0.88);
    backdrop-filter: blur(16px);
}

.nav-bar {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 72px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-text {
    font-size: 22px;
    background: linear-gradient(90deg, var(--primary-dark), var(--accent));
    -webkit-background-clip: text;
    color: transparent;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--white);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 10px 24px rgba(20, 184, 166, 0.25);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.desktop-nav a {
    color: #374151;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap;
}

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

.nav-search {
    display: flex;
    align-items: center;
    gap: 0;
    width: 268px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
}

.nav-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 10px 14px;
    min-width: 0;
}

.nav-search button {
    border: 0;
    color: var(--white);
    background: var(--primary);
    padding: 10px 16px;
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 20px;
    height: 2px;
    background: #374151;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
    border-top: 1px solid var(--line);
}

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

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

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #000;
}

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

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

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

.hero-mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.1)),
        linear-gradient(to right, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.05));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 86px;
}

.hero-copy {
    width: min(720px, 100%);
    color: var(--white);
}

.hero-tags,
.feature-tags,
.detail-kicker,
.tag-row,
.detail-tags,
.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hero-tags a,
.hero-tags span,
.feature-tags span,
.detail-kicker span,
.tag-row span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags a,
.detail-kicker span:first-child,
.feature-tags span:first-child {
    color: var(--white);
    background: var(--secondary);
}

.hero-tags span,
.detail-kicker span,
.feature-tags span,
.detail-tags span,
.tag-row span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.hero-copy h1,
.hero-copy h2 {
    margin: 18px 0 14px;
    font-size: clamp(40px, 5.4vw, 72px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-copy p {
    margin: 0;
    width: min(650px, 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

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

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

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 16px 32px rgba(20, 184, 166, 0.28);
}

.btn-ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-size: 36px;
    line-height: 1;
    transform: translateY(-50%);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: var(--white);
}

.section {
    padding: 72px 0;
}

.bg-white {
    background: var(--white);
}

.bg-soft {
    background: linear-gradient(135deg, #f0fdfa, #ecfeff);
}

.section-heading {
    width: min(760px, 100%);
    margin-bottom: 34px;
}

.section-heading.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading.compact {
    margin-bottom: 24px;
}

.section-heading span,
.inner-hero p,
.category-overview-copy span {
    display: inline-flex;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2,
.inner-hero h1,
.category-overview-copy h2 {
    margin: 8px 0 10px;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading p,
.inner-hero span,
.category-overview-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

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

.more-link {
    color: var(--primary-dark);
    font-weight: 800;
}

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

.feature-card a {
    position: relative;
    display: block;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #0f172a;
}

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

.feature-card:hover img,
.poster-wrap:hover img {
    transform: scale(1.07);
}

.feature-shade,
.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.2), transparent);
}

.feature-content {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    color: var(--white);
}

.feature-content h3 {
    margin: 12px 0 8px;
    font-size: 24px;
    line-height: 1.2;
}

.feature-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.feature-play,
.play-circle {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.feature-play {
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    font-size: 32px;
    transform: translate(-50%, -50%) scale(0.9);
}

.feature-card:hover .feature-play,
.poster-wrap:hover .play-circle {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.search-band {
    padding: 48px 0;
    background: #111827;
}

.search-panel {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    gap: 30px;
    align-items: center;
    color: var(--white);
}

.search-panel h2 {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.1;
}

.search-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
}

.wide-search {
    display: flex;
    overflow: hidden;
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.wide-search input {
    flex: 1;
    min-width: 0;
    padding: 16px 20px;
    border: 0;
    outline: 0;
}

.wide-search button {
    border: 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 0 26px;
    font-weight: 800;
}

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

.category-tile {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid rgba(20, 184, 166, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-tile span {
    color: var(--primary-dark);
    font-weight: 900;
}

.category-tile strong {
    margin: 16px 0;
    font-size: 18px;
    line-height: 1.25;
}

.category-tile em {
    color: var(--secondary);
    font-style: normal;
    font-weight: 800;
}

.movie-grid {
    display: grid;
    gap: 24px;
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #0f172a;
}

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

.play-circle {
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    font-size: 24px;
    transform: translate(-50%, -50%) scale(0.9);
}

.rank-number {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--secondary), #ef4444);
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.3);
}

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

.movie-meta-line {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.movie-meta-line span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: #cbd5e1;
}

.movie-card h3,
.movie-list-card h3 {
    margin: 8px 0 6px;
    font-size: 18px;
    line-height: 1.28;
}

.movie-card h3 a:hover,
.movie-list-card h3 a:hover {
    color: var(--primary-dark);
}

.movie-card p,
.movie-list-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.list-stack {
    display: grid;
    gap: 16px;
}

.movie-list-card {
    display: grid;
    grid-template-columns: 138px 1fr;
    gap: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.list-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 14px;
    background: #0f172a;
}

.list-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.tag-row span {
    color: var(--primary-dark);
    background: var(--primary-soft);
    backdrop-filter: none;
    margin-top: 12px;
}

.inner-hero {
    padding: 96px 0 76px;
    background:
        radial-gradient(circle at top left, rgba(20, 184, 166, 0.18), transparent 32%),
        linear-gradient(135deg, #f8fafc, #ecfeff);
}

.inner-hero h1 {
    max-width: 900px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 26px;
    padding: 24px;
    border: 1px solid rgba(20, 184, 166, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.category-overview-copy {
    align-self: center;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 220px;
    gap: 16px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.filter-panel.expanded {
    grid-template-columns: minmax(280px, 1fr) 220px 220px;
}

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

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 14px;
    color: var(--ink);
    outline: 0;
    background: #f9fafb;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--primary);
    background: var(--white);
}

.detail-hero {
    padding: 34px 0 70px;
    background: linear-gradient(135deg, #111827, #0f766e);
    color: var(--white);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--white);
}

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

.detail-cover {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36);
    background: #0f172a;
}

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

.detail-info h1 {
    margin: 18px 0 16px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.detail-lead {
    max-width: 780px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin: 0 0 22px;
}

.detail-meta div {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
}

.detail-meta dt {
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
}

.detail-meta dd {
    margin: 4px 0 0;
    color: var(--white);
    font-weight: 800;
}

.detail-tags {
    margin: 0 0 28px;
}

.detail-tags span {
    color: var(--primary-dark);
    background: rgba(204, 251, 241, 0.92);
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000;
    box-shadow: var(--shadow);
}

.movie-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.38));
    transition: opacity 0.25s ease;
}

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

.big-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 18px 40px rgba(20, 184, 166, 0.38);
    font-size: 36px;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 26px;
    align-items: start;
}

.content-card,
.side-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.content-card h2,
.side-card h2 {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.25;
}

.content-card h2:not(:first-child) {
    margin-top: 28px;
}

.content-card p {
    margin: 0;
    color: #374151;
    font-size: 17px;
}

.side-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.side-card li {
    display: grid;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.side-card li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.side-card span {
    color: var(--muted);
    font-size: 13px;
}

.side-card strong {
    color: var(--ink);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
    gap: 34px;
    padding: 54px 0 40px;
}

.footer-brand {
    color: var(--white);
    font-size: 20px;
}

.site-footer p {
    color: #9ca3af;
    margin: 14px 0 0;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: var(--white);
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.site-footer a:hover {
    color: var(--primary);
}

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

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    text-align: center;
}

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

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

    .nav-search {
        margin-left: auto;
    }

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

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

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

    .category-overview-card,
    .detail-grid,
    .content-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        align-items: start;
    }

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

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .nav-bar {
        gap: 12px;
        min-height: 64px;
    }

    .brand-text {
        font-size: 18px;
    }

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

    .nav-search {
        display: none;
    }

    .hero-slider {
        height: 560px;
    }

    .hero-content {
        padding-bottom: 78px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-arrow {
        display: none;
    }

    .section {
        padding: 52px 0;
    }

    .section-head-row,
    .search-panel {
        display: block;
    }

    .wide-search {
        margin-top: 22px;
    }

    .feature-grid,
    .four-grid,
    .six-grid,
    .small-grid,
    .mini-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .feature-card a {
        height: 340px;
    }

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

    .movie-list-card {
        grid-template-columns: 108px 1fr;
    }

    .detail-hero {
        padding-top: 24px;
    }

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

    .content-card,
    .side-card {
        padding: 22px;
    }

    .footer-grid {
        gap: 24px;
    }
}
