:root {
    --mist-50: #f8fafc;
    --mist-100: #f1f5f9;
    --mist-200: #e2e8f0;
    --mist-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --amber-300: #fcd34d;
    --white: #ffffff;
    --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 18px 42px rgba(15, 23, 42, 0.10);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--slate-800);
    background: var(--mist-50);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

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

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

.site-header.is-scrolled {
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-500), var(--orange-600));
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.24);
}

.brand-text {
    font-size: 20px;
    background: linear-gradient(135deg, var(--red-600), var(--orange-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link,
.mobile-nav-link {
    color: var(--slate-700);
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--red-600);
}

.header-search {
    display: flex;
    align-items: center;
    width: min(340px, 32vw);
    border: 1px solid var(--mist-200);
    border-radius: 999px;
    background: var(--mist-50);
    overflow: hidden;
}

.header-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 10px 14px;
    background: transparent;
    color: var(--slate-800);
}

.header-search button,
.hero-search button,
.local-filter button {
    border: 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-500), var(--orange-500));
    font-weight: 800;
    cursor: pointer;
}

.header-search button {
    padding: 10px 18px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: var(--mist-100);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--slate-800);
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--mist-200);
    padding: 16px;
    background: var(--white);
}

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

.mobile-nav-link {
    display: block;
    padding: 10px 0;
}

.mobile-category-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
}

.mobile-category-line a,
.pill-link,
.hero-category-cloud a,
.tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.08);
    color: var(--red-600);
    font-size: 13px;
    font-weight: 700;
}

.mobile-category-line a,
.hero-category-cloud a,
.pill-link {
    padding: 8px 12px;
}

main {
    padding-top: 68px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 44px 0 56px;
    background:
        radial-gradient(circle at 18% 16%, rgba(248, 113, 113, 0.26), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(251, 146, 60, 0.22), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #fff7ed 46%, var(--mist-50) 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.52));
    pointer-events: none;
}

.hero-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(320px, 0.68fr);
    gap: 26px;
    align-items: stretch;
}

.hero-carousel {
    position: relative;
    min-height: 520px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--slate-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 0.94fr 1.06fr;
    gap: 18px;
    align-items: center;
    padding: 44px;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(15, 23, 42, 0.92), rgba(127, 29, 29, 0.80), rgba(251, 146, 60, 0.46)),
        radial-gradient(circle at 70% 14%, rgba(252, 211, 77, 0.26), transparent 30%);
}

.hero-media,
.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-media {
    display: grid;
    place-items: center;
}

.hero-media img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
    transform: rotate(-2deg);
}

.hero-glow {
    position: absolute;
    inset: 12% 8%;
    z-index: -1;
    border-radius: 50%;
    background: rgba(248, 113, 113, 0.38);
    filter: blur(46px);
}

.hero-copy {
    color: var(--white);
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--red-600);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-kicker {
    color: var(--amber-300);
}

.hero-copy h1,
.page-hero h1,
.detail-info-card h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero-copy p,
.page-hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
}

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

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

.tag {
    padding: 5px 10px;
}

.hero-tags .tag {
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

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

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

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

.btn.primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--red-500), var(--orange-500));
    box-shadow: 0 16px 32px rgba(239, 68, 68, 0.28);
}

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

.btn.full {
    width: 100%;
}

.hero-dots {
    position: absolute;
    z-index: 2;
    right: 34px;
    bottom: 28px;
    display: flex;
    gap: 8px;
}

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

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

.hero-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-search,
.hero-rank-box,
.category-card-large,
.article-panel,
.side-panel,
.detail-info-card {
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
}

.hero-search {
    padding: 20px;
}

.hero-search label {
    display: block;
    margin-bottom: 10px;
    font-weight: 900;
    color: var(--slate-900);
}

.hero-search div,
.local-filter {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--mist-200);
    border-radius: 999px;
    background: var(--white);
}

.hero-search input,
.local-filter input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 13px 16px;
    background: transparent;
}

.hero-search button,
.local-filter button {
    padding: 12px 20px;
}

.hero-category-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(226, 232, 240, 0.74);
}

.hero-rank-box {
    padding: 18px;
}

.mini-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--slate-900);
    font-weight: 900;
}

.mini-heading a,
.section-more {
    color: var(--red-600);
    font-weight: 900;
}

.horizontal-card {
    display: grid;
    grid-template-columns: auto 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--mist-100);
}

.horizontal-card:first-of-type {
    border-top: 0;
}

.horizontal-card img {
    width: 56px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--mist-100);
}

.horizontal-card strong {
    display: block;
    overflow: hidden;
    color: var(--slate-900);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.horizontal-card small {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    color: var(--slate-500);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.list-rank {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 10px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-500), var(--orange-500));
    font-size: 12px;
    font-weight: 900;
}

.content-section {
    padding: 54px 0;
}

.first-section {
    padding-top: 64px;
}

.warm-section {
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.72), rgba(248, 250, 252, 0.9));
}

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

.section-heading h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.13);
}

.movie-card.is-hidden {
    display: none;
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--mist-100);
}

.poster-link img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

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

.play-chip,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    font-weight: 900;
}

.play-chip {
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    background: rgba(239, 68, 68, 0.92);
}

.rank-badge {
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--red-500), var(--orange-500));
    box-shadow: 0 10px 22px rgba(239, 68, 68, 0.24);
}

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

.movie-card.compact .movie-card-body {
    padding: 13px;
}

.movie-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 800;
}

.movie-card h2 {
    margin: 8px 0 6px;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.28;
}

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

.movie-card p {
    margin: 0 0 12px;
    color: var(--slate-500);
    font-size: 14px;
}

.category-strip {
    padding: 28px 0;
}

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

.category-strip-grid a {
    min-height: 118px;
    padding: 18px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-900), #7f1d1d 58%, var(--orange-600));
    box-shadow: var(--shadow-card);
}

.category-strip-grid span {
    display: block;
    font-size: 20px;
    font-weight: 900;
}

.category-strip-grid small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
}

.page-main {
    min-height: 70vh;
}

.page-hero,
.detail-hero {
    padding: 46px 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(248, 113, 113, 0.22), transparent 30%),
        linear-gradient(135deg, #111827, #7f1d1d 58%, #ea580c);
    color: var(--white);
}

.slim-hero {
    padding: 64px 0 52px;
}

.category-hero {
    padding-bottom: 42px;
}

.page-hero .eyebrow,
.detail-hero .eyebrow {
    color: var(--amber-300);
}

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

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

.local-filter {
    max-width: 650px;
    margin-top: 24px;
}

.wide-filter {
    max-width: 780px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.pill-link.is-current {
    color: var(--white);
    background: linear-gradient(135deg, var(--red-500), var(--orange-500));
}

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

.category-card-large {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
}

.category-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--mist-100);
}

.category-image img {
    height: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.category-image span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.70);
    text-align: center;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.category-card-large h2 {
    margin: 6px 0 8px;
    color: var(--slate-900);
    font-size: 24px;
}

.category-card-large p {
    color: var(--slate-500);
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.category-samples a {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--red-600);
    background: rgba(239, 68, 68, 0.08);
    font-size: 13px;
    font-weight: 700;
}

.ranking-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 34px;
    align-items: center;
}

.ranking-cover {
    position: relative;
    display: block;
}

.ranking-cover img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.ranking-cover span {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--red-500), var(--orange-500));
    font-weight: 900;
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin-top: 30px;
    padding: 12px 22px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

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

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.65fr);
    gap: 26px;
    align-items: stretch;
}

.player-wrap {
    position: relative;
    overflow: hidden;
    min-height: 440px;
    border-radius: var(--radius-xl);
    background: #020617;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.player-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #020617;
}

.player-overlay {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: var(--white);
    background-position: center;
    background-size: cover;
    cursor: pointer;
    text-align: center;
}

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

.player-pulse {
    display: inline-grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red-500), var(--orange-500));
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.16);
    font-size: 30px;
}

.player-overlay strong {
    display: block;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(8px);
    font-size: 20px;
}

.detail-info-card {
    overflow: hidden;
}

.detail-info-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--mist-100);
}

.detail-info-card > div {
    padding: 22px;
}

.detail-info-card h1 {
    color: var(--slate-900);
    font-size: clamp(26px, 3vw, 38px);
}

.detail-info-card p {
    color: var(--slate-500);
}

.detail-info-card .btn {
    margin-top: 18px;
}

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

.article-panel,
.side-panel {
    padding: 26px;
}

.article-panel h2,
.side-panel h2 {
    margin: 0 0 12px;
    color: var(--slate-900);
    font-size: 24px;
}

.article-panel p {
    margin: 0 0 24px;
    color: var(--slate-700);
    font-size: 17px;
}

.info-table {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--mist-200);
    border-radius: var(--radius-md);
}

.info-table span,
.info-table strong {
    padding: 12px 14px;
    border-bottom: 1px solid var(--mist-200);
}

.info-table span:nth-last-child(2),
.info-table strong:last-child {
    border-bottom: 0;
}

.info-table span {
    color: var(--slate-500);
    background: var(--mist-50);
}

.info-table strong {
    color: var(--slate-800);
}

.info-table a {
    color: var(--red-600);
}

.side-list .horizontal-card {
    grid-template-columns: 56px minmax(0, 1fr);
}

.side-list .horizontal-card .list-rank {
    display: none;
}

.site-footer {
    padding: 44px 0;
    color: rgba(255, 255, 255, 0.78);
    background: var(--slate-900);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 0.8fr;
    gap: 34px;
}

.footer-brand {
    color: var(--white);
}

.site-footer p {
    max-width: 460px;
    margin: 14px 0 0;
}

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

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

.footer-links.vertical {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.74);
}

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

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

    .hero-shell,
    .detail-layout,
    .detail-content-grid {
        grid-template-columns: 1fr;
    }

    .hero-carousel {
        min-height: 620px;
    }

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

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

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

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

    .nav-toggle {
        display: block;
    }

    .header-inner {
        height: 62px;
    }

    main {
        padding-top: 62px;
    }

    .hero-section {
        padding: 24px 0 38px;
    }

    .hero-carousel {
        min-height: 720px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        padding: 26px;
        align-content: center;
    }

    .hero-media img {
        max-width: 230px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 34px;
    }

    .section-heading {
        display: block;
    }

    .section-more {
        display: inline-flex;
        margin-top: 12px;
    }

    .movie-grid,
    .compact-grid,
    .category-large-grid,
    .ranking-list,
    .ranking-hero-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .category-strip-grid {
        grid-template-columns: 1fr;
    }

    .player-wrap {
        min-height: 320px;
    }

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

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

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

    .movie-grid,
    .compact-grid,
    .ranking-list,
    .ranking-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-carousel {
        min-height: 760px;
    }

    .hero-actions,
    .local-filter,
    .hero-search div {
        flex-direction: column;
        align-items: stretch;
        border-radius: var(--radius-md);
    }

    .hero-search button,
    .local-filter button {
        border-radius: 0;
    }

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

    .info-table span,
    .info-table strong {
        border-bottom: 1px solid var(--mist-200);
    }
}
