:root {
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-text: #1f2937;
    --color-muted: #64748b;
    --color-soft: #e2e8f0;
    --color-teal: #0d9488;
    --color-cyan: #0891b2;
    --color-blue: #2563eb;
    --color-amber: #f59e0b;
    --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 16px 32px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 28px 70px rgba(15, 23, 42, 0.22);
    --radius-lg: 18px;
    --radius-xl: 28px;
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--color-text);
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, #0d9488 0%, #0891b2 55%, #2563eb 100%);
    box-shadow: 0 10px 30px rgba(15, 118, 110, 0.25);
}

.header-inner {
    max-width: var(--max-width);
    height: 66px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.logo-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #0d9488;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

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

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    position: relative;
    font-weight: 600;
    opacity: 0.95;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-link.highlight {
    color: #fde68a;
    opacity: 1;
}

.nav-link.active::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    border-radius: 999px;
    content: "";
    background: #fde68a;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: #ffffff;
}

.mobile-nav {
    display: none;
    padding: 10px 24px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(15, 118, 110, 0.96);
}

.mobile-link {
    display: block;
    padding: 10px 4px;
    font-weight: 600;
}

.mobile-link.active,
.mobile-link:hover {
    color: #fde68a;
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.18), transparent 28%), linear-gradient(115deg, #0d9488 0%, #0891b2 52%, #2563eb 100%);
}

.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.25;
    pointer-events: none;
}

.hero-glow-left {
    left: -120px;
    top: 40px;
    background: #ffffff;
}

.hero-glow-right {
    right: -130px;
    bottom: 20px;
    background: #fbbf24;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    min-height: 640px;
    margin: 0 auto;
    padding: 82px 24px 86px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
    gap: 44px;
    align-items: center;
}

.hero-static h1,
.hero-copy h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 66px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-static p,
.hero-copy p,
.page-hero p {
    max-width: 720px;
    margin: 22px 0 0;
    color: #dbeafe;
    font-size: 20px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #fde68a;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-category-links a,
.primary-button,
.ghost-button,
.filter-button,
.quick-search-form button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.hero-category-links a {
    min-height: 42px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

.hero-category-links a:hover,
.ghost-button:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 0.28);
}

.hero-carousel {
    position: relative;
    min-height: 420px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-xl);
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 28px;
    align-items: center;
    min-height: 360px;
    animation: fadeIn 0.55s ease both;
}

.hero-slide.active {
    display: grid;
}

.hero-copy h1 {
    font-size: clamp(30px, 4vw, 50px);
}

.hero-copy p {
    color: #eff6ff;
    font-size: 17px;
}

.hero-tags,
.detail-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags {
    margin-top: 20px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 700;
}

.hero-tags span {
    padding: 7px 12px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.28);
}

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

.primary-button {
    min-height: 48px;
    padding: 0 24px;
    color: #0f766e;
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

.primary-button:hover {
    transform: translateY(-2px) scale(1.03);
    color: #0e7490;
}

.ghost-button {
    min-height: 48px;
    padding: 0 22px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.28);
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.28);
}

.hero-poster img,
.poster-link img,
.category-card img,
.overview-cover img,
.ranking-thumb img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.hero-poster:hover img,
.movie-card:hover .poster-link img,
.category-card:hover img,
.overview-card:hover .overview-cover img,
.ranking-item:hover .ranking-thumb img {
    transform: scale(1.08);
}

.hero-play,
.play-dot {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #0d9488;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
}

.hero-play {
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
    font-size: 22px;
}

.hero-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
}

.hero-controls button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

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

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dots .hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    background: rgba(255, 255, 255, 0.42);
}

.hero-dots .hero-dot.active {
    width: 28px;
    background: #fde68a;
}

.home-search {
    margin-top: -42px;
    position: relative;
    z-index: 5;
    padding: 0 24px;
}

.home-search-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 24px;
    align-items: center;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-xl);
}

.home-search h2,
.section-heading h2,
.detail-section h2,
.related-section h2,
.overview-body h2,
.page-hero h1 {
    color: var(--color-text);
}

.home-search h2 {
    margin: 0;
    font-size: 26px;
}

.home-search p {
    margin: 6px 0 0;
    color: var(--color-muted);
}

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

.quick-search-form input,
.filter-input,
.filter-selects select {
    width: 100%;
    border: 1px solid var(--color-soft);
    border-radius: 999px;
    color: var(--color-text);
    background: #ffffff;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.quick-search-form input,
.filter-input {
    min-height: 48px;
    padding: 0 18px;
}

.quick-search-form input:focus,
.filter-input:focus,
.filter-selects select:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.quick-search-form button,
.filter-button {
    min-height: 48px;
    padding: 0 22px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-teal), var(--color-cyan));
    white-space: nowrap;
}

.quick-search-form button:hover,
.filter-button:hover,
.text-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.content-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 76px 24px;
}

.soft-section {
    max-width: none;
    padding-left: max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
    padding-right: max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
    background: linear-gradient(180deg, rgba(240, 253, 250, 0.8), rgba(236, 254, 255, 0.55));
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--color-muted);
}

.section-heading > a,
.text-link {
    color: var(--color-teal);
    font-weight: 800;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    opacity: 0.9;
    background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.72));
}

.play-dot {
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.movie-card:hover .play-dot {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.year-badge,
.rank-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.year-badge {
    right: 10px;
    bottom: 10px;
    background: rgba(15, 23, 42, 0.7);
}

.rank-badge {
    left: 10px;
    top: 10px;
    background: #dc2626;
}

.card-body {
    padding: 16px;
}

.card-body h2 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.card-body h2 a:hover,
.ranking-info h2 a:hover,
.overview-body h2 a:hover {
    color: var(--color-teal);
}

.card-body p {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--color-muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta,
.ranking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
}

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

.tag-row span {
    padding: 4px 8px;
    color: #0f766e;
    background: #f0fdfa;
    font-size: 12px;
}

.movie-card.compact .card-body h2 {
    font-size: 16px;
}

.movie-card.compact .card-body p {
    min-height: 42px;
    font-size: 13px;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border-radius: 26px;
    color: #ffffff;
    background: #0f172a;
    box-shadow: var(--shadow-md);
}

.category-card img {
    position: absolute;
    inset: 0;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.82));
}

.category-name,
.category-count {
    position: absolute;
    left: 22px;
    right: 22px;
}

.category-name {
    bottom: 50px;
    font-size: 26px;
    font-weight: 900;
}

.category-count {
    bottom: 24px;
    color: #dbeafe;
    font-weight: 700;
}

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

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

.ranking-item {
    display: grid;
    grid-template-columns: 58px 98px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.ranking-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.ranking-rank {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-teal), var(--color-cyan));
    font-size: 20px;
    font-weight: 900;
}

.ranking-thumb {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    background: #e2e8f0;
}

.ranking-info h2 {
    margin: 0 0 6px;
    font-size: 19px;
}

.ranking-info p {
    margin: 0 0 8px;
    color: var(--color-muted);
    font-size: 14px;
}

.page-hero {
    color: #ffffff;
    background: linear-gradient(110deg, #0d9488 0%, #0891b2 54%, #2563eb 100%);
}

.page-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 74px 24px;
}

.page-hero h1 {
    color: #ffffff;
}

.page-hero p {
    color: #e0f2fe;
}

.page-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.page-stats span {
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.17);
    font-weight: 800;
}

.crumb {
    display: inline-flex;
    margin-bottom: 14px;
    color: #fde68a;
    font-weight: 800;
}

.filter-panel {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.filter-search-line {
    display: flex;
    gap: 12px;
}

.filter-selects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 180px));
    gap: 12px;
    margin-top: 14px;
}

.filter-selects select {
    min-height: 44px;
    padding: 0 14px;
}

.filter-count {
    min-height: 24px;
    margin: 12px 0 0;
    color: var(--color-muted);
    font-size: 14px;
}

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

.overview-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.overview-cover {
    overflow: hidden;
    min-height: 310px;
    background: #e2e8f0;
}

.overview-body {
    padding: 24px;
}

.overview-body h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.overview-body p {
    margin: 0 0 12px;
    color: var(--color-muted);
}

.overview-count {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #0f766e;
    background: #f0fdfa;
    font-weight: 800;
}

.overview-body ul {
    margin: 0 0 18px;
    padding-left: 18px;
    color: var(--color-muted);
}

.text-link {
    min-height: 40px;
    padding: 0 16px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-teal), var(--color-cyan));
}

.detail-shell {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 34px 24px 76px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--color-muted);
    font-size: 14px;
}

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

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

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.68));
    cursor: pointer;
    z-index: 4;
}

.player-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-icon {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #0f766e;
    background: rgba(255, 255, 255, 0.94);
    font-size: 30px;
    box-shadow: var(--shadow-xl);
}

.player-title {
    max-width: min(760px, 90%);
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 900;
    text-align: center;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

.detail-content {
    padding: 30px;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-badges span {
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-teal), var(--color-cyan));
    font-size: 14px;
    font-weight: 800;
}

.detail-content h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.18;
}

.detail-one-line {
    margin: 0 0 18px;
    color: #334155;
    font-size: 19px;
    font-weight: 700;
}

.detail-tags span {
    padding: 7px 12px;
    color: #0f766e;
    background: #f0fdfa;
    font-size: 14px;
}

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

.detail-meta-grid div {
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
}

.detail-meta-grid b {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 13px;
}

.detail-meta-grid span {
    color: #1f2937;
    font-weight: 800;
}

.detail-section {
    margin-top: 24px;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f0fdfa, #ecfeff);
    border: 1px solid #ccfbf1;
}

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

.detail-section p {
    margin: 0;
    color: #334155;
    font-size: 17px;
    line-height: 1.85;
    white-space: pre-line;
}

.review-section {
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
    border-color: #fed7aa;
}

.related-section {
    margin-top: 44px;
}

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

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

.no-results {
    padding: 32px;
    border-radius: 24px;
    color: var(--color-muted);
    background: #ffffff;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(180deg, #1f2937, #111827);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 54px 24px 32px;
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(160px, 1fr));
    gap: 32px;
}

.footer-logo {
    color: #ffffff;
    font-size: 20px;
}

.footer-logo .logo-mark {
    color: #ffffff;
    background: var(--color-teal);
}

.footer-brand p,
.footer-column p {
    color: #cbd5e1;
}

.footer-column h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li + li {
    margin-top: 8px;
}

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

.footer-bottom {
    padding: 20px 24px 28px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: #94a3b8;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1180px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-static {
        text-align: center;
    }

    .hero-static p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-category-links {
        justify-content: center;
    }

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

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

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

    .menu-toggle {
        display: block;
    }

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

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

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

    .hero-poster {
        max-width: 320px;
        margin: 0 auto;
    }

    .home-search-inner,
    .overview-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

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

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

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

@media (max-width: 640px) {
    .header-inner {
        padding: 0 16px;
    }

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

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

    .hero-inner {
        min-height: auto;
        padding-top: 46px;
        padding-bottom: 58px;
    }

    .hero-carousel {
        padding: 16px;
        border-radius: 24px;
    }

    .hero-static h1,
    .page-hero h1 {
        font-size: 36px;
    }

    .hero-static p,
    .page-hero p {
        font-size: 17px;
    }

    .home-search {
        padding: 0 16px;
    }

    .home-search-inner,
    .filter-panel,
    .detail-content,
    .detail-section {
        padding: 18px;
        border-radius: 20px;
    }

    .quick-search-form,
    .filter-search-line {
        flex-direction: column;
    }

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

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

    .movie-grid,
    .featured-grid,
    .library-grid,
    .related-grid,
    .category-grid,
    .ranking-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .card-body {
        padding: 12px;
    }

    .card-body h2 {
        font-size: 15px;
    }

    .card-body p {
        font-size: 12px;
    }

    .ranking-item {
        grid-template-columns: 42px 70px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .ranking-rank {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 16px;
    }

    .ranking-info h2 {
        font-size: 16px;
    }

    .ranking-info p {
        display: none;
    }

    .overview-card {
        grid-template-columns: 1fr;
    }

    .overview-cover {
        min-height: 260px;
    }

    .detail-card {
        border-radius: 22px;
    }

    .player-icon {
        width: 58px;
        height: 58px;
        font-size: 24px;
    }

    .detail-content h1 {
        font-size: 28px;
    }

    .detail-one-line {
        font-size: 16px;
    }

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

    .footer-inner {
        padding-top: 42px;
    }
}
