:root {
    --bg: #fffaf2;
    --bg-soft: #fff6e7;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #f0dfc6;
    --amber: #f59e0b;
    --orange: #f97316;
    --deep: #431407;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(67, 20, 7, 0.12);
    --shadow-soft: 0 10px 26px rgba(67, 20, 7, 0.08);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 36%, #fffaf2 100%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.95), rgba(255, 237, 213, 0.95));
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: 0 8px 28px rgba(124, 45, 18, 0.08);
    backdrop-filter: blur(16px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #b45309;
    white-space: nowrap;
}

.brand-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.32);
    font-size: 16px;
}

.brand--footer {
    color: #fff;
    font-size: 22px;
}

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

.nav-link {
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #d97706;
    transform: translateY(-1px);
}

.top-search,
.mobile-search,
.hero-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-search input,
.mobile-search input,
.hero-search input,
.filter-panel input,
.filter-panel select {
    border: 2px solid #f8d99d;
    border-radius: 999px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.top-search input {
    width: 250px;
    padding: 10px 16px;
}

.top-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.top-search button,
.mobile-search button,
.hero-search button {
    border: 0;
    border-radius: 999px;
    padding: 10px 20px;
    color: #fff;
    background: linear-gradient(90deg, var(--amber), var(--orange));
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.26);
    cursor: pointer;
    font-weight: 800;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    color: #92400e;
    background: rgba(253, 230, 138, 0.6);
    cursor: pointer;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(245, 158, 11, 0.18);
    padding: 14px 16px 18px;
}

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

.mobile-panel nav {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.mobile-panel a {
    color: #78350f;
    font-weight: 800;
}

.hero-carousel {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #111827;
}

.hero-stage {
    position: relative;
    min-height: 560px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.9s ease;
}

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

.hero-slide > img {
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(245, 158, 11, 0.18), transparent 28%), linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.48) 46%, rgba(0, 0, 0, 0.12) 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    max-width: 1180px;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    padding: 7px 16px;
    color: #fff;
    background: linear-gradient(90deg, var(--amber), var(--orange));
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.28);
}

.hero-content h1,
.hero-content h2 {
    max-width: 720px;
    margin: 18px 0 14px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.hero-content p {
    max-width: 650px;
    margin: 0 0 22px;
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1.8;
}

.hero-meta,
.detail-meta,
.card-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-meta span,
.detail-meta span {
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.primary-btn,
.ghost-btn,
.section-more,
.text-link {
    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, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
    padding: 13px 26px;
    color: #fff;
    background: linear-gradient(90deg, var(--amber), var(--orange));
    box-shadow: 0 16px 30px rgba(249, 115, 22, 0.32);
}

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

.primary-btn--small {
    padding: 10px 18px;
    font-size: 14px;
}

.ghost-btn {
    padding: 13px 26px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.hero-controls {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 24px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    transform: translateX(-50%);
}

.hero-dot {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 10px;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 8px;
    color: #fff;
    background: rgba(0, 0, 0, 0.34);
    text-align: left;
    cursor: pointer;
    backdrop-filter: blur(14px);
}

.hero-dot img {
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.hero-dot span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 800;
}

.hero-dot.is-active {
    border-color: rgba(245, 158, 11, 0.95);
    background: rgba(245, 158, 11, 0.24);
}

.quick-search-band {
    padding: 28px 0;
    background: linear-gradient(90deg, #fff7ed, #ffffff);
    border-bottom: 1px solid var(--line);
}

.quick-search-inner {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 480px);
    gap: 28px;
    align-items: center;
}

.quick-search-inner h2 {
    margin: 0 0 8px;
    font-size: 28px;
    color: #7c2d12;
}

.quick-search-inner p {
    margin: 0;
    color: #6b7280;
    line-height: 1.8;
}

.hero-search input {
    width: 100%;
    padding: 13px 18px;
}

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

.section-soft {
    background: linear-gradient(90deg, #fff7ed, #fff1df);
}

.section-amber {
    background: linear-gradient(180deg, #fffbeb, #ffffff);
}

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

.section-heading h2 {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.section-more,
.text-link {
    padding: 10px 18px;
    color: #b45309;
    background: #fff7ed;
    box-shadow: inset 0 0 0 1px #fed7aa;
}

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

.category-tile {
    position: relative;
    overflow: hidden;
    min-height: 178px;
    border-radius: 24px;
    padding: 24px;
    background: linear-gradient(135deg, #fff, #fff7ed);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -40px;
    bottom: -40px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(249, 115, 22, 0.16));
}

.category-tile:hover,
.media-card:hover,
.strip-card:hover,
.category-panel:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.category-tile span,
.category-panel__head span {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.26);
}

.category-tile strong {
    display: block;
    margin: 18px 0 8px;
    font-size: 22px;
}

.category-tile em {
    display: block;
    color: var(--muted);
    font-style: normal;
    line-height: 1.7;
}

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

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

.media-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-card__cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #1f2937;
}

.media-card__cover img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.media-card:hover .media-card__cover img {
    transform: scale(1.06);
}

.play-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #d97706;
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.media-card:hover .play-mark {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    color: #fff;
    background: var(--amber);
}

.year-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.year-badge {
    right: 12px;
    background: rgba(0, 0, 0, 0.62);
}

.rank-badge {
    left: 12px;
    background: linear-gradient(90deg, var(--amber), var(--orange));
}

.media-card__body {
    padding: 18px;
}

.card-kicker {
    color: #b45309;
    font-size: 12px;
    font-weight: 800;
}

.card-kicker span {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 9px;
    background: #fffbeb;
}

.media-card h3,
.strip-card h3,
.rank-info h3 {
    margin: 10px 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.32;
    font-weight: 900;
}

.media-card h3 a:hover,
.strip-card h3 a:hover,
.rank-info h3 a:hover {
    color: #d97706;
}

.media-card p,
.strip-card p,
.rank-info p {
    margin: 0;
    color: #6b7280;
    line-height: 1.65;
}

.mini-tags,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.mini-tags span,
.tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    color: #92400e;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 800;
}

.strip-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.strip-card {
    display: grid;
    flex: 0 0 360px;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    overflow: hidden;
    border-radius: 22px;
    padding: 12px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.strip-card > a {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 10;
    background: #111827;
}

.strip-card img {
    height: 100%;
    object-fit: cover;
}

.strip-card > a span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    font-size: 24px;
}

.strip-card small {
    display: block;
    margin-top: 12px;
    color: #9ca3af;
    font-weight: 800;
}

.strip-actions {
    display: flex;
    gap: 8px;
}

.strip-actions button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

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

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

.rank-row {
    display: grid;
    grid-template-columns: 58px 118px 1fr auto;
    gap: 18px;
    align-items: center;
    border-radius: 22px;
    padding: 14px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.rank-number {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    font-size: 18px;
    font-weight: 900;
}

.rank-poster {
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 10;
    background: #111827;
}

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

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

.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.42), transparent 28%), linear-gradient(135deg, #431407, #9a3412 52%, #f97316);
}

.page-hero--small {
    padding: 88px 0 72px;
}

.page-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(36px, 6vw, 60px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.05em;
}

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

.breadcrumb,
.breadcrumb-wrap a {
    color: #ffedd5;
    font-weight: 800;
}

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

.category-panel {
    border-radius: 26px;
    padding: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-panel__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.category-panel h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 900;
}

.category-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

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

.category-preview a {
    overflow: hidden;
    border-radius: 16px;
    background: #fff7ed;
}

.category-preview img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.category-preview span {
    display: block;
    overflow: hidden;
    padding: 8px;
    color: #7c2d12;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 190px;
    gap: 14px;
    margin-bottom: 28px;
    border: 1px solid #fed7aa;
    border-radius: 24px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    padding: 12px 16px;
}

.filter-chips {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chips button {
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    color: #92400e;
    background: #ffedd5;
    cursor: pointer;
    font-weight: 800;
}

.filter-chips button.is-active {
    color: #fff;
    background: linear-gradient(90deg, var(--amber), var(--orange));
}

[data-card].is-hidden {
    display: none !important;
}

.movie-detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    color: #fff;
    background: #111827;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.48;
}

.detail-backdrop img {
    height: 100%;
    object-fit: cover;
    filter: blur(5px) saturate(1.05);
    transform: scale(1.04);
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.42)), linear-gradient(0deg, #111827 0%, transparent 40%);
}

.detail-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 42px;
    align-items: center;
    min-height: 520px;
    padding: 54px 0;
}

.detail-cover {
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

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

.breadcrumb-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.detail-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.detail-copy p {
    max-width: 780px;
    margin: 0 0 20px;
    color: #f3f4f6;
    font-size: 18px;
    line-height: 1.85;
}

.detail-copy .primary-btn {
    margin-top: 26px;
}

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

.detail-content,
.detail-sidebar {
    display: grid;
    gap: 24px;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.52));
    cursor: pointer;
}

.player-overlay span {
    display: inline-grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--amber), var(--orange));
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.42);
    font-size: 34px;
    transition: transform 0.2s ease;
}

.player-overlay:hover span {
    transform: scale(1.08);
}

.video-player.is-playing .player-overlay {
    display: none;
}

.text-card,
.side-card {
    border-radius: 24px;
    padding: 26px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.text-card--warm {
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.text-card h2,
.side-card h2 {
    margin: 0 0 14px;
    color: #1f2937;
    font-size: 24px;
    font-weight: 900;
}

.text-card p {
    margin: 0;
    color: #374151;
    line-height: 1.95;
    white-space: pre-line;
}

.detail-sidebar {
    position: sticky;
    top: 92px;
}

.side-card dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.side-card dl div {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    border-bottom: 1px solid #f3e8d7;
    padding-bottom: 10px;
}

.side-card dt {
    color: #b45309;
    font-weight: 900;
}

.side-card dd {
    margin: 0;
    color: #374151;
}

.site-footer {
    margin-top: 40px;
    padding: 50px 0 44px;
    color: #ffedd5;
    background: linear-gradient(90deg, #431407, #7c2d12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.site-footer p {
    margin: 14px 0 0;
    color: #fed7aa;
    line-height: 1.8;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: #fed7aa;
}

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

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

    .rank-list--home,
    .category-panel-grid {
        grid-template-columns: 1fr;
    }

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

    .detail-sidebar {
        position: static;
    }
}

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

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

    .hero-carousel,
    .hero-stage,
    .hero-slide > img {
        min-height: 640px;
    }

    .hero-controls {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        bottom: 18px;
    }

    .hero-dot {
        grid-template-columns: 1fr;
    }

    .hero-dot img {
        display: none;
    }

    .quick-search-inner,
    .detail-hero-grid,
    .filter-panel {
        grid-template-columns: 1fr;
    }

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

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

    .rank-row {
        grid-template-columns: 44px 96px 1fr;
    }

    .rank-row .text-link {
        grid-column: 2 / -1;
        width: fit-content;
    }
}

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

    .brand {
        font-size: 20px;
    }

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

    .hero-content h1,
    .hero-content h2 {
        font-size: 40px;
    }

    .hero-content p,
    .quick-search-inner p,
    .page-hero p,
    .detail-copy p {
        font-size: 16px;
    }

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

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

    .card-grid,
    .category-grid,
    .footer-grid,
    .category-preview {
        grid-template-columns: 1fr;
    }

    .strip-card {
        flex-basis: 310px;
        grid-template-columns: 120px 1fr;
    }

    .rank-row {
        grid-template-columns: 42px 1fr;
    }

    .rank-poster {
        display: none;
    }

    .rank-row .text-link {
        grid-column: 2;
    }

    .movie-detail-hero,
    .detail-hero-grid {
        min-height: auto;
    }

    .detail-hero-grid {
        padding: 40px 0;
    }
}
