:root {
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --secondary-50: #f0fdfa;
    --secondary-100: #ccfbf1;
    --secondary-500: #14b8a6;
    --accent-500: #f97316;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
    --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.12);
    --radius-xl: 24px;
    --radius-2xl: 32px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--stone-900);
    background: linear-gradient(180deg, var(--stone-50), var(--primary-50));
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

main {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding-top: 104px;
}

.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(231, 229, 228, 0.75);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-nav.is-scrolled {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.96);
}

.nav-inner {
    width: min(1280px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--white);
    font-weight: 800;
    font-size: 22px;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-500));
    box-shadow: 0 10px 24px rgba(2, 132, 199, 0.28);
    transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-4deg);
}

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

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

.brand-text small {
    margin-top: 4px;
    color: var(--stone-500);
    font-size: 12px;
}

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

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--stone-600);
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-700);
    background: var(--primary-50);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: var(--stone-100);
    border-radius: 999px;
    border: 1px solid var(--stone-200);
}

.nav-search input,
.hero-search input,
.filter-bar input {
    border: none;
    outline: none;
    background: transparent;
    color: var(--stone-900);
}

.nav-search input {
    width: 210px;
    padding: 8px 8px 8px 14px;
}

.nav-search button,
.hero-search button,
.primary-button,
.filter-chips button,
.section-link {
    border: none;
    cursor: pointer;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-search button,
.hero-search button,
.primary-button {
    padding: 10px 18px;
    color: var(--white);
    font-weight: 700;
    background: var(--primary-600);
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.22);
}

.nav-search button:hover,
.hero-search button:hover,
.primary-button:hover {
    background: var(--primary-700);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 14px;
    background: var(--stone-100);
    margin-left: auto;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--stone-800);
    border-radius: 99px;
}

.hero-carousel {
    position: relative;
    height: min(680px, 64vh);
    min-height: 520px;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-soft);
    background: var(--stone-900);
}

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

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.65s ease;
}

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

.hero-backdrop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 7s ease;
}

.hero-slide.active .hero-backdrop {
    transform: scale(1.12);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(20, 184, 166, 0.22), transparent 26%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.50) 42%, rgba(0, 0, 0, 0.12)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.56), transparent 52%);
}

.hero-copy {
    position: absolute;
    left: clamp(24px, 6vw, 72px);
    bottom: clamp(34px, 8vw, 86px);
    width: min(720px, calc(100% - 48px));
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--white);
    background: var(--primary-600);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 5.5vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.90);
    max-width: 650px;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.7;
}

.hero-tags,
.detail-meta,
.card-meta,
.quick-links,
.filter-chips,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags {
    margin: 22px 0 26px;
}

.hero-tags span,
.detail-meta span,
.tag-list span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}

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

.ghost-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    font-weight: 700;
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.28);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    color: var(--white);
    background: rgba(0, 0, 0, 0.48);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

.hero-dots {
    position: absolute;
    right: 38px;
    bottom: 36px;
    z-index: 5;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

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

.quick-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 24px 0 48px;
    padding: 18px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.hero-search {
    flex: 1 1 520px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--stone-200);
    border-radius: 999px;
    background: var(--white);
}

.hero-search input {
    flex: 1;
    min-width: 160px;
    padding: 12px 18px;
}

.quick-links a {
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--primary-700);
    background: var(--primary-50);
    font-weight: 700;
}

.content-section {
    margin: 56px 0;
}

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

.section-head h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--stone-600);
}

.section-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    color: var(--primary-700);
    background: var(--primary-50);
    font-weight: 800;
}

.section-link:hover {
    color: var(--white);
    background: var(--primary-600);
}

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

.movie-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-100), var(--secondary-100));
}

.movie-card-large .poster-wrap {
    aspect-ratio: 16 / 11;
}

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

.movie-card:hover img,
.horizontal-card:hover img,
.compact-card:hover img {
    transform: scale(1.08);
}

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 52%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-gradient {
    opacity: 1;
}

.card-year {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.58);
    font-size: 12px;
    font-weight: 700;
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.card-category {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--primary-700);
    background: var(--primary-100);
    font-size: 12px;
    font-weight: 800;
}

.card-body strong,
.horizontal-body strong {
    margin-top: 10px;
    color: var(--stone-900);
    font-size: 18px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card:hover strong,
.horizontal-card:hover strong,
.compact-card:hover strong {
    color: var(--primary-700);
}

.card-desc {
    margin-top: 8px;
    color: var(--stone-600);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    margin-top: auto;
    padding-top: 16px;
    color: var(--stone-500);
    font-size: 12px;
}

.category-section,
.analysis-section {
    padding: 32px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
}

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

.category-tile {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border-radius: 22px;
    color: var(--stone-900);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-tile span {
    color: var(--primary-700);
    font-weight: 900;
    font-size: 20px;
}

.category-tile strong {
    color: var(--stone-600);
    font-size: 14px;
    line-height: 1.7;
}

.rank-section {
    padding: 32px;
    border-radius: var(--radius-2xl);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.rank-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
}

.rank-list a,
.rank-row {
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--stone-50);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-list a {
    grid-template-columns: 52px 1fr auto;
}

.rank-list a:hover,
.rank-row:hover {
    background: var(--primary-50);
    transform: translateX(4px);
}

.rank-num {
    color: var(--primary-700);
    font-weight: 900;
}

.rank-list small,
.rank-row span:not(.rank-num):not(.rank-title) {
    color: var(--stone-500);
}

.horizontal-list {
    display: grid;
    gap: 18px;
}

.horizontal-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    overflow: hidden;
    padding: 18px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.horizontal-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.45s ease;
}

.horizontal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.horizontal-body span:not(.card-category) {
    margin-top: 10px;
    color: var(--stone-600);
    line-height: 1.7;
}

.horizontal-body small {
    margin-top: 12px;
    color: var(--stone-500);
}

.page-hero {
    margin-bottom: 38px;
    padding: clamp(32px, 6vw, 68px);
    border-radius: var(--radius-2xl);
    color: var(--white);
    background:
        radial-gradient(circle at 85% 20%, rgba(20, 184, 166, 0.38), transparent 28%),
        linear-gradient(135deg, var(--stone-900), #075985 55%, #0f766e);
    box-shadow: var(--shadow-soft);
}

.slim-hero h1,
.rank-hero h1 {
    max-width: 920px;
    margin: 18px 0 12px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.slim-hero p,
.rank-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 28px;
    margin-bottom: 24px;
    padding: 28px;
    border-radius: var(--radius-2xl);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.category-overview-copy h2 {
    margin: 18px 0 10px;
    font-size: 32px;
}

.category-overview-copy p {
    color: var(--stone-600);
    line-height: 1.8;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: var(--stone-50);
}

.compact-card img {
    width: 86px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.35s ease;
}

.compact-card strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.compact-card small {
    display: block;
    margin-top: 6px;
    color: var(--stone-500);
}

.filter-bar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.filter-bar input {
    width: 100%;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--stone-100);
}

.filter-chips button {
    padding: 9px 14px;
    color: var(--stone-600);
    background: var(--stone-100);
    font-weight: 700;
}

.filter-chips button:hover,
.filter-chips button.active {
    color: var(--white);
    background: var(--primary-600);
}

.empty-state {
    display: none;
    padding: 36px;
    text-align: center;
    color: var(--stone-600);
    background: var(--white);
    border-radius: 24px;
}

.empty-state.show {
    display: block;
}

.rank-featured {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.rank-table {
    display: grid;
    gap: 10px;
}

.rank-row {
    grid-template-columns: 70px minmax(180px, 1fr) 110px 100px 80px minmax(160px, 1fr);
    color: var(--stone-700);
}

.rank-title {
    color: var(--stone-900);
    font-weight: 800;
}

.detail-page {
    display: block;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 20px;
    color: var(--stone-600);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-700);
    font-weight: 700;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(260px, 380px) 1fr;
    gap: clamp(24px, 5vw, 56px);
    padding: clamp(24px, 5vw, 48px);
    border-radius: var(--radius-2xl);
    color: var(--white);
    background:
        radial-gradient(circle at 85% 25%, rgba(20, 184, 166, 0.36), transparent 28%),
        linear-gradient(135deg, var(--stone-900), #075985 58%, #0f766e);
    box-shadow: var(--shadow-soft);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.detail-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: 18px;
    line-height: 1.8;
}

.detail-meta,
.tag-list {
    margin: 22px 0 0;
}

.detail-copy .primary-button {
    width: fit-content;
    margin-top: 26px;
}

.player-block {
    margin: 42px 0;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: none;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.player-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.22));
}

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

.play-circle {
    position: relative;
    z-index: 2;
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--primary-600);
    font-size: 34px;
    box-shadow: 0 18px 38px rgba(2, 132, 199, 0.36);
    transition: transform 0.22s ease, background 0.22s ease;
}

.player-cover:hover .play-circle {
    transform: scale(1.08);
    background: var(--primary-700);
}

.detail-text {
    padding: 32px;
    border-radius: var(--radius-2xl);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.detail-text h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.detail-text h2:not(:first-child) {
    margin-top: 28px;
}

.detail-text p {
    margin: 0;
    color: var(--stone-700);
    font-size: 17px;
    line-height: 1.9;
}

.site-footer {
    margin-top: 72px;
    padding: 42px 0;
    background: var(--stone-900);
    color: rgba(255, 255, 255, 0.78);
}

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

.footer-brand {
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
}

.footer-inner p {
    max-width: 720px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    gap: 12px;
}

.footer-links a {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
}

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

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

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

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

    .rank-row {
        grid-template-columns: 58px 1fr 86px 80px;
    }

    .rank-row span:nth-child(5),
    .rank-row span:nth-child(6) {
        display: none;
    }
}

@media (max-width: 820px) {
    main {
        width: min(100% - 24px, 720px);
        padding-top: 92px;
    }

    .nav-inner {
        height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 12px;
        right: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-card);
    }

    .site-nav.menu-open .nav-links {
        display: flex;
    }

    .hero-carousel {
        min-height: 560px;
        height: 72vh;
        border-radius: 24px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        left: 24px;
        right: auto;
        bottom: 22px;
    }

    .quick-panel,
    .section-head,
    .footer-inner,
    .category-overview-card,
    .detail-hero {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .quick-panel {
        display: flex;
    }

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

    .horizontal-card {
        grid-template-columns: 1fr;
    }

    .horizontal-card img {
        height: 210px;
    }
}

@media (max-width: 560px) {
    .brand-text small {
        display: none;
    }

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

    .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .hero-copy {
        left: 20px;
        bottom: 58px;
        width: calc(100% - 40px);
    }

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

    .hero-search,
    .rank-list a {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search {
        border-radius: 22px;
    }

    .movie-grid,
    .category-grid,
    .rank-list,
    .compact-grid,
    .rank-featured {
        grid-template-columns: 1fr;
    }

    .category-section,
    .analysis-section,
    .rank-section,
    .detail-text {
        padding: 22px;
    }

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

    .rank-row span:nth-child(n+3) {
        display: none;
    }

    .detail-poster img {
        aspect-ratio: 16 / 10;
    }

    .play-circle {
        width: 72px;
        height: 72px;
        font-size: 28px;
    }
}
