:root {
    --color-primary: #102a43;
    --color-secondary: #243b53;
    --color-accent: #f59e0b;
    --color-accent-strong: #d97706;
    --color-text-primary: #f0f4f8;
    --color-text-secondary: #bcccdc;
    --color-border: #334e68;
    --color-night-950: #06111d;
    --color-night-900: #0a1929;
    --color-night-850: #0d2136;
    --color-night-800: #102a43;
    --color-night-700: #183b56;
    --shadow-night: 0 20px 60px rgba(0, 0, 0, 0.55);
    --shadow-amber: 0 0 24px rgba(245, 158, 11, 0.26);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --header-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text-primary);
    background:
        radial-gradient(circle at 10% 0%, rgba(245, 158, 11, 0.13), transparent 28rem),
        radial-gradient(circle at 85% 8%, rgba(56, 189, 248, 0.09), transparent 30rem),
        var(--color-night-900);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

main {
    min-height: 70vh;
}

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

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(6, 17, 29, 0.92), rgba(6, 17, 29, 0));
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(6, 17, 29, 0.95);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #140c00;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    border-radius: 14px;
    box-shadow: var(--shadow-amber);
    font-size: 17px;
    font-weight: 900;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 24px;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #fbbf24, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    color: var(--color-text-secondary);
    font-size: 12px;
}

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

.nav-link,
.nav-drop-menu a,
.mobile-panel a {
    color: var(--color-text-secondary);
    padding: 10px 14px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-drop-menu a:hover,
.mobile-panel a:hover {
    color: #fff;
    background: rgba(245, 158, 11, 0.13);
}

.nav-dropdown {
    position: relative;
}

.nav-drop-btn {
    border: 0;
    background: transparent;
}

.nav-drop-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 180px;
    padding: 10px;
    background: rgba(6, 17, 29, 0.96);
    border: 1px solid rgba(188, 204, 220, 0.12);
    border-radius: 18px;
    box-shadow: var(--shadow-night);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .nav-drop-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-drop-menu a {
    display: block;
    border-radius: 12px;
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(188, 204, 220, 0.18);
    border-radius: 14px;
    background: rgba(16, 42, 67, 0.72);
}

.mobile-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    margin: 4px auto;
    background: #fff;
    border-radius: 99px;
}

.mobile-panel {
    display: none;
}

.hero-carousel {
    position: relative;
    min-height: 82vh;
    overflow: hidden;
    background: var(--color-night-950);
}

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

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

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 17, 29, 0.95) 0%, rgba(6, 17, 29, 0.72) 42%, rgba(6, 17, 29, 0.2) 100%),
        linear-gradient(0deg, var(--color-night-900) 0%, rgba(10, 25, 41, 0.3) 38%, rgba(10, 25, 41, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 82vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: var(--header-height);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fbbf24;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #fbbf24;
    border-radius: 99px;
}

.hero-content h1,
.page-hero h1,
.detail-copy h1 {
    max-width: 820px;
    margin: 0 0 20px;
    font-size: clamp(40px, 7vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero-content p,
.page-hero p,
.detail-copy p {
    max-width: 720px;
    margin: 0;
    color: var(--color-text-secondary);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
}

.hero-meta,
.movie-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.hero-meta span,
.movie-meta span,
.detail-meta span,
.genre-row span {
    color: var(--color-text-secondary);
    background: rgba(16, 42, 67, 0.78);
    border: 1px solid rgba(188, 204, 220, 0.14);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border: 0;
    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: #160d00;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    box-shadow: var(--shadow-amber);
}

.btn-ghost {
    color: #fff;
    background: rgba(16, 42, 67, 0.74);
    border: 1px solid rgba(188, 204, 220, 0.2);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    background: rgba(6, 17, 29, 0.42);
    backdrop-filter: blur(12px);
    font-size: 36px;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(245, 158, 11, 0.78);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 24px;
    transform: translateY(-50%);
}

.hero-next {
    right: 24px;
    transform: translateY(-50%);
}

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

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

.hero-dots button.active {
    width: 34px;
    background: #fbbf24;
}

.section {
    padding: 72px 0;
}

.section-dark {
    background: linear-gradient(180deg, rgba(6, 17, 29, 0.48), rgba(6, 17, 29, 0.88));
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05;
}

.section-heading p {
    max-width: 680px;
    margin: 12px 0 0;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.section-action,
.text-link {
    color: #fbbf24;
    font-weight: 800;
}

.search-band {
    padding-top: 36px;
    padding-bottom: 36px;
}

.search-panel,
.search-page-panel,
.filter-panel {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: rgba(16, 42, 67, 0.72);
    border: 1px solid rgba(188, 204, 220, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-night);
}

.search-panel {
    justify-content: space-between;
}

.search-panel h2 {
    margin: 0 0 8px;
}

.search-panel p {
    margin: 0;
    color: var(--color-text-secondary);
}

.home-search,
.search-page-panel {
    flex: 1;
    min-width: min(100%, 420px);
    display: flex;
    gap: 12px;
}

input,
select {
    width: 100%;
    color: #fff;
    background: rgba(6, 17, 29, 0.72);
    border: 1px solid rgba(188, 204, 220, 0.18);
    border-radius: 14px;
    padding: 13px 16px;
    outline: none;
}

input:focus,
select:focus {
    border-color: rgba(245, 158, 11, 0.72);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

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

.category-card,
.category-overview-card,
.article-card,
.player-card,
.ranking-panel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(16, 42, 67, 0.92), rgba(10, 25, 41, 0.96));
    border: 1px solid rgba(188, 204, 220, 0.13);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.category-card {
    min-height: 240px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.movie-card:hover,
.category-overview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-night);
}

.category-card img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-card:hover img {
    transform: scale(1.08);
    opacity: 0.58;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(6, 17, 29, 0.95));
}

.category-card h3,
.category-card p,
.category-card span {
    position: relative;
    z-index: 2;
}

.category-card h3 {
    margin: 8px 0;
    font-size: 24px;
}

.category-card p {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.category-card span {
    width: fit-content;
    color: #160d00;
    background: #fbbf24;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
}

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

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

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

.movie-card {
    overflow: hidden;
    background: rgba(16, 42, 67, 0.72);
    border: 1px solid rgba(188, 204, 220, 0.12);
    border-radius: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    border-color: rgba(245, 158, 11, 0.42);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 15%, rgba(245, 158, 11, 0.25), transparent 38%),
        linear-gradient(145deg, var(--color-night-800), var(--color-night-950));
}

.movie-card-wide .movie-cover {
    width: 132px;
    min-width: 132px;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
}

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

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

.score,
.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    color: #150d00;
    background: #fbbf24;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 900;
}

.rank-badge {
    top: 8px;
    left: 8px;
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0;
}

.play-mark {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #130d00;
    background: rgba(245, 158, 11, 0.92);
    border-radius: 999px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-mark,
.category-card:hover .play-mark {
    opacity: 1;
    transform: translateY(0);
}

.movie-info {
    padding: 15px;
}

.movie-title {
    display: block;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-card p {
    margin: 8px 0 0;
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.movie-meta {
    margin: 10px 0 0;
    gap: 6px;
}

.movie-meta span {
    padding: 4px 8px;
    font-size: 12px;
}

.movie-card-wide {
    display: flex;
    gap: 14px;
    padding: 12px;
}

.movie-card-wide .movie-info {
    padding: 4px 0;
}

.movie-card-wide .movie-title {
    white-space: normal;
}

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

.tag-row span,
.detail-tags a,
.filter-tags button {
    color: var(--color-text-secondary);
    background: rgba(6, 17, 29, 0.55);
    border: 1px solid rgba(188, 204, 220, 0.13);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
}

.filter-tags button {
    color: #fff;
}

.filter-tags button.active,
.filter-tags button:hover,
.detail-tags a:hover {
    color: #150d00;
    background: #fbbf24;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    align-items: start;
}

.ranking-panel {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    padding: 22px;
}

.ranking-panel h2 {
    margin: 0 0 18px;
}

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

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

.movie-list {
    display: grid;
    gap: 16px;
}

.page-hero,
.detail-hero {
    position: relative;
    padding: 150px 0 74px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.18), transparent 30rem),
        linear-gradient(145deg, var(--color-night-950), var(--color-night-800));
}

.small-hero {
    padding-bottom: 64px;
}

.category-hero {
    background:
        radial-gradient(circle at 85% 0%, rgba(245, 158, 11, 0.22), transparent 28rem),
        linear-gradient(145deg, var(--color-night-950), var(--color-night-800));
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--color-text-secondary);
    font-size: 14px;
}

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

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

.category-overview-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    padding: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-mosaic img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: var(--color-night-800);
}

.category-overview-card h2 {
    margin: 4px 0 10px;
}

.category-overview-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.filter-panel {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
}

.detail-hero {
    background:
        linear-gradient(90deg, rgba(6, 17, 29, 0.96), rgba(6, 17, 29, 0.82), rgba(6, 17, 29, 0.7)),
        var(--detail-cover) center / cover;
}

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

.detail-poster {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-night);
}

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

.big-score {
    top: 14px;
    left: 14px;
    font-size: 15px;
}

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

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

.player-card {
    position: relative;
    background: #000;
    border-radius: var(--radius-lg);
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-lg);
}

.player-start {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18), rgba(0, 0, 0, 0.42));
    border: 0;
    border-radius: var(--radius-lg);
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-start span {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    color: #170e00;
    background: #fbbf24;
    border-radius: 999px;
    font-size: 30px;
    box-shadow: var(--shadow-amber);
}

.player-start.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.player-note {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    max-width: calc(100% - 36px);
    color: var(--color-text-secondary);
    background: rgba(6, 17, 29, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    backdrop-filter: blur(12px);
}

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

.article-card {
    padding: 26px;
}

.article-card h2 {
    margin: 0 0 14px;
}

.article-card p {
    color: var(--color-text-secondary);
    line-height: 1.9;
    margin: 0;
}

.tag-card {
    grid-column: span 2;
}

.search-page-panel {
    margin-bottom: 18px;
}

.search-count {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.table-wrap {
    overflow-x: auto;
}

.rank-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.rank-table th,
.rank-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(188, 204, 220, 0.1);
    text-align: left;
}

.rank-table th {
    color: #fbbf24;
    background: rgba(6, 17, 29, 0.72);
}

.rank-table tr:hover td {
    background: rgba(245, 158, 11, 0.06);
}

.table-rank {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #150d00;
    background: #fbbf24;
    border-radius: 999px;
    font-weight: 900;
}

.rank-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.rank-title img {
    width: 46px;
    height: 66px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--color-night-800);
}

.site-footer {
    background: var(--color-night-950);
    border-top: 1px solid rgba(188, 204, 220, 0.12);
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 42px;
    padding: 52px 0;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
    color: var(--color-text-secondary);
}

.footer-grid a {
    display: block;
    margin: 9px 0;
}

.footer-grid a:hover {
    color: #fbbf24;
}

.footer-grid h3 {
    margin: 0 0 14px;
}

.footer-brand {
    margin-bottom: 18px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 18px;
    border-top: 1px solid rgba(188, 204, 220, 0.1);
    font-size: 14px;
}

.hidden-by-filter {
    display: none !important;
}

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

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

    .ranking-panel {
        position: static;
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 66px;
    }

    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-panel {
        position: fixed;
        top: var(--header-height);
        right: 16px;
        left: 16px;
        z-index: 49;
        display: grid;
        gap: 4px;
        padding: 14px;
        background: rgba(6, 17, 29, 0.97);
        border: 1px solid rgba(188, 204, 220, 0.14);
        border-radius: 20px;
        box-shadow: var(--shadow-night);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .site-header.is-open .mobile-panel {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .hero-carousel,
    .hero-content {
        min-height: 76vh;
    }

    .hero-arrow {
        display: none;
    }

    .section,
    .page-hero,
    .detail-hero {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .page-hero,
    .detail-hero {
        padding-top: 112px;
    }

    .section-heading,
    .search-panel,
    .search-page-panel,
    .home-search,
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .category-grid,
    .movie-grid,
    .featured-grid,
    .compact-grid,
    .all-grid,
    .ranking-list-large,
    .category-overview-grid,
    .content-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .tag-card {
        grid-column: span 2;
    }
}

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

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

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

    .hero-content h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: clamp(34px, 12vw, 52px);
    }

    .hero-meta span,
    .detail-meta span {
        font-size: 12px;
    }

    .category-grid,
    .movie-grid,
    .featured-grid,
    .compact-grid,
    .all-grid,
    .ranking-list-large,
    .category-overview-grid,
    .content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-wide {
        align-items: stretch;
    }

    .movie-card-wide .movie-cover {
        width: 104px;
        min-width: 104px;
    }

    .tag-card {
        grid-column: auto;
    }

    .player-start span {
        width: 62px;
        height: 62px;
    }

    .player-note {
        position: static;
        margin: 10px;
        border-radius: 12px;
    }
}
