@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;800&display=swap");

:root {
    --primary-50: #f0fdfa;
    --primary-100: #ccfbf1;
    --primary-400: #2dd4bf;
    --primary-500: #14b8a6;
    --primary-600: #0d9488;
    --primary-700: #0f766e;
    --secondary-50: #fff7ed;
    --secondary-100: #ffedd5;
    --secondary-500: #f97316;
    --secondary-700: #c2410c;
    --accent-50: #ecfeff;
    --accent-100: #cffafe;
    --accent-500: #06b6d4;
    --accent-600: #0891b2;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.08);
    --shadow-md: 0 12px 30px rgba(17, 24, 39, 0.12);
    --shadow-lg: 0 24px 60px rgba(17, 24, 39, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--gray-50);
    color: var(--gray-900);
    font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

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

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

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
    transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
    transform: scale(1.05);
}

.brand-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.brand-text {
    font-size: 22px;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--primary-600), var(--accent-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    color: var(--gray-700);
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-600);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--gray-100);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--gray-700);
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0 18px;
    border-top: 1px solid var(--gray-200);
}

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

.mobile-link {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--gray-700);
    font-weight: 600;
}

.mobile-link:hover {
    background: var(--gray-50);
    color: var(--primary-600);
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--gray-900);
}

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

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img,
.detail-hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.08));
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 76px;
    width: min(1280px, calc(100% - 32px));
    max-width: 1280px;
    transform: translateX(-50%);
    color: var(--white);
    z-index: 3;
}

.hero-content > * {
    max-width: 760px;
}

.hero-labels,
.card-tags,
.detail-tags,
.tag-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-labels span,
.card-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.hero-labels span:first-child,
.card-tags span:first-child {
    background: var(--secondary-500);
}

.hero-labels span:last-child,
.card-tags span:last-child {
    background: var(--primary-500);
}

.hero h1,
.page-hero h1,
.detail-hero h1 {
    margin: 16px 0;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-line {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(18px, 2vw, 22px);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    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;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
    box-shadow: 0 16px 34px rgba(13, 148, 136, 0.28);
}

.btn-glass {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

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

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.74);
    transform: translateY(-2px);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

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

.section {
    padding: 72px 0;
}

.section-white {
    background: var(--white);
}

.section-soft {
    background: var(--gray-50);
}

.section-gradient {
    background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
}

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

.section-head h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

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

.section-link {
    color: var(--primary-600);
    font-weight: 800;
}

.search-panel {
    margin-bottom: 32px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 720px;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.search-box svg {
    width: 22px;
    height: 22px;
    fill: var(--primary-500);
}

.search-input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--gray-900);
    background: transparent;
}

.featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 24px;
}

.featured-side {
    display: grid;
    gap: 24px;
}

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

.movie-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-box {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--gray-900);
}

.featured-card .poster-box {
    aspect-ratio: 16 / 10;
}

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

.movie-card:hover .poster-box img,
.ranking-card:hover img,
.compact-card:hover img {
    transform: scale(1.06);
}

.poster-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(0, 0, 0, 0.34);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.poster-play svg {
    width: 54px;
    height: 54px;
    padding: 14px;
    border-radius: 999px;
    fill: currentColor;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
}

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

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 999px;
    color: var(--white);
    background: var(--secondary-500);
    font-weight: 800;
}

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

.card-tags {
    margin-bottom: 12px;
}

.card-tags span {
    min-height: 24px;
    padding: 3px 9px;
    font-size: 12px;
}

.card-body h3 {
    margin: 0 0 10px;
    color: var(--gray-900);
    font-size: 19px;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: var(--primary-600);
}

.card-body p {
    display: -webkit-box;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 700;
}

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

.tag-row span {
    color: var(--primary-700);
    background: var(--primary-50);
}

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

.category-tile {
    min-height: 180px;
    padding: 22px;
    border: 1px solid rgba(20, 184, 166, 0.18);
    border-radius: 22px;
    background: linear-gradient(135deg, var(--white), var(--primary-50));
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-panel:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.category-tile strong {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
}

.category-tile span {
    display: block;
    color: var(--gray-600);
    font-size: 14px;
}

.category-tile em {
    display: block;
    margin-top: 16px;
    color: var(--primary-700);
    font-style: normal;
    font-weight: 700;
}

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

.ranking-panel {
    position: sticky;
    top: 88px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
}

.panel-title {
    margin-bottom: 18px;
    font-size: 24px;
    font-weight: 800;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 34px 52px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: var(--white);
}

.rank-row span {
    color: var(--secondary-500);
    font-weight: 800;
}

.rank-row img {
    width: 52px;
    height: 68px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-row strong,
.rank-row em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row em {
    color: var(--gray-500);
    font-style: normal;
    font-size: 13px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--gray-900), var(--primary-700) 58%, var(--accent-600));
}

.small-hero:before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -160px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.page-hero .wrap {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--primary-100);
    background: rgba(255, 255, 255, 0.14);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-hero h1 {
    margin: 0 0 16px;
}

.page-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.74);
    font-weight: 700;
}

.breadcrumb a:hover {
    color: var(--white);
}

.category-panels {
    display: grid;
    gap: 24px;
}

.category-panel {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-panel h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.category-panel p {
    margin: 0 0 18px;
    color: var(--gray-600);
}

.category-panel a {
    color: var(--primary-600);
    font-weight: 800;
}

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

.compact-card {
    position: relative;
    overflow: hidden;
    min-height: 160px;
    border-radius: 18px;
    color: var(--white);
    background: var(--gray-900);
}

.compact-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 0.45s ease;
}

.compact-card span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-chip {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--primary-100);
    border-radius: 999px;
    color: var(--primary-700);
    background: var(--primary-50);
    cursor: pointer;
    font-weight: 800;
}

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

.more-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--gray-200);
}

.more-cats span {
    color: var(--gray-500);
    font-weight: 800;
}

.more-cats a {
    color: var(--primary-600);
    font-weight: 800;
}

.ranking-grid {
    display: grid;
    gap: 16px;
}

.ranking-card {
    display: grid;
    grid-template-columns: 70px 108px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ranking-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--secondary-500), var(--primary-500));
    font-weight: 800;
}

.ranking-card img {
    width: 108px;
    height: 140px;
    border-radius: 16px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.ranking-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.ranking-card p {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--gray-600);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.detail-hero {
    position: relative;
    height: 520px;
    color: var(--white);
    overflow: hidden;
    background: var(--gray-900);
}

.detail-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.12));
}

.detail-hero-content {
    position: absolute;
    left: 50%;
    bottom: 54px;
    z-index: 2;
    transform: translateX(-50%);
}

.detail-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.detail-title-row p {
    max-width: 760px;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
}

.detail-labels {
    margin-bottom: 10px;
}

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

.detail-main,
.detail-side {
    display: grid;
    gap: 24px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--gray-900);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}

.player-shell video {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--gray-900);
    object-fit: contain;
}

.js-play-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.48));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.js-play-cover span {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.js-play-cover:hover span {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.3);
}

.js-play-cover svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
}

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

.detail-copy,
.poster-card,
.info-card {
    padding: 26px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.detail-copy h2,
.info-card h2 {
    margin: 0 0 12px;
    font-size: 26px;
}

.detail-copy p {
    margin: 0 0 22px;
    color: var(--gray-700);
    font-size: 17px;
}

.detail-tags span {
    color: var(--primary-700);
    background: var(--primary-50);
}

.poster-card {
    overflow: hidden;
    padding: 0;
}

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

.poster-card div {
    padding: 18px;
}

.poster-card strong,
.poster-card span {
    display: block;
}

.poster-card strong {
    font-size: 22px;
}

.poster-card span {
    color: var(--gray-500);
    font-weight: 700;
}

.info-card dl {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px 16px;
    margin: 0;
}

.info-card dt {
    color: var(--gray-500);
    font-weight: 800;
}

.info-card dd {
    margin: 0;
    color: var(--gray-800);
    font-weight: 700;
}

.info-card a {
    color: var(--primary-600);
}

.site-footer {
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer-wrap {
    padding: 54px 0 28px;
}

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

.footer-logo {
    color: var(--white);
    font-size: 20px;
}

.footer-brand p,
.site-footer p {
    color: var(--gray-400);
}

.site-footer h3 {
    margin: 0 0 14px;
    color: var(--white);
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a {
    color: var(--gray-300);
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-400);
    text-align: center;
    font-size: 14px;
}

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

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

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

    .split-layout,
    .detail-layout,
    .category-panel,
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .ranking-panel {
        position: static;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .hero,
    .detail-hero {
        height: 560px;
    }

    .hero-content {
        bottom: 70px;
    }

    .hero-arrow {
        display: none;
    }

    .section {
        padding: 52px 0;
    }

    .section-head,
    .detail-title-row {
        display: block;
    }

    .section-link,
    .detail-title-row .btn {
        margin-top: 16px;
    }

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

    .ranking-card {
        grid-template-columns: 46px 82px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .ranking-no {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 13px;
    }

    .ranking-card img {
        width: 82px;
        height: 112px;
    }

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

@media (max-width: 560px) {
    .nav-wrap,
    .wrap,
    .footer-wrap,
    .mobile-nav {
        width: min(100% - 24px, 1280px);
    }

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

    .hero,
    .detail-hero {
        height: 520px;
    }

    .hero-content {
        bottom: 58px;
    }

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

    .hero-line,
    .detail-title-row p {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
    }

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

    .featured-side {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 64px 0;
    }

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

    .ranking-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .detail-copy,
    .poster-card,
    .info-card {
        padding: 20px;
    }

    .poster-card {
        padding: 0;
    }

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