:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --ink: #0f172a;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.10);
    --brand: #f59e0b;
    --brand-2: #ea580c;
    --brand-3: #fb923c;
    --dark: #020617;
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.13);
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 48%, #e2e8f0 100%);
    min-height: 100vh;
}

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

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.24);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.25s ease;
}

.brand:hover {
    transform: translateY(-1px) scale(1.01);
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.36);
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.03em;
    background: linear-gradient(90deg, #fbbf24, #fb923c);
    -webkit-background-clip: text;
    color: transparent;
}

.brand-copy em {
    font-size: 12px;
    font-style: normal;
    color: #94a3b8;
}

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

.nav-link,
.mobile-link {
    border-radius: 12px;
    color: #cbd5e1;
    transition: all 0.22s ease;
}

.nav-link {
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 650;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
}

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

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 99px;
    background: #ffffff;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mobile-nav.open {
    display: grid;
}

.mobile-link {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
}

.mobile-link:hover {
    color: #ffffff;
    background: rgba(245, 158, 11, 0.24);
}

.hero-slider {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: #020617;
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.38)), var(--hero-bg);
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 18%, rgba(245, 158, 11, 0.30), transparent 30%), linear-gradient(0deg, #020617 0%, transparent 35%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
    align-items: center;
    gap: 52px;
    padding: 80px 0 86px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-text {
    max-width: 740px;
    margin: 24px 0 0;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.85;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(8px);
    font-size: 13px;
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    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: #ffffff;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.35);
}

.btn.ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(10px);
}

.btn.muted {
    color: #fed7aa;
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.30);
}

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.48);
}

.hero-poster img {
    transition: transform 0.5s ease;
}

.hero-poster:hover img {
    transform: scale(1.05);
}

.hero-poster span,
.detail-poster span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(2, 6, 23, 0.78);
    font-weight: 800;
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 30px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    font-size: 26px;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.hero-arrow:hover {
    background: rgba(245, 158, 11, 0.7);
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
    width: 30px;
    background: #f59e0b;
}

.quick-search {
    margin-top: -42px;
    position: relative;
    z-index: 5;
}

.quick-search-inner,
.filter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.quick-search h2,
.section-head h2,
.page-hero h1,
.article-card h2,
.side-card h2 {
    margin: 0;
}

.quick-form {
    display: flex;
    width: min(100%, 520px);
    gap: 10px;
}

.quick-form input,
.search-box input,
.filter-select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    color: var(--ink);
    outline: none;
}

.quick-form input,
.search-box input {
    padding: 0 15px;
}

.quick-form input:focus,
.search-box input:focus,
.filter-select:focus {
    border-color: rgba(245, 158, 11, 0.75);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.13);
}

.section-block {
    padding: 70px 0;
}

.alt-bg {
    background: rgba(255, 255, 255, 0.55);
}

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

.section-head h2,
.page-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.04em;
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: #ea580c;
    font-weight: 800;
}

.text-link:hover {
    color: #c2410c;
}

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

.category-tile,
.category-overview-card {
    min-height: 138px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #ffffff, #fff7ed);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile span,
.category-title {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 900;
}

.category-tile em,
.category-overview-card p {
    color: var(--muted);
    font-style: normal;
    line-height: 1.75;
}

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

.category-overview-card {
    min-height: 190px;
}

.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.mini-links a {
    padding: 8px 10px;
    border-radius: 999px;
    color: #9a3412;
    background: rgba(245, 158, 11, 0.14);
    font-size: 13px;
}

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

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

.horizontal-cards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
}

.movie-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.movie-card.compact {
    min-width: 230px;
    scroll-snap-align: start;
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #334155);
}

.movie-card img {
    transition: transform 0.45s ease;
}

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.70), transparent 55%);
    opacity: 0.85;
}

.duration-badge,
.category-badge {
    position: absolute;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 9px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.duration-badge {
    right: 10px;
    bottom: 10px;
    background: rgba(2, 6, 23, 0.78);
}

.category-badge {
    left: 10px;
    top: 10px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.card-body {
    padding: 16px;
}

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

.card-body h3 a:hover {
    color: #ea580c;
}

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

.card-meta,
.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
}

.card-meta span,
.rank-meta span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #f1f5f9;
}

.page-hero {
    position: relative;
    padding: 92px 0 56px;
    color: #ffffff;
    background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.33), transparent 26%), linear-gradient(135deg, #020617, #1e293b 55%, #0f172a);
}

.page-hero.slim p:last-child {
    max-width: 760px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
}

.filter-panel {
    position: sticky;
    top: 76px;
    z-index: 20;
    padding: 18px 0;
    background: rgba(248, 250, 252, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.filter-inner {
    justify-content: start;
    padding: 14px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.search-box {
    display: grid;
    grid-template-columns: auto minmax(160px, 1fr);
    align-items: center;
    width: min(100%, 480px);
    gap: 10px;
    color: var(--muted);
    font-weight: 800;
}

.filter-select {
    width: auto;
    min-width: 160px;
    padding: 0 12px;
}

.filter-count {
    margin-left: auto;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 56px 140px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.rank-num {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    font-size: 19px;
    font-weight: 900;
}

.rank-cover {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
}

.rank-copy h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.rank-copy h3 a:hover {
    color: #ea580c;
}

.rank-copy p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.7;
}

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

.compact-list .rank-item {
    grid-template-columns: 48px minmax(90px, 120px) minmax(0, 1fr);
}

.detail-hero {
    position: relative;
    color: #ffffff;
    overflow: hidden;
    background: #020617;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.42)), var(--detail-bg);
    background-position: center;
    background-size: cover;
    transform: scale(1.04);
    filter: blur(1px);
}

.detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #020617 0%, transparent 40%);
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    padding: 34px 0 76px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 38px;
    color: #cbd5e1;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #f59e0b;
}

.detail-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 44px;
    align-items: end;
}

.detail-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.52);
}

.detail-copy h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.lead {
    max-width: 780px;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.85;
}

.player-section {
    padding-top: 50px;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.28);
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.play-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    padding: 30px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.18));
    cursor: pointer;
    text-align: center;
}

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

.play-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 18px 40px rgba(234, 88, 12, 0.40);
    font-size: 28px;
}

.play-layer strong {
    max-width: 90%;
    font-size: clamp(20px, 4vw, 34px);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
    align-items: start;
}

.article-card,
.side-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.article-card {
    padding: 30px;
}

.article-card h2 {
    margin-top: 0;
    font-size: 26px;
}

.article-card p {
    color: #334155;
    font-size: 17px;
    line-height: 1.95;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 0;
}

.info-list div {
    padding: 14px;
    border-radius: 16px;
    background: #f8fafc;
}

.info-list dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 13px;
}

.info-list dd {
    margin: 0;
    font-weight: 800;
}

.side-card {
    padding: 22px;
    position: sticky;
    top: 112px;
}

.side-card h2 {
    margin-bottom: 14px;
}

.side-card a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: #334155;
    font-weight: 800;
}

.side-card a:hover {
    color: #ea580c;
}

.site-footer {
    color: #cbd5e1;
    background: #020617;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 34px 0;
}

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

.footer-inner p {
    margin: 8px 0 0;
    color: #94a3b8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 12px;
}

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

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

[data-card].is-hidden {
    display: none;
}

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

    .menu-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 60px;
    }

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

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

    .compact-list,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

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

    .side-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .header-inner {
        height: 68px;
    }

    .brand-copy em {
        display: none;
    }

    .brand-copy strong {
        font-size: 19px;
    }

    .hero-slider,
    .hero-content {
        min-height: 640px;
    }

    .hero-content {
        padding: 44px 0 98px;
    }

    .hero-copy h1 {
        font-size: clamp(36px, 13vw, 54px);
    }

    .hero-text,
    .lead {
        font-size: 16px;
    }

    .quick-search {
        margin-top: 0;
        padding-top: 18px;
        background: #f8fafc;
    }

    .quick-search-inner,
    .filter-inner,
    .section-head,
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .quick-form {
        width: 100%;
        flex-direction: column;
    }

    .section-block {
        padding: 46px 0;
    }

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

    .card-body {
        padding: 13px;
    }

    .card-body h3 {
        font-size: 16px;
    }

    .filter-panel {
        top: 68px;
    }

    .filter-inner {
        gap: 10px;
    }

    .search-box {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .filter-select {
        width: 100%;
    }

    .filter-count {
        margin-left: 0;
    }

    .rank-item,
    .compact-list .rank-item {
        grid-template-columns: 42px 96px minmax(0, 1fr);
        gap: 10px;
    }

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

    .rank-copy h3 {
        font-size: 17px;
    }

    .rank-copy p {
        display: none;
    }

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

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

    .info-list {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: start;
    }
}

@media (max-width: 480px) {
    .container,
    .header-inner,
    .mobile-nav,
    .footer-inner {
        width: min(100% - 22px, 1180px);
    }

    .mobile-nav {
        grid-template-columns: 1fr;
    }

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

    .horizontal-cards {
        grid-auto-columns: minmax(210px, 82vw);
    }

    .tag-row span {
        font-size: 12px;
    }

    .article-card {
        padding: 22px;
    }
}
