:root {
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-muted: #64748b;
    --color-text: #111827;
    --color-soft: #f1f5f9;
    --color-dark: #0f172a;
    --color-dark-2: #1e293b;
    --color-red: #dc2626;
    --color-red-dark: #b91c1c;
    --color-orange: #f97316;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 14px 30px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 25px 70px rgba(15, 23, 42, 0.24);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #fff;
    background: linear-gradient(90deg, #0f172a, #1e293b 48%, #0f172a);
    box-shadow: var(--shadow-md);
}

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

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

.brand-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: var(--color-red);
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.32);
}

.brand-text {
    font-size: 22px;
    background: linear-gradient(90deg, #f87171, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

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

.nav-link {
    padding: 10px 16px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: #fff;
    background: var(--color-red);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.mobile-link {
    padding: 12px 14px;
}

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

.hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #7f1d1d 52%, #0f172a);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1px), radial-gradient(circle at 80% 40%, #fff 0 1px, transparent 1px);
    background-size: 56px 56px, 72px 72px;
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.8s ease;
    pointer-events: none;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px) saturate(1.2);
    opacity: 0.38;
    transform: scale(1.06);
}

.hero-shade,
.detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(127, 29, 29, 0.7), rgba(15, 23, 42, 0.86));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 680px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 360px;
    gap: 56px;
    align-items: center;
    padding: 80px 0;
}

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: #fecaca;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.eyebrow.dark,
.hero-copy .eyebrow {
    color: var(--color-red);
    background: #fee2e2;
}

.hero-copy .eyebrow {
    color: #fff;
    background: rgba(220, 38, 38, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

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

.hero-copy p {
    margin: 24px 0 0;
    max-width: 700px;
    color: #dbeafe;
    font-size: clamp(18px, 2vw, 22px);
}

.hero-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-tags span,
.detail-tags span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

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

.primary-button,
.ghost-button,
.hero-search button,
.inline-filter button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    padding: 13px 22px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.primary-button,
.hero-search button,
.inline-filter button {
    color: #fff;
    background: var(--color-red);
    box-shadow: 0 16px 36px rgba(220, 38, 38, 0.28);
}

.primary-button:hover,
.hero-search button:hover,
.inline-filter button:hover {
    transform: translateY(-2px);
    background: var(--color-red-dark);
}

.ghost-button {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
}

.ghost-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.1);
}

.hero-poster::before {
    content: "";
    position: absolute;
    inset: -24px;
    z-index: -1;
    border-radius: 36px;
    background: rgba(220, 38, 38, 0.28);
    filter: blur(38px);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    color: #fff;
    background: rgba(220, 38, 38, 0.82);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    background: rgba(15, 23, 42, 0.48);
    transform: translateY(-50%);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.hero-prev {
    left: max(20px, calc((100vw - 1180px) / 2 - 70px));
}

.hero-next {
    right: max(20px, calc((100vw - 1180px) / 2 - 70px));
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
}

.hero-dots button.active {
    width: 28px;
    background: #fff;
}

.quick-search-panel {
    margin-top: -38px;
    position: relative;
    z-index: 8;
}

.search-hero-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 26px;
    align-items: center;
    padding: 30px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.search-hero-box h2,
.section-title-row h2,
.center-heading h2,
.rank-layout h2,
.content-panel h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
}

.search-hero-box p,
.section-title-row p,
.center-heading p,
.rank-layout p {
    color: var(--color-muted);
    margin: 10px 0 0;
}

.hero-search,
.inline-filter {
    display: flex;
    gap: 10px;
}

.hero-search input,
.inline-filter input {
    min-width: 0;
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 13px 15px;
    background: #fff;
    outline: none;
}

.hero-search input:focus,
.inline-filter input:focus {
    border-color: var(--color-red);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.feature-strip,
.section-block {
    padding: 72px 0;
}

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

.feature-grid article {
    padding: 28px;
    border-radius: 22px;
    text-align: center;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.feature-grid article:hover {
    transform: translateY(-4px);
    background: #fff5f5;
    box-shadow: var(--shadow-md);
}

.feature-grid span {
    display: block;
    font-size: 42px;
    margin-bottom: 12px;
}

.feature-grid strong,
.feature-grid em {
    display: block;
}

.feature-grid strong {
    font-size: 18px;
}

.feature-grid em {
    color: var(--color-muted);
    font-style: normal;
    font-size: 14px;
    margin-top: 3px;
}

.white-section {
    background: #fff;
}

.gray-section {
    background: #f1f5f9;
}

.hot-section {
    color: #fff;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
}

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

.text-link {
    color: var(--color-red);
    font-weight: 800;
}

.text-link:hover {
    color: var(--color-red-dark);
}

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

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

.category-card a {
    position: relative;
    display: grid;
    gap: 16px;
    min-height: 100%;
    padding: 18px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff, #fff7ed);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    font-size: 30px;
    background: #fee2e2;
}

.hero-icon {
    margin-bottom: 16px;
}

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

.category-cover-grid img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: #e2e8f0;
}

.category-copy strong,
.category-copy span {
    display: block;
}

.category-copy strong {
    font-size: 20px;
    margin-bottom: 6px;
}

.category-copy span {
    color: var(--color-muted);
    font-size: 14px;
}

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

.small-grid,
.compact-grid {
    gap: 16px;
}

.movie-card {
    min-width: 0;
}

.poster-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.poster-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

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

.poster-link:hover .poster-wrap img {
    transform: scale(1.08);
}

.poster-mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(0, 0, 0, 0.42);
    transition: opacity 0.22s ease;
}

.poster-link:hover .poster-mask {
    opacity: 1;
}

.play-dot {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(220, 38, 38, 0.88);
}

.rating-badge,
.poster-meta {
    position: absolute;
    left: 10px;
    z-index: 2;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.rating-badge {
    top: 10px;
    padding: 5px 9px;
    background: rgba(220, 38, 38, 0.9);
}

.poster-meta {
    right: 10px;
    bottom: 10px;
    padding: 6px 9px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.42));
}

.card-body {
    display: grid;
    gap: 6px;
    padding: 13px;
}

.card-body strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #111827;
    font-size: 15px;
}

.card-body span {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    color: var(--color-muted);
    font-size: 13px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-body em {
    justify-self: start;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--color-red);
    background: #fee2e2;
    font-size: 12px;
    font-style: normal;
}

.hot-section .poster-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
}

.hot-section .card-body strong,
.hot-section .card-body span {
    color: #fff;
}

.center-heading {
    max-width: 700px;
    margin: 0 auto 34px;
    text-align: center;
}

.rank-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 36px;
    align-items: start;
}

.rank-panel {
    position: sticky;
    top: 92px;
    padding: 22px;
    border-radius: 24px;
    background: var(--color-dark);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.rank-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.rank-panel-head h2 {
    margin: 0;
    font-size: 24px;
}

.rank-panel-head a {
    color: #fecaca;
    font-weight: 700;
}

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

.full-rank-list {
    gap: 14px;
}

.rank-item a {
    display: grid;
    grid-template-columns: 40px 60px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.22s ease, background 0.22s ease;
}

.white-section .rank-item a,
.gray-section .rank-item a {
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.rank-item a:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.15);
}

.white-section .rank-item a:hover,
.gray-section .rank-item a:hover {
    background: #fff7ed;
}

.rank-number {
    color: var(--color-red);
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.rank-item img {
    width: 60px;
    height: 84px;
    object-fit: cover;
    border-radius: 12px;
    background: #e2e8f0;
}

.rank-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.rank-copy strong,
.rank-copy em,
.rank-copy span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-copy em,
.rank-copy span {
    color: #94a3b8;
    font-style: normal;
    font-size: 13px;
}

.gray-section .rank-copy em,
.gray-section .rank-copy span,
.white-section .rank-copy em,
.white-section .rank-copy span {
    color: var(--color-muted);
}

.rank-score {
    color: #fbbf24;
    font-weight: 900;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #7f1d1d 55%, #0f172a);
}

.page-hero .section-inner {
    position: relative;
    z-index: 2;
    padding: 78px 0;
}

.page-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    color: #dbeafe;
    font-size: 18px;
}

.inline-filter {
    max-width: 660px;
    margin-top: 24px;
}

.empty-state {
    margin: 28px 0 0;
    padding: 22px;
    border-radius: 18px;
    color: var(--color-muted);
    text-align: center;
    background: #fff;
}

.detail-hero {
    min-height: 580px;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    filter: blur(5px) saturate(1.15);
    transform: scale(1.05);
}

.detail-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 44px;
    align-items: center;
    padding: 80px 0;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-poster span {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(220, 38, 38, 0.92);
    font-weight: 900;
}

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

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

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

.detail-one-line {
    max-width: 820px;
    color: #dbeafe;
    font-size: 20px;
}

.player-section {
    background: #fff;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: var(--shadow-lg);
}

.player-box video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-start {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: #fff;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.72));
    cursor: pointer;
}

.player-start span {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.9);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    font-size: 34px;
}

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

.player-start.hidden {
    display: none;
}

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

.content-panel {
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.content-panel p {
    color: #334155;
    font-size: 17px;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.related-links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--color-red);
    background: #fff;
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}

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

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

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

.footer-brand p {
    max-width: 460px;
    color: #94a3b8;
}

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

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

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

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

@media (max-width: 1160px) {
    .hero-arrow {
        display: none;
    }

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

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

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

    .rank-panel {
        position: static;
    }
}

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

    .mobile-toggle {
        display: block;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 56px 0 72px;
    }

    .hero-poster {
        width: min(260px, 72vw);
        margin: 0 auto;
    }

    .search-hero-box,
    .detail-layout,
    .detail-article-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

    .detail-poster {
        max-width: 260px;
    }

    .rank-item a {
        grid-template-columns: 34px 54px minmax(0, 1fr);
    }

    .rank-score {
        display: none;
    }
}

@media (max-width: 560px) {
    .header-inner,
    .section-inner,
    .footer-inner,
    .mobile-nav,
    .hero-content {
        width: min(100% - 24px, 1180px);
    }

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

    .hero {
        min-height: 720px;
    }

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

    .hero-copy p,
    .detail-one-line {
        font-size: 16px;
    }

    .hero-actions,
    .detail-actions,
    .hero-search,
    .inline-filter {
        flex-direction: column;
    }

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

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

    .quick-search-panel {
        margin-top: 0;
    }

    .search-hero-box {
        border-radius: 0;
        width: 100%;
    }

    .page-hero .section-inner,
    .detail-layout {
        padding: 52px 0;
    }
}
