:root {
    --color-blue: #2563eb;
    --color-cyan: #06b6d4;
    --color-teal: #14b8a6;
    --color-emerald: #10b981;
    --color-yellow: #facc15;
    --color-slate: #0f172a;
    --color-gray: #475569;
    --color-soft: #f8fafc;
    --shadow-card: 0 18px 50px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.10);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: #1f2937;
    background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 48%, #f0fdfa 100%);
    -webkit-font-smoothing: antialiased;
}

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: linear-gradient(90deg, var(--color-blue), var(--color-cyan), var(--color-teal));
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.28);
}

.nav-container {
    width: min(1200px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.logo-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--color-yellow);
    box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.22);
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fef08a;
    transform: translateY(-1px);
}

.top-search,
.mobile-search,
.search-page-form {
    display: flex;
    align-items: center;
}

.top-search input,
.mobile-search input,
.search-page-form input {
    border: 0;
    outline: 0;
    min-width: 220px;
    padding: 10px 14px;
    border-radius: 12px 0 0 12px;
    color: #0f172a;
    background: #fff;
}

.top-search button,
.mobile-search button,
.search-page-form button {
    border: 0;
    padding: 10px 16px;
    border-radius: 0 12px 12px 0;
    background: var(--color-yellow);
    color: #1e3a8a;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease;
}

.top-search button:hover,
.mobile-search button:hover,
.search-page-form button:hover {
    background: #fde047;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-nav.is-open {
    display: grid;
    gap: 10px;
}

.mobile-nav-link {
    color: #fff;
    font-weight: 700;
    padding: 8px 0;
}

.mobile-nav-link.is-active {
    color: #fef08a;
}

.hero-slider {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #0f172a;
}

.hero-slides,
.hero-slide,
.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

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

.hero-shade {
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.60), rgba(15, 23, 42, 0.15)),
        linear-gradient(0deg, rgba(15, 23, 42, 0.78), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding-top: 120px;
    color: #fff;
}

.hero-kicker,
.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fef08a;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    font-weight: 800;
}

.hero-content h1 {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.hero-content p {
    max-width: 650px;
    margin: 0 0 24px;
    color: #dbeafe;
    font-size: 20px;
    line-height: 1.8;
}

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

.hero-tags span,
.detail-badges span,
.detail-tags span,
.movie-meta-line span,
.movie-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.hero-tags span {
    padding: 8px 13px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

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

.primary-button,
.secondary-button,
.text-button,
.panel-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 14px;
    padding: 0 20px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: #fff;
    background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.34);
}

.secondary-button {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.primary-button:hover,
.secondary-button:hover,
.text-button:hover,
.panel-more:hover {
    transform: translateY(-2px);
}

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

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

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

.hero-glow {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.35;
    animation: pulseGlow 4s ease-in-out infinite;
}

.hero-glow-one {
    top: 70px;
    left: 80px;
    width: 220px;
    height: 220px;
    background: #fff;
}

.hero-glow-two {
    right: 80px;
    bottom: 70px;
    width: 320px;
    height: 320px;
    background: var(--color-yellow);
    animation-delay: 1.2s;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.25;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.42;
    }
}

.content-section {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0;
}

.tinted-section {
    width: 100%;
    padding-left: max(16px, calc((100% - 1200px) / 2));
    padding-right: max(16px, calc((100% - 1200px) / 2));
}

.warm-section {
    background: linear-gradient(90deg, #ffedd5, #fee2e2);
}

.green-section {
    background: linear-gradient(90deg, #dcfce7, #ccfbf1);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
    box-shadow: var(--shadow-soft);
    font-weight: 900;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 36px);
    color: #111827;
}

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

.movie-grid,
.featured-grid,
.category-grid,
.category-overview-grid {
    display: grid;
    gap: 24px;
}

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

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

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

.movie-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card-featured {
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.20);
}

.movie-poster {
    position: relative;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
}

.movie-card-featured .movie-poster {
    aspect-ratio: 4 / 5;
}

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

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

.poster-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    border-radius: 8px;
    color: #fff;
    background: rgba(15, 23, 42, 0.75);
    font-size: 12px;
    font-weight: 800;
}

.play-mark {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--color-blue);
    font-size: 26px;
    opacity: 0;
    background: rgba(15, 23, 42, 0.42);
    transition: opacity 0.25s ease;
}

.play-mark::before {
    content: "";
    position: absolute;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
}

.play-mark {
    text-shadow: 0 1px 0 #fff;
}

.movie-card:hover .play-mark {
    opacity: 1;
}

.movie-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.movie-meta-line span {
    padding: 5px 9px;
    color: #fff;
    background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
}

.movie-meta-line span + span {
    background: linear-gradient(90deg, var(--color-emerald), var(--color-teal));
}

.movie-card h3 {
    margin: 12px 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
}

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

.movie-tags {
    margin-top: auto;
}

.movie-tags span {
    padding: 4px 8px;
    color: #334155;
    background: #f1f5f9;
}

.two-column-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
}

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

.category-card,
.category-overview-card,
.ranking-panel,
.article-card,
.search-page-box,
.side-card,
.detail-card,
.player-card {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.category-card {
    position: relative;
    min-height: 168px;
    padding: 24px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-card h3,
.category-overview-card h2,
.panel-title h2,
.side-card h2,
.detail-card h2,
.article-card h2 {
    margin: 0 0 10px;
    color: #111827;
}

.category-card p,
.category-overview-card p,
.article-card p,
.side-card p {
    color: #64748b;
    line-height: 1.8;
}

.category-count {
    position: absolute;
    right: 18px;
    top: 12px;
    color: rgba(37, 99, 235, 0.15);
    font-size: 58px;
    font-weight: 950;
}

.ranking-panel {
    position: sticky;
    top: 92px;
    padding: 24px;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.panel-title span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #f97316);
    font-weight: 900;
}

.rank-list {
    display: grid;
    gap: 10px;
}

.rank-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 8px 12px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    background: #f8fafc;
    transition: background 0.2s ease;
}

.rank-row:hover {
    background: #eff6ff;
}

.rank-number {
    grid-row: span 2;
    color: #ef4444;
    font-weight: 950;
}

.rank-title {
    font-weight: 800;
}

.rank-meta {
    color: #64748b;
    font-size: 13px;
}

.panel-more,
.text-button {
    margin-top: 18px;
    color: #fff;
    background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
}

.page-hero {
    width: min(1200px, calc(100% - 32px));
    margin: 40px auto 0;
    padding: 54px;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.28), transparent 30%),
        linear-gradient(90deg, var(--color-blue), var(--color-cyan), var(--color-teal));
    box-shadow: 0 24px 80px rgba(37, 99, 235, 0.28);
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 6vw, 58px);
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #e0f2fe;
    font-size: 18px;
    line-height: 1.8;
}

.category-hero,
.ranking-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

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

.category-overview-card {
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.category-overview-head span {
    display: inline-flex;
    min-width: 52px;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 12px;
    color: #fff;
    background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
    font-weight: 900;
}

.compact-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.compact-link {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: #f8fafc;
    transition: background 0.2s ease;
}

.compact-link:hover {
    background: #eff6ff;
}

.compact-link img {
    width: 90px;
    height: 58px;
    border-radius: 10px;
    object-fit: cover;
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
}

.compact-link strong,
.compact-link small {
    display: block;
}

.compact-link small {
    margin-top: 4px;
    color: #64748b;
}

.filter-bar {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

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

.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 11px 12px;
    background: #fff;
    outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.18);
}

.filter-count {
    color: #64748b;
    white-space: nowrap;
}

.empty-state {
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    background: #fff;
    color: #64748b;
    box-shadow: var(--shadow-soft);
}

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

.ranking-card {
    display: grid;
    grid-template-columns: 72px 118px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ranking-card img {
    width: 118px;
    height: 74px;
    border-radius: 14px;
    object-fit: cover;
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
}

.ranking-index {
    color: #ef4444;
    font-size: 24px;
    font-weight: 950;
}

.ranking-main strong,
.ranking-main small,
.ranking-main em {
    display: block;
}

.ranking-main strong {
    color: #111827;
    font-size: 18px;
}

.ranking-main small,
.ranking-main em {
    margin-top: 5px;
    color: #64748b;
    font-style: normal;
}

.ranking-hot {
    border-radius: 999px;
    padding: 8px 12px;
    color: #fff;
    background: linear-gradient(90deg, #f97316, #ef4444);
    font-weight: 900;
    white-space: nowrap;
}

.detail-topbar {
    position: sticky;
    top: 68px;
    z-index: 40;
    background: linear-gradient(90deg, #1e293b, #0f172a);
    box-shadow: var(--shadow-soft);
}

.content-wrap {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    padding: 16px 0;
    color: #e0f2fe;
    font-weight: 800;
}

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

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

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 360px;
    gap: 28px;
    align-items: start;
}

.detail-main {
    display: grid;
    gap: 24px;
}

.player-card {
    overflow: hidden;
    padding: 0;
    background: #000;
}

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 8px;
    border: 0;
    color: #fff;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.10), rgba(15, 23, 42, 0.72));
    cursor: pointer;
}

.player-overlay.is-hidden {
    display: none;
}

.player-play-icon {
    display: grid;
    width: 74px;
    height: 74px;
    margin: 0 auto 8px;
    place-items: center;
    border-radius: 999px;
    color: var(--color-blue);
    background: rgba(255, 255, 255, 0.94);
    font-size: 30px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
}

.player-overlay strong {
    font-size: 22px;
}

.player-overlay small {
    color: #dbeafe;
}

.detail-card {
    padding: 26px;
}

.detail-card h1 {
    margin: 18px 0 14px;
    color: #111827;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.15;
}

.detail-card h2 {
    margin-top: 28px;
}

.detail-card p {
    color: #475569;
    font-size: 17px;
    line-height: 1.9;
}

.detail-one-line {
    padding: 18px;
    border-left: 5px solid var(--color-cyan);
    border-radius: 14px;
    background: #f8fafc;
    font-style: italic;
}

.detail-badges span {
    padding: 8px 12px;
    color: #fff;
    background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
}

.detail-badges span:nth-child(2n) {
    background: linear-gradient(90deg, var(--color-emerald), var(--color-teal));
}

.detail-tags {
    margin-top: 26px;
}

.detail-tags span {
    padding: 8px 12px;
    color: #334155;
    background: #f1f5f9;
}

.detail-sidebar {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 148px;
}

.side-card {
    padding: 20px;
}

.poster-side-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    object-fit: cover;
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
}

.poster-side-card h2 {
    margin-top: 16px;
}

.article-section {
    max-width: 940px;
}

.article-card {
    padding: 34px;
}

.article-card h2 + p {
    margin-top: 0;
}

.search-page-box {
    margin-bottom: 26px;
    padding: 22px;
}

.search-page-form input {
    width: min(720px, 100%);
}

.search-summary {
    margin: 14px 0 0;
    color: #64748b;
}

.site-footer {
    margin-top: 60px;
    padding: 48px 0;
    color: #cbd5e1;
    background: linear-gradient(90deg, #1e293b, #334155, #1e293b);
}

.footer-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.footer-logo {
    color: #67e8f9;
}

.footer-inner p {
    max-width: 520px;
    line-height: 1.8;
}

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

.footer-links a {
    color: #e0f2fe;
}

.movie-poster.image-error img {
    opacity: 0;
}

.movie-poster.image-error::after {
    content: "封面待替换";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
    font-weight: 900;
}

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

    .mobile-menu-button {
        display: block;
        margin-left: auto;
    }

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

    .two-column-section,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .ranking-panel,
    .detail-sidebar {
        position: static;
    }

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

@media (max-width: 760px) {
    .nav-container {
        height: 62px;
    }

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

    .hero-slider {
        min-height: 560px;
    }

    .hero-content {
        padding-top: 88px;
    }

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

    .content-section,
    .tinted-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .movie-grid,
    .featured-grid,
    .three-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .page-hero,
    .category-hero,
    .ranking-hero {
        display: block;
        margin-top: 22px;
        padding: 32px 22px;
        border-radius: 24px;
    }

    .category-hero .secondary-button {
        margin-top: 18px;
    }

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

    .ranking-card {
        grid-template-columns: 48px 84px 1fr;
        gap: 12px;
    }

    .ranking-card img {
        width: 84px;
        height: 58px;
    }

    .ranking-hot {
        grid-column: 2 / -1;
        justify-self: start;
    }

    .footer-inner {
        display: grid;
    }
}
