:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow: 0 18px 55px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --header-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--slate-800);
    background: var(--slate-50);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(226, 232, 240, 0.86);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    font-weight: 900;
    color: var(--slate-900);
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    color: var(--white);
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.brand-text {
    font-size: 20px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

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

.nav-link {
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--slate-600);
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--blue-700);
    background: var(--blue-50);
    transform: translateY(-1px);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    background: var(--white);
}

.header-search input,
.mobile-search input {
    width: 190px;
    border: 0;
    outline: 0;
    padding: 8px 8px 8px 12px;
    color: var(--slate-700);
    background: transparent;
}

.header-search button,
.mobile-search button {
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    color: var(--white);
    background: var(--blue-600);
    cursor: pointer;
    font-weight: 800;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 14px;
    background: var(--blue-50);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    border-radius: 2px;
    background: var(--blue-700);
}

.mobile-menu {
    display: none;
    padding: 0 16px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--slate-200);
}

.mobile-menu nav {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.mobile-search {
    width: min(100%, 560px);
}

.mobile-search input {
    flex: 1;
    width: auto;
}

.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: var(--blue-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.74), rgba(37, 99, 235, 0.22)), var(--hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.16), transparent 28%), radial-gradient(circle at 82% 18%, rgba(59, 130, 246, 0.32), transparent 32%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 56px;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-copy {
    max-width: 760px;
    color: var(--white);
}

.hero-kicker,
.section-heading span,
.page-hero span,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 7px 13px;
    border-radius: 999px;
    color: var(--blue-900);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 900;
    letter-spacing: 0.04em;
}

.hero h1 {
    margin: 24px 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero h1 span {
    display: block;
    margin-top: 10px;
    color: #bfdbfe;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 680px;
    margin: 0 0 30px;
    color: #dbeafe;
    font-size: 20px;
    line-height: 1.78;
}

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

.button-primary,
.button-secondary,
.button-light,
.player-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-primary {
    color: var(--white);
    background: var(--blue-600);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.25);
}

.button-secondary {
    color: var(--blue-700);
    background: var(--blue-50);
}

.button-light {
    color: var(--blue-900);
    background: var(--white);
    box-shadow: 0 18px 34px rgba(255, 255, 255, 0.18);
}

.button-primary:hover,
.button-secondary:hover,
.button-light:hover,
.player-link:hover {
    transform: translateY(-2px) scale(1.02);
}

.hero-poster-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
    transform: rotate(2deg);
}

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

.hero-poster-card div {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 22px;
    color: var(--white);
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.9));
}

.hero-poster-card strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
}

.hero-poster-card small {
    display: block;
    margin-top: 8px;
    color: #dbeafe;
}

.hero-controls {
    position: absolute;
    z-index: 4;
    right: calc((100% - min(1180px, calc(100% - 32px))) / 2);
    bottom: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-dot {
    width: 42px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
}

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

.section {
    padding: 78px 0;
}

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

.section-soft {
    background: linear-gradient(135deg, var(--slate-50), var(--blue-50));
}

.section-blue {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
}

.section-heading {
    max-width: 740px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading span,
.page-hero span,
.detail-kicker {
    color: var(--blue-700);
    background: var(--blue-50);
}

.section-blue .section-heading span {
    color: var(--blue-900);
    background: rgba(255, 255, 255, 0.9);
}

.section-heading h2 {
    margin: 16px 0 12px;
    color: var(--slate-900);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-blue .section-heading h2,
.section-blue .section-heading p {
    color: var(--white);
}

.section-heading p {
    margin: 0;
    color: var(--slate-600);
    font-size: 18px;
    line-height: 1.72;
}

.stats-grid,
.category-grid,
.movie-grid,
.feature-grid,
.related-grid,
.info-grid,
.footer-grid {
    display: grid;
    gap: 24px;
}

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

.stat-card,
.category-card,
.movie-card,
.feature-card,
.detail-info,
.story-card,
.search-panel {
    border: 1px solid rgba(226, 232, 240, 0.86);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.stat-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.stat-card strong {
    display: block;
    color: var(--blue-600);
    font-size: 34px;
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--slate-600);
    font-weight: 700;
}

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

.category-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    padding: 28px;
    border-radius: var(--radius-xl);
    color: var(--white);
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(135deg, var(--card-from), var(--card-to));
}

.category-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -52px;
    z-index: -1;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

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

.category-card h2,
.category-card h3 {
    margin: 0 0 12px;
    font-size: 25px;
    font-weight: 900;
}

.category-card p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
}

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

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.34);
    box-shadow: var(--shadow);
}

.movie-cover {
    position: relative;
    overflow: hidden;
    background: var(--slate-100);
}

.movie-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.42s ease;
}

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

.cover-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(37, 99, 235, 0.92);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.rank-badge {
    right: auto;
    left: 12px;
    background: rgba(220, 38, 38, 0.94);
}

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

.movie-card h2,
.movie-card h3,
.movie-card h4 {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card:hover h2,
.movie-card:hover h3,
.movie-card:hover h4 {
    color: var(--blue-600);
}

.movie-card p {
    display: -webkit-box;
    min-height: 45px;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--slate-600);
    font-size: 14px;
    line-height: 1.62;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.movie-meta {
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--slate-500);
    font-size: 13px;
    font-weight: 800;
}

.tag-row span {
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--blue-700);
    background: var(--blue-50);
    font-size: 12px;
    font-weight: 800;
}

.feature-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
    align-items: center;
}

.feature-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-card img {
    width: 130px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 16px;
}

.feature-card h3 {
    margin: 0 0 8px;
    color: var(--slate-900);
    font-size: 20px;
    font-weight: 900;
}

.feature-card p {
    margin: 0 0 14px;
    color: var(--slate-600);
    line-height: 1.65;
}

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

.cta-panel {
    position: relative;
    overflow: hidden;
    padding: 48px;
    border-radius: 32px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
    box-shadow: var(--shadow);
}

.cta-panel::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.cta-panel h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.04em;
}

.cta-panel p,
.cta-panel .cta-actions {
    position: relative;
    z-index: 1;
}

.cta-panel p {
    max-width: 720px;
    margin: 0 0 26px;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.75;
}

.page-hero {
    margin-top: var(--header-height);
    padding: 88px 0 72px;
    color: var(--white);
    background: linear-gradient(135deg, var(--page-from, #2563eb), var(--page-to, #1e3a8a));
}

.page-hero-inner {
    text-align: center;
}

.page-hero h1 {
    margin: 18px auto 14px;
    max-width: 840px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.72;
}

.page-hero-green { --page-from: #16a34a; --page-to: #166534; }
.page-hero-orange { --page-from: #ea580c; --page-to: #9a3412; }
.page-hero-red { --page-from: #dc2626; --page-to: #991b1b; }
.page-hero-indigo { --page-from: #4f46e5; --page-to: #312e81; }
.page-hero-pink { --page-from: #db2777; --page-to: #831843; }
.page-hero-cyan { --page-from: #0891b2; --page-to: #164e63; }
.page-hero-slate { --page-from: #475569; --page-to: #0f172a; }
.page-hero-amber { --page-from: #d97706; --page-to: #78350f; }
.page-hero-lime { --page-from: #65a30d; --page-to: #365314; }
.page-hero-rose { --page-from: #e11d48; --page-to: #881337; }
.page-hero-violet { --page-from: #7c3aed; --page-to: #4c1d95; }
.page-hero-teal { --page-from: #0d9488; --page-to: #134e4a; }
.page-hero-gray { --page-from: #64748b; --page-to: #334155; }

.list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.list-toolbar h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: 28px;
    font-weight: 900;
}

.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 42px;
}

.pager a,
.pager span {
    min-width: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    text-align: center;
    color: var(--slate-700);
    background: var(--white);
    border: 1px solid var(--slate-200);
    font-weight: 900;
}

.pager a.is-active,
.pager a:hover {
    color: var(--white);
    background: var(--blue-600);
    border-color: var(--blue-600);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    margin-top: var(--header-height);
    padding: 72px 0;
    color: var(--white);
    background: var(--slate-900);
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.78), rgba(37, 99, 235, 0.26)), var(--detail-bg);
    background-size: cover;
    background-position: center;
    filter: saturate(1.04);
    transform: scale(1.04);
}

.detail-hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

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

.detail-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.detail-copy p {
    max-width: 820px;
    margin: 0 0 22px;
    color: #dbeafe;
    font-size: 19px;
    line-height: 1.78;
}

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

.detail-meta span {
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

.detail-main {
    padding: 72px 0;
}

.player-panel {
    overflow: hidden;
    border-radius: 30px;
    background: #050816;
    box-shadow: var(--shadow);
}

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

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

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.2), rgba(3, 7, 18, 0.74));
    cursor: pointer;
}

.player-start span {
    width: 84px;
    height: 84px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: var(--blue-700);
    background: var(--white);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    font-size: 34px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.player-start:hover span {
    transform: scale(1.08);
}

.player-box.is-playing .player-start {
    opacity: 0;
    pointer-events: none;
}

.player-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: linear-gradient(180deg, transparent, rgba(3, 7, 18, 0.86));
}

.player-controls button {
    border: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 9px 13px;
    cursor: pointer;
    font-weight: 900;
}

.player-controls .player-title {
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 900;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    margin-top: 34px;
}

.story-card,
.detail-info {
    padding: 28px;
    border-radius: var(--radius-xl);
}

.story-card + .story-card {
    margin-top: 22px;
}

.story-card h2,
.detail-info h2 {
    margin: 0 0 14px;
    color: var(--slate-900);
    font-size: 24px;
    font-weight: 900;
}

.story-card p,
.detail-info p {
    margin: 0;
    color: var(--slate-700);
    line-height: 1.86;
}

.info-list {
    display: grid;
    gap: 14px;
    margin: 18px 0 24px;
}

.info-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--slate-200);
}

.info-list strong {
    color: var(--slate-900);
}

.info-list span {
    color: var(--slate-600);
    text-align: right;
}

.detail-info .tag-row {
    margin-top: 16px;
}

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

.search-panel {
    max-width: 820px;
    margin: 0 auto 32px;
    padding: 22px;
    border-radius: 24px;
}

.search-panel form {
    display: flex;
    gap: 12px;
}

.search-panel input {
    flex: 1;
    min-height: 52px;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    padding: 0 18px;
    outline: 0;
}

.search-panel button {
    border: 0;
    border-radius: 999px;
    padding: 0 24px;
    color: var(--white);
    background: var(--blue-600);
    cursor: pointer;
    font-weight: 900;
}

.search-state {
    margin-bottom: 24px;
    color: var(--slate-600);
    font-weight: 800;
}

.site-footer {
    padding: 56px 0;
    color: #cbd5e1;
    background: var(--slate-900);
}

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

.footer-brand {
    color: var(--white);
    margin-bottom: 16px;
}

.site-footer p {
    max-width: 520px;
    margin: 0;
    line-height: 1.75;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: var(--white);
    font-size: 18px;
}

.site-footer a:not(.brand) {
    display: block;
    margin: 9px 0;
    color: #cbd5e1;
}

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

@media (max-width: 1120px) {
    .header-search {
        display: none;
    }

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

    .hero-inner,
    .feature-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-poster-card {
        display: none;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 68px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

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

    .hero {
        min-height: 640px;
    }

    .hero-inner {
        padding-top: 110px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-controls {
        left: 16px;
        right: auto;
        bottom: 24px;
    }

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

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

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

    .detail-poster {
        width: min(260px, 72vw);
    }

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

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

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

    .hero {
        min-height: 610px;
    }

    .hero h1 {
        margin-top: 18px;
    }

    .section {
        padding: 54px 0;
    }

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

    .feature-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .feature-card img {
        width: 104px;
    }

    .cta-panel,
    .story-card,
    .detail-info {
        padding: 24px;
        border-radius: 22px;
    }

    .search-panel form {
        flex-direction: column;
    }

    .search-panel button {
        min-height: 48px;
    }

    .player-start span {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }

    .player-controls .player-title {
        display: none;
    }
}
