:root {
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: #1e293b;
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --orange: #f97316;
    --red: #dc2626;
    --gold: #facc15;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 22px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    white-space: nowrap;
    background: linear-gradient(90deg, #fb923c, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 12px 25px rgba(249, 115, 22, 0.28);
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1;
}

.desktop-nav a,
.mobile-panel a {
    color: #d1d5db;
    font-weight: 600;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
    color: #fb923c;
}

.nav-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-search input,
.mobile-panel input,
.hero-search input,
.quick-search-panel input,
.filter-search input,
.filter-bar select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: var(--text);
    background: rgba(15, 23, 42, 0.78);
    border-radius: 999px;
    outline: none;
    padding: 11px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input {
    width: 220px;
    padding-right: 88px;
}

.nav-search button,
.mobile-panel button,
.hero-search button,
.quick-search-panel button {
    border: 0;
    color: white;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orange), var(--red));
    padding: 10px 18px;
    font-weight: 800;
}

.nav-search button {
    position: absolute;
    right: 3px;
    padding: 8px 14px;
}

input:focus,
select:focus {
    border-color: rgba(251, 146, 60, 0.9);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    color: #ffffff;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.8);
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
}

.mobile-panel.is-open {
    display: grid;
    gap: 12px;
}

.mobile-panel form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.hero {
    position: relative;
    height: 70vh;
    min-height: 560px;
    overflow: hidden;
    background: #020617;
}

.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;
    background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.35), transparent 34%), #0f172a;
}

.hero-mask {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 24%, rgba(249, 115, 22, 0.22), transparent 26%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.7) 44%, rgba(0, 0, 0, 0.08));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1180px;
    padding-top: 64px;
}

.pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--orange);
    padding: 5px 16px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero p,
.page-hero p,
.detail-info p {
    max-width: 760px;
    margin: 0 0 24px;
    color: #e5e7eb;
    font-size: clamp(17px, 2.5vw, 22px);
}

.hero-meta,
.detail-meta,
.card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: #cbd5e1;
}

.hero-meta {
    margin-bottom: 30px;
    font-weight: 700;
}

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

.primary-button,
.ghost-button,
.text-button,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    min-height: 46px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--orange), var(--red));
    box-shadow: 0 18px 35px rgba(249, 115, 22, 0.25);
    padding: 12px 28px;
}

.ghost-button {
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    background: rgba(15, 23, 42, 0.58);
    padding: 12px 24px;
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.46);
    font-size: 34px;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(249, 115, 22, 0.88);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

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

.quick-search-panel {
    position: relative;
    z-index: 10;
    margin-top: -42px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: var(--shadow);
    padding: 22px;
    backdrop-filter: blur(18px);
}

.quick-search-panel form,
.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.quick-links a,
.detail-tags span,
.tag-row span {
    border: 1px solid rgba(251, 146, 60, 0.24);
    border-radius: 999px;
    color: #fed7aa;
    background: rgba(249, 115, 22, 0.09);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
}

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

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

.section-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: #fb923c;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-header h2,
.search-heading h2,
.content-panel h2,
.info-panel h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 900;
}

.section-header p,
.search-heading p {
    max-width: 700px;
    margin: 8px 0 0;
    color: var(--muted);
}

.section-more,
.text-button {
    color: #fb923c;
}

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

.category-tile {
    min-height: 190px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.24), transparent 36%),
        linear-gradient(145deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.9));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    padding: 24px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.movie-card:hover,
.category-card-xl:hover {
    border-color: rgba(249, 115, 22, 0.48);
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.category-tile span {
    color: #fb923c;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.category-tile strong {
    display: block;
    margin: 10px 0;
    color: #ffffff;
    font-size: 24px;
}

.category-tile p,
.movie-card-body p,
.content-panel p,
.info-panel dd,
.info-panel dt {
    color: var(--muted);
}

.large-grid,
.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

.all-movies-grid {
    align-items: stretch;
}

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

.movie-card {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.86);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.movie-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.32), transparent 38%),
        linear-gradient(145deg, #1e293b, #020617);
}

.movie-thumb img,
.detail-poster img,
.category-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.2s ease;
}

.movie-card:hover .movie-thumb img,
.category-card-xl:hover img {
    transform: scale(1.06);
}

img.image-missing {
    opacity: 0;
}

.thumb-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.82));
}

.category-badge,
.duration-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.category-badge {
    top: 10px;
    left: 10px;
    color: #ffffff;
    background: var(--orange);
    padding: 4px 9px;
}

.duration-badge {
    right: 10px;
    bottom: 10px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.72);
    padding: 4px 8px;
}

.rank-badge {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.28);
}

.play-hover {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(249, 115, 22, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.movie-card:hover .play-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

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

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

.movie-card:hover h3,
.movie-card:hover strong {
    color: #fb923c;
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 12px;
    overflow: hidden;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta {
    justify-content: space-between;
    gap: 8px;
    color: #9ca3af;
    font-size: 12px;
}

.tag-row,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.movie-card-large {
    min-height: 100%;
    border-radius: 22px;
}

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

.large-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
}

.large-caption h3 {
    margin: 0 0 6px;
    font-size: 24px;
}

.large-caption p {
    margin: 0;
    color: #d1d5db;
}

.movie-card-horizontal {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 14px;
    padding: 10px;
}

.movie-card-horizontal .small-thumb {
    height: 100%;
    min-height: 92px;
    border-radius: 13px;
}

.movie-card-horizontal .movie-card-body {
    padding: 4px 6px 4px 0;
}

.movie-card-horizontal .movie-card-body p {
    min-height: 0;
}

.ranking-panel {
    position: sticky;
    top: 86px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.78);
    padding: 22px;
    box-shadow: var(--shadow);
}

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

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

.page-hero {
    padding: 136px 0 52px;
    background:
        radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.24), transparent 30%),
        radial-gradient(circle at 80% 10%, rgba(220, 38, 38, 0.18), transparent 28%),
        linear-gradient(180deg, #020617, #0f172a);
}

.compact-hero h1 {
    max-width: 920px;
    font-size: clamp(34px, 6vw, 58px);
}

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

.breadcrumb a {
    color: #fb923c;
}

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

.category-card-xl {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(30, 41, 59, 0.8);
    padding: 16px;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.category-card-cover {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    border-radius: 18px;
    background: linear-gradient(145deg, #1e293b, #020617);
}

.category-card-cover span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--orange);
    padding: 5px 12px;
    font-weight: 900;
}

.category-card-xl h2 {
    margin: 6px 0 8px;
    color: #ffffff;
    font-size: 26px;
}

.category-card-xl p {
    margin: 0 0 14px;
    color: var(--muted);
}

.sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.sample-links a {
    border-radius: 999px;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.88);
    padding: 5px 10px;
    font-size: 13px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 160px 150px 170px;
    gap: 12px;
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.78);
    padding: 16px;
}

.filter-bar select {
    border-radius: 14px;
}

.empty-state {
    border: 1px dashed rgba(148, 163, 184, 0.35);
    border-radius: 24px;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.56);
    padding: 42px;
    text-align: center;
}

.search-heading {
    margin-bottom: 24px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 124px 0 54px;
    background: #020617;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.58)), var(--detail-poster);
    background-size: cover;
    background-position: center;
    filter: blur(4px) saturate(1.1);
    transform: scale(1.03);
}

.detail-hero .container {
    position: relative;
    z-index: 2;
}

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

.detail-poster {
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: linear-gradient(145deg, #1e293b, #020617);
    box-shadow: var(--shadow);
}

.detail-info h1 {
    font-size: clamp(36px, 6vw, 64px);
}

.detail-meta {
    margin-bottom: 14px;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(249, 115, 22, 0.26);
    border-radius: 28px;
    background: #000000;
    box-shadow: var(--shadow);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.25), rgba(0, 0, 0, 0.55) 46%, rgba(0, 0, 0, 0.78));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-circle {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 20px 42px rgba(249, 115, 22, 0.36);
    font-size: 30px;
}

.player-overlay strong {
    font-size: clamp(20px, 4vw, 34px);
}

.player-overlay em {
    color: #fed7aa;
    font-style: normal;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}

.content-panel,
.info-panel {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.78);
    padding: 28px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.content-panel h2,
.info-panel h2 {
    margin-bottom: 14px;
    font-size: 26px;
}

.content-panel p {
    margin: 0 0 24px;
    font-size: 17px;
}

.info-panel dl {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 10px 12px;
    margin: 0;
}

.info-panel dt {
    color: #cbd5e1;
    font-weight: 800;
}

.info-panel a {
    color: #fb923c;
}

.next-links {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 26px;
}

.next-links a {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: #ffffff;
    background: rgba(30, 41, 59, 0.82);
    padding: 16px 18px;
}

.next-links a:last-child {
    text-align: right;
}

.site-footer {
    margin-top: 76px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), #020617);
    padding: 46px 0 36px;
}

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

.site-footer p {
    max-width: 440px;
    color: var(--muted);
}

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

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

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

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

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

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

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

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

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

    .ranking-panel {
        position: static;
    }
}

@media (max-width: 860px) {
    .hero {
        height: auto;
        min-height: 620px;
    }

    .hero-content {
        padding-top: 110px;
        padding-bottom: 96px;
    }

    .hero-arrow {
        display: none;
    }

    .large-grid,
    .category-grid,
    .category-overview-grid,
    .ranking-page-list {
        grid-template-columns: 1fr;
    }

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

    .category-card-xl,
    .detail-layout {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .brand,
    .footer-brand {
        font-size: 18px;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
    }

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

    .quick-search-panel form,
    .hero-search,
    .mobile-panel form {
        grid-template-columns: 1fr;
    }

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

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

    .movie-card-horizontal {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .next-links {
        flex-direction: column;
    }

    .next-links a:last-child {
        text-align: left;
    }
}
