:root {
    --stellar-dark: #0a0f1c;
    --stellar-deep: #111827;
    --stellar-mid: #1e2847;
    --stellar-light: #2a3558;
    --stellar-glow: #4a90e2;
    --stellar-accent: #38bdf8;
    --text-main: #ffffff;
    --text-muted: #a7b0c3;
    --border-soft: rgba(255, 255, 255, 0.12);
    --shadow-glow: 0 0 30px rgba(74, 144, 226, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--stellar-dark);
    color: var(--text-main);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background:
        radial-gradient(circle at 16% 8%, rgba(74, 144, 226, 0.18), transparent 28rem),
        radial-gradient(circle at 84% 12%, rgba(56, 189, 248, 0.12), transparent 24rem),
        linear-gradient(180deg, var(--stellar-dark), #070b14 70%);
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 15, 28, 0.92);
    border-bottom: 1px solid var(--border-soft);
    backdrop-filter: blur(18px);
}

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

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

.site-logo-mark {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--stellar-glow), var(--stellar-accent));
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

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

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

.nav-link {
    padding: 9px 14px;
    color: #cbd5e1;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #ffffff;
    background: rgba(74, 144, 226, 0.22);
}

.header-search,
.mobile-search,
.search-page-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(30, 40, 71, 0.82);
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 230px;
    padding: 10px 14px;
    border-radius: 12px;
}

.header-search button,
.mobile-search button,
.search-page-form button {
    border: 0;
    padding: 10px 16px;
    border-radius: 12px;
    color: #ffffff;
    background: var(--stellar-glow);
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--stellar-glow);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.18);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: rgba(30, 40, 71, 0.75);
}

.mobile-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #ffffff;
}

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

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

.mobile-search {
    margin-bottom: 14px;
}

.mobile-search input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
}

.mobile-nav,
.mobile-sub-nav {
    display: grid;
    gap: 8px;
}

.mobile-nav a,
.mobile-sub-link {
    padding: 10px 12px;
    color: #dbe4f0;
    border-radius: 12px;
    background: rgba(30, 40, 71, 0.48);
}

.mobile-sub-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
}

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

.hero-carousel {
    position: relative;
    height: 72vh;
    min-height: 540px;
    overflow: hidden;
    background: var(--stellar-deep);
}

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

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 15, 28, 0.96) 0%, rgba(10, 15, 28, 0.72) 38%, rgba(10, 15, 28, 0.25) 100%),
        linear-gradient(0deg, var(--stellar-dark) 0%, transparent 48%);
}

.hero-content {
    position: absolute;
    left: max(32px, calc((100vw - 1180px) / 2));
    bottom: 90px;
    max-width: 720px;
}

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

.hero-tags span,
.hero-extra-tags span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(74, 144, 226, 0.24);
    border: 1px solid rgba(74, 144, 226, 0.32);
}

.hero-content h1 {
    margin: 18px 0 18px;
    font-size: clamp(44px, 7vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.hero-content p {
    max-width: 680px;
    margin: 0 0 22px;
    color: #dbe4f0;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.75;
}

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

.primary-button,
.ghost-button,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 13px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    color: #ffffff;
    background: var(--stellar-glow);
    box-shadow: var(--shadow-glow);
}

.ghost-button,
.section-more {
    color: #dbeafe;
    border: 1px solid var(--border-soft);
    background: rgba(30, 40, 71, 0.55);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover {
    transform: translateY(-2px);
}

.small-button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 14px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.42);
    font-size: 38px;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(74, 144, 226, 0.72);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.45);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
    width: 36px;
    background: var(--stellar-glow);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: min(1180px, calc(100% - 32px));
    margin: -42px auto 0;
    position: relative;
    z-index: 20;
}

.stat-card {
    padding: 24px;
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    background: rgba(30, 40, 71, 0.82);
    box-shadow: var(--shadow-glow);
    backdrop-filter: blur(14px);
}

.stat-card strong {
    display: block;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
}

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

.gradient-section {
    background: linear-gradient(180deg, rgba(10, 15, 28, 0.35), rgba(17, 24, 39, 0.9));
}

.deep-section {
    background: rgba(17, 24, 39, 0.76);
}

.dark-section {
    background: rgba(10, 15, 28, 0.88);
}

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

.section-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--stellar-accent);
    font-weight: 800;
    letter-spacing: 0.12em;
}

.section-heading h2,
.page-hero h1,
.detail-card h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

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

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

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

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

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

.movie-card {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(30, 40, 71, 0.78);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(74, 144, 226, 0.5);
    box-shadow: var(--shadow-glow);
}

.movie-cover {
    position: relative;
    margin: 0;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 40, 71, 0.92), rgba(74, 144, 226, 0.2));
}

.card-wide .movie-cover {
    aspect-ratio: 16 / 10;
}

.movie-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.2s ease;
}

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

.cover-shade,
.category-tile-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.88));
}

.play-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(74, 144, 226, 0.9);
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-chip {
    opacity: 1;
    transform: scale(1);
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    background: rgba(74, 144, 226, 0.88);
}

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

.movie-card-body h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.35;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card-meta,
.movie-card-genre {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-card-genre {
    color: #dbeafe;
}

.category-tile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 44px;
}

.category-tile {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    background: var(--stellar-mid);
}

.category-tile img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile div {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
}

.category-tile h3,
.category-preview-head h3,
.year-block h3 {
    margin: 0 0 6px;
    font-size: 22px;
}

.category-tile p,
.category-preview-head p {
    margin: 0;
    color: #dbe4f0;
}

.category-preview-list {
    display: grid;
    gap: 40px;
}

.category-preview {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(30, 40, 71, 0.45);
}

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

.category-preview-head a {
    color: var(--stellar-accent);
    font-weight: 700;
}

.horizontal-row {
    display: grid;
    grid-auto-columns: 185px;
    grid-auto-flow: column;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.year-list {
    display: grid;
    gap: 34px;
}

.year-block h3 span {
    display: inline-flex;
    padding: 8px 14px;
    border: 1px solid rgba(74, 144, 226, 0.42);
    border-radius: 12px;
    color: #dbeafe;
    background: rgba(74, 144, 226, 0.15);
}

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

.page-hero {
    padding: 74px 0;
    background:
        radial-gradient(circle at 14% 12%, rgba(74, 144, 226, 0.22), transparent 28rem),
        linear-gradient(180deg, var(--stellar-deep), var(--stellar-dark));
}

.compact-page-hero {
    padding: 58px 0;
}

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

.breadcrumb {
    margin: 0 0 18px;
    color: #8fb8ec !important;
    font-size: 14px !important;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 22px;
    padding: 20px;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    background: rgba(30, 40, 71, 0.7);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-overview-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 144, 226, 0.5);
}

.category-overview-covers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.category-overview-covers img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: var(--stellar-mid);
}

.category-overview-body h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.category-overview-body p {
    margin: 0 0 18px;
    color: var(--text-muted);
    line-height: 1.8;
}

.category-overview-body span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(74, 144, 226, 0.18);
}

.filter-panel {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 14px;
    padding: 18px;
    margin-bottom: 16px;
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    background: rgba(30, 40, 71, 0.62);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: #cbd5e1;
    font-size: 14px;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
}

.filter-count,
.search-summary {
    margin: 0 0 22px;
    color: #cbd5e1;
}

.search-page-form {
    margin-top: 28px;
    max-width: 720px;
}

.search-page-form input {
    flex: 1;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 16px;
}

.search-page-form button {
    min-height: 54px;
    padding: 0 24px;
    border-radius: 16px;
}

.movie-player-section {
    padding: 40px 0 72px;
    background:
        radial-gradient(circle at 10% 4%, rgba(74, 144, 226, 0.16), transparent 30rem),
        linear-gradient(180deg, var(--stellar-deep), var(--stellar-dark));
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.86fr);
    gap: 26px;
}

.player-box {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(74, 144, 226, 0.25);
    border-radius: 24px;
    background: #000000;
    box-shadow: var(--shadow-glow);
}

.movie-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.58));
}

.player-start span {
    display: grid;
    width: 78px;
    height: 78px;
    margin: 0 auto;
    place-items: center;
    border-radius: 999px;
    background: rgba(74, 144, 226, 0.92);
    box-shadow: var(--shadow-glow);
}

.player-start strong {
    font-size: 18px;
}

.player-box.is-playing .player-start {
    display: none;
}

.detail-card,
.sidebar-card {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    background: rgba(30, 40, 71, 0.68);
}

.detail-title-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.detail-title-row p {
    margin: 12px 0 0;
    color: #dbe4f0;
    font-size: 17px;
    line-height: 1.75;
}

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

.detail-meta-grid div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(10, 15, 28, 0.44);
}

.detail-meta-grid dt {
    color: var(--text-muted);
    font-size: 13px;
}

.detail-meta-grid dd {
    margin: 6px 0 0;
    color: #ffffff;
    font-weight: 700;
}

.prose-card h2,
.sidebar-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.prose-card p {
    margin: 0;
    color: #dbe4f0;
    font-size: 16px;
    line-height: 1.95;
    white-space: pre-line;
}

.detail-sidebar {
    position: relative;
}

.sidebar-card {
    position: sticky;
    top: 92px;
    margin-top: 0;
}

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

.related-row {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 12px;
    align-items: center;
}

.related-row img {
    width: 118px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
    background: var(--stellar-mid);
}

.related-row strong {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 6px;
    color: #ffffff;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-row em {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    font-style: normal;
}

.site-footer {
    border-top: 1px solid var(--border-soft);
    background: #070b14;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0;
}

.footer-brand p,
.footer-note p,
.footer-col a {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-col h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

.footer-col ul {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-col a:hover {
    color: var(--stellar-accent);
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #7b879b;
    text-align: center;
    padding: 18px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1100px) {
    .movie-grid,
    .all-grid,
    .compact-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

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

    .sidebar-card {
        position: static;
    }
}

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

    .mobile-menu-button {
        display: block;
    }

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

    .hero-content {
        left: 24px;
        right: 24px;
        bottom: 84px;
    }

    .stats-strip,
    .filter-panel,
    .category-overview-grid,
    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
    }

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

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

@media (max-width: 640px) {
    .site-header-inner,
    .section-container,
    .stats-strip,
    .site-footer-inner,
    .mobile-panel {
        width: min(100% - 24px, 1180px);
    }

    .site-logo-text {
        font-size: 18px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-arrow {
        display: none;
    }

    .stats-strip,
    .movie-grid,
    .featured-grid,
    .latest-grid,
    .ranking-grid,
    .compact-grid,
    .all-grid,
    .category-tile-grid,
    .filter-panel,
    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .category-preview {
        padding: 18px;
    }

    .category-preview-head,
    .section-heading,
    .detail-title-row {
        align-items: start;
        flex-direction: column;
    }

    .horizontal-row {
        grid-auto-columns: 155px;
    }

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

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

    .related-row {
        grid-template-columns: 92px 1fr;
    }

    .related-row img {
        width: 92px;
    }
}

@media (max-width: 430px) {
    .stats-strip,
    .movie-grid,
    .featured-grid,
    .latest-grid,
    .ranking-grid,
    .compact-grid,
    .all-grid,
    .category-tile-grid,
    .mobile-sub-nav {
        grid-template-columns: 1fr;
    }

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

    .hero-actions,
    .search-page-form {
        flex-direction: column;
        align-items: stretch;
    }
}
