:root {
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-soft: #f8fafc;
    --color-line: #e5e7eb;
    --color-card: #ffffff;
    --color-amber: #f59e0b;
    --color-yellow: #eab308;
    --color-orange: #f97316;
    --color-red: #ef4444;
    --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 14px 36px rgba(15, 23, 42, 0.10);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--color-text);
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.68), #ffffff 32%, rgba(254, 243, 199, 0.45));
}

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

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

button,
input,
select {
    font: inherit;
}

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

.narrow-container {
    width: min(980px, calc(100% - 32px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.header-inner {
    height: 74px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-red), var(--color-orange));
    box-shadow: 0 12px 26px rgba(249, 115, 22, 0.32);
}

.brand-text {
    font-size: 20px;
    background: linear-gradient(135deg, #dc2626, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.main-nav a {
    color: #374151;
    font-weight: 650;
    position: relative;
    padding: 6px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--color-amber);
    transition: right 0.25s ease;
}

.main-nav a:hover {
    color: #d97706;
}

.main-nav a:hover::after {
    right: 0;
}

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

.header-search input,
.mobile-search input,
.hero-search input,
.search-page-form input,
.filter-search input,
.filter-panel select {
    border: 1px solid rgba(156, 163, 175, 0.45);
    border-radius: 999px;
    background: #ffffff;
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

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

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

.header-search button,
.mobile-search button,
.hero-search button,
.search-page-form button,
.btn,
.rank-action {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-amber), var(--color-yellow));
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.25);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: 12px;
    background: #fff7ed;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #92400e;
}

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

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

.mobile-panel a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #374151;
    background: #fffbeb;
}

.mobile-search input {
    flex: 1;
    padding: 11px 14px;
}

.hero-slider {
    min-height: 650px;
    position: relative;
    overflow: hidden;
    display: grid;
    align-items: center;
    background: radial-gradient(circle at 14% 18%, rgba(251, 191, 36, 0.34), transparent 34%), linear-gradient(135deg, #fff7ed, #ffffff 45%, #fef3c7);
}

.hero-stage {
    width: min(1180px, calc(100% - 32px));
    min-height: 520px;
    margin: 48px auto 108px;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1.08fr 0.72fr;
    gap: 42px;
    align-items: center;
    padding: 54px;
    border-radius: 38px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(0.985) translateY(12px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    box-shadow: 0 32px 90px rgba(120, 53, 15, 0.24);
    isolation: isolate;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(115deg, rgba(17, 24, 39, 0.82), rgba(120, 53, 15, 0.64) 48%, rgba(245, 158, 11, 0.34));
}

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

.hero-kicker,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #92400e;
    background: rgba(254, 243, 199, 0.92);
}

.hero-content h1 {
    max-width: 760px;
    margin: 18px 0 18px;
    color: #ffffff;
    font-size: clamp(40px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-content p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}

.hero-tags,
.tag-row,
.detail-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-tags span,
.tag-row span,
.detail-meta-line span {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 10px;
    color: #7c2d12;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(10px);
}

.hero-poster {
    min-height: 420px;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.26);
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.poster-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 20%, rgba(255, 255, 255, 0.22), transparent 62%);
}

.poster-title {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    color: #ffffff;
    font-size: 26px;
    font-weight: 900;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(146, 64, 14, 0.28);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

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

.hero-search {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    width: min(760px, calc(100% - 32px));
    z-index: 5;
    padding: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.hero-search input {
    flex: 1;
    border: 0;
    padding: 13px 18px;
    background: transparent;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.42;
}

.hero-orb-one {
    width: 230px;
    height: 230px;
    left: 4%;
    top: 10%;
    background: #f97316;
}

.hero-orb-two {
    width: 260px;
    height: 260px;
    right: 5%;
    bottom: 15%;
    background: #facc15;
}

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

.soft-section {
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.75), rgba(255, 255, 255, 0.86));
}

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

.section-heading h2 {
    margin: 12px 0 6px;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.04em;
}

.section-heading p {
    color: var(--color-muted);
    max-width: 720px;
    line-height: 1.75;
}

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

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

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

.movie-card-link {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: var(--color-card);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-card);
}

.movie-poster,
.rank-thumb,
.category-samples a {
    background-size: cover;
    background-position: center;
}

.movie-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #111827;
}

.movie-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.72));
    opacity: 0.75;
    transition: opacity 0.25s ease;
}

.movie-card-link:hover .movie-poster::after {
    opacity: 0.95;
}

.movie-badge,
.movie-duration {
    position: absolute;
    z-index: 2;
    top: 12px;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(8px);
}

.movie-badge {
    left: 12px;
}

.movie-duration {
    right: 12px;
}

.movie-play {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%) scale(0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(245, 158, 11, 0.92);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card-meta,
.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--color-muted);
    font-size: 12px;
}

.movie-card-body h3 {
    margin: 9px 0 8px;
    color: #111827;
    font-size: 17px;
    line-height: 1.35;
}

.movie-card-body p {
    min-height: 42px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.62;
}

.tag-row {
    margin-top: 12px;
}

.tag-row span {
    color: #92400e;
    background: #fef3c7;
}

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

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

.rank-item {
    min-width: 0;
}

.rank-link {
    display: grid;
    grid-template-columns: auto 112px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.rank-number {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
}

.rank-thumb {
    width: 112px;
    height: 72px;
    border-radius: 16px;
    background-color: #111827;
}

.rank-content h3 {
    margin: 6px 0;
    font-size: 19px;
}

.rank-content p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.rank-action {
    white-space: nowrap;
    font-size: 13px;
}

.hot-panel {
    position: sticky;
    top: 100px;
    padding: 22px;
    border-radius: 28px;
    background: linear-gradient(160deg, #111827, #7c2d12 55%, #f59e0b);
    color: #ffffff;
    box-shadow: 0 22px 56px rgba(124, 45, 18, 0.22);
}

.hot-panel .rank-link {
    grid-template-columns: auto 1fr;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: none;
}

.hot-panel .rank-thumb,
.hot-panel .rank-action,
.hot-panel .rank-content p {
    display: none;
}

.hot-panel .rank-meta {
    color: rgba(255, 255, 255, 0.68);
}

.hot-panel .rank-content h3 {
    color: #ffffff;
    font-size: 15px;
}

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

.hot-panel-head a {
    color: #fde68a;
    font-size: 13px;
}

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

.category-card,
.category-overview-main {
    position: relative;
    overflow: hidden;
    min-height: 176px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-icon {
    font-size: 34px;
}

.category-card strong,
.category-overview-main strong {
    font-size: 20px;
}

.category-card em,
.category-overview-main em {
    color: #d97706;
    font-style: normal;
    font-weight: 800;
}

.category-card p,
.category-overview-main p {
    margin: 0;
    color: #6b7280;
    line-height: 1.55;
    font-size: 13px;
}

.category-overview-card {
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.category-overview-main {
    border-radius: 0;
    box-shadow: none;
}

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

.category-samples a {
    min-height: 86px;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background-color: #111827;
}

.category-samples span {
    position: absolute;
    inset: auto 8px 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.compact-hero {
    padding: 70px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #92400e, #f59e0b);
}

.compact-hero::before,
.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 18% 20%, rgba(254, 243, 199, 0.35), transparent 30%), linear-gradient(115deg, rgba(17, 24, 39, 0.84), rgba(146, 64, 14, 0.64));
}

.compact-hero h1,
.detail-copy h1 {
    margin: 12px 0;
    font-size: clamp(38px, 6vw, 68px);
    letter-spacing: -0.06em;
}

.compact-hero p,
.detail-copy p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

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

.breadcrumb a::after {
    content: "/";
    margin-left: 9px;
    color: rgba(255, 255, 255, 0.46);
}

.filter-panel {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
    padding: 16px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.filter-search {
    position: relative;
    flex: 1 1 280px;
}

.filter-search input {
    width: 100%;
    padding: 13px 58px 13px 16px;
}

.filter-search span {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 42px;
    text-align: center;
    border-radius: 999px;
    padding: 5px 9px;
    color: #92400e;
    background: #fef3c7;
    font-weight: 800;
    font-size: 12px;
}

.filter-panel select {
    padding: 12px 16px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-buttons button {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    color: #6b7280;
    background: #f3f4f6;
    cursor: pointer;
    font-weight: 800;
}

.filter-buttons button.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #eab308);
}

.detail-hero {
    min-height: 470px;
    color: #ffffff;
}

.detail-hero-inner {
    padding: 84px 0 70px;
}

.detail-copy {
    max-width: 860px;
}

.detail-meta-line span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.17);
    backdrop-filter: blur(10px);
}

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

.detail-main,
.detail-sidebar {
    display: grid;
    gap: 20px;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 26px 76px rgba(0, 0, 0, 0.22);
}

.player-card video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    border: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    cursor: pointer;
    color: #ffffff;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22), rgba(0, 0, 0, 0.72));
}

.player-overlay.is-hidden {
    display: none;
}

.play-circle {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.35);
    font-size: 28px;
}

.player-overlay strong {
    font-size: 22px;
}

.player-overlay em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.78);
}

.player-message {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
}

.content-card {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.content-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.content-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.9;
}

.info-card dl {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    margin: 0;
}

.info-card dt {
    color: #9ca3af;
    font-weight: 700;
}

.info-card dd {
    margin: 0;
    color: #374151;
    line-height: 1.55;
}

.info-card a {
    color: #d97706;
    font-weight: 800;
}

.search-page-form {
    max-width: 860px;
    margin: 0 auto 26px;
    padding: 12px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.search-page-form input {
    flex: 1;
    border: 0;
    padding: 14px 18px;
}

.search-summary {
    text-align: center;
    color: #6b7280;
    margin-bottom: 24px;
    font-weight: 700;
}

.site-footer {
    margin-top: 70px;
    padding: 54px 0;
    background: linear-gradient(135deg, #f9fafb, #ffffff, #fffbeb);
    border-top: 1px solid rgba(245, 158, 11, 0.16);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 34px;
}

.footer-grid p,
.footer-grid a {
    display: block;
    color: #6b7280;
    line-height: 1.75;
    margin: 8px 0;
}

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

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

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

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

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

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

    .hot-panel {
        position: relative;
        top: 0;
    }
}

@media (max-width: 820px) {
    .header-inner {
        height: 66px;
    }

    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .hero-slider {
        min-height: 720px;
    }

    .hero-stage {
        min-height: 600px;
        margin-top: 24px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px;
    }

    .hero-poster {
        min-height: 220px;
    }

    .hero-search {
        border-radius: 24px;
        flex-direction: column;
    }

    .hero-search input,
    .hero-search button {
        width: 100%;
    }

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

    .rank-link {
        grid-template-columns: auto 86px 1fr;
    }

    .rank-action {
        display: none;
    }

    .rank-thumb {
        width: 86px;
        height: 64px;
    }

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

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

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

    .hero-content h1,
    .compact-hero h1,
    .detail-copy h1 {
        font-size: 38px;
    }

    .hero-stage {
        width: min(100% - 24px, 1180px);
    }

    .movie-grid,
    .compact-grid,
    .category-movie-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

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

    .rank-thumb {
        display: none;
    }

    .filter-panel,
    .search-page-form {
        border-radius: 24px;
        align-items: stretch;
        flex-direction: column;
    }

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