:root {
    --bg: #f6f8ff;
    --panel: #ffffff;
    --panel-soft: rgba(255, 255, 255, 0.82);
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(148, 163, 184, 0.28);
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f97316;
    --pink: #ec4899;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 12px 34px rgba(15, 23, 42, 0.10);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.16), transparent 28%),
        var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #8b5cf6 48%, #ec4899);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.30);
}

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

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

.nav-link,
.mobile-link {
    color: #475569;
    font-weight: 700;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
    padding: 10px 18px;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 14px;
    background: #eef2ff;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: #1e293b;
}

.mobile-nav {
    display: none;
    padding: 0 20px 16px;
}

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

.mobile-link {
    padding: 12px 16px;
}

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    color: #ffffff;
}

.hero-backgrounds,
.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg {
    opacity: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: opacity 0.7s ease, transform 4s ease;
}

.hero-bg.active {
    opacity: 1;
    transform: scale(1);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 20%, rgba(236, 72, 153, 0.34), transparent 26%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.88));
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.78fr);
    gap: 60px;
    align-items: center;
    min-height: 760px;
    padding: 84px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: #bfdbfe;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.hero-copy h1 {
    max-width: 760px;
    font-size: clamp(44px, 7vw, 82px);
}

.hero-lead {
    max-width: 660px;
    margin: 24px 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.hero-search {
    display: flex;
    width: min(620px, 100%);
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    color: #ffffff;
    border: 0;
    outline: 0;
    padding: 14px 18px;
    background: transparent;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.hero-search button,
.btn {
    border: 0;
    border-radius: 999px;
    font-weight: 900;
}

.hero-search button {
    color: #ffffff;
    padding: 12px 22px;
    background: linear-gradient(135deg, #f97316, #ec4899);
}

.hero-panels {
    position: relative;
    min-height: 220px;
    margin-top: 34px;
}

.hero-panel {
    position: absolute;
    inset: 0 auto auto 0;
    width: min(620px, 100%);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-kicker {
    color: #fed7aa;
    font-weight: 900;
}

.hero-panel h2 {
    margin: 10px 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
}

.hero-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

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

.hero-meta {
    margin-top: 18px;
}

.hero-meta span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #8b5cf6 55%, #ec4899);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
}

.btn-ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
}

.hero-stage {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(18px);
}

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

.hero-poster {
    position: relative;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 138px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    opacity: 0.74;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.hero-poster:hover,
.hero-poster.active {
    opacity: 1;
    transform: translateX(-4px);
    background: rgba(255, 255, 255, 0.20);
}

.hero-poster img {
    width: 110px;
    height: 138px;
    object-fit: cover;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.28);
}

.hero-poster span {
    font-size: 17px;
    font-weight: 900;
}

.hero-controls {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.hero-controls button {
    flex: 1;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.10);
}

.section {
    padding: 76px 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(238, 242, 255, 0.72));
}

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

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

.section-heading p {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--muted);
}

.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    color: var(--primary);
    font-weight: 900;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    background: #ffffff;
}

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

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.category-card {
    min-height: 250px;
    padding: 22px;
    color: #ffffff;
}

.category-card::after,
.category-overview-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.76));
}

.category-card img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.32s ease;
}

.category-card:hover img {
    transform: scale(1.12);
}

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

.category-card span {
    display: block;
    margin-top: 132px;
    font-size: 22px;
    font-weight: 900;
}

.category-card p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.26);
    box-shadow: var(--shadow);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #fce7f3);
}

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

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

.year-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    z-index: 3;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    color: #ffffff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(12px);
}

.year-badge {
    left: 12px;
}

.rank-badge {
    right: 12px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

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

.movie-card h3,
.ranking-info h2,
.content-card h2 {
    margin: 0;
    letter-spacing: -0.03em;
}

.movie-card h3 {
    font-size: 19px;
    line-height: 1.25;
}

.movie-card h3 a:hover,
.ranking-info h2 a:hover,
.category-overview-card h2 a:hover {
    color: var(--primary);
}

.movie-card p,
.ranking-info p,
.content-card p,
.detail-lead {
    color: var(--muted);
}

.movie-card p {
    min-height: 72px;
    margin: 10px 0 14px;
}

.card-meta {
    color: #64748b;
    font-size: 13px;
}

.card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    color: #475569;
    border-radius: 999px;
    background: #eef2ff;
    font-size: 12px;
    font-weight: 800;
}

.compact-card {
    display: grid;
    grid-template-columns: 116px 1fr;
}

.compact-card .movie-cover {
    aspect-ratio: auto;
    height: 100%;
    min-height: 176px;
}

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

.compact-card p {
    min-height: auto;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
    margin-bottom: 28px;
}

.search-box,
.select-box {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.search-box input,
.select-box select {
    width: 100%;
    min-height: 50px;
    color: var(--text);
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 18px;
    outline: 0;
    padding: 0 16px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus,
.select-box select:focus {
    border-color: rgba(37, 99, 235, 0.56);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #0f172a;
}

.compact-hero {
    padding: 90px 0;
    background:
        radial-gradient(circle at 18% 10%, rgba(37, 99, 235, 0.50), transparent 28%),
        radial-gradient(circle at 80% 16%, rgba(236, 72, 153, 0.42), transparent 28%),
        linear-gradient(135deg, #0f172a, #1e3a8a);
}

.page-hero h1 {
    max-width: 820px;
    font-size: clamp(38px, 6vw, 68px);
}

.page-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.95;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 110px 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

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

.breadcrumb span::before,
.breadcrumb a + span::before {
    content: "/";
    margin-right: 8px;
    opacity: 0.55;
}

.category-overview-grid {
    display: grid;
    gap: 22px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 18px;
}

.category-overview-card::after {
    display: none;
}

.category-visual {
    display: block;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 16 / 10;
}

.category-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overview-card h2 {
    margin: 10px 0;
    font-size: 28px;
}

.category-overview-card p {
    color: var(--muted);
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.category-samples a {
    padding: 8px 12px;
    color: #1e40af;
    border-radius: 999px;
    background: #eff6ff;
    font-weight: 800;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 92px 58px minmax(0, 1fr) 96px;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.ranking-cover {
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 2 / 3;
}

.ranking-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-number {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 18px;
    background: linear-gradient(135deg, #f97316, #ec4899);
    font-size: 20px;
    font-weight: 900;
}

.ranking-info h2 {
    font-size: 22px;
}

.ranking-info p {
    margin: 8px 0 10px;
}

.ranking-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    font-weight: 900;
}

.detail-hero {
    min-height: 640px;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.10), #0f172a 96%);
}

.detail-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    padding: 96px 0 82px;
}

.detail-poster {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

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

.detail-copy h1 {
    max-width: 880px;
    font-size: clamp(42px, 6vw, 78px);
}

.detail-lead {
    max-width: 820px;
    margin: 22px 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 19px;
}

.detail-tags span {
    color: #dbeafe;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.12);
}

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

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

.player-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.player-heading h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #020617;
    box-shadow: 0 34px 90px rgba(15, 23, 42, 0.28);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 14px;
    color: #ffffff;
    border: 0;
    background:
        radial-gradient(circle at center, rgba(37, 99, 235, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
}

.play-icon {
    width: 82px;
    height: 82px;
    position: relative;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #ec4899);
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.34);
}

.play-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    width: 0;
    height: 0;
    transform: translate(-40%, -50%);
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 24px solid #ffffff;
}

.player-overlay strong {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

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

.content-card {
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.content-card h2 {
    font-size: 26px;
}

.content-card p {
    margin-bottom: 0;
    font-size: 16px;
}

.site-footer {
    padding: 44px 0;
    color: #cbd5e1;
    background: #0f172a;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
}

.footer-brand {
    color: #ffffff;
}

.site-footer p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #94a3b8;
}

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

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

.from-blue,
.from-orange,
.from-violet,
.from-cyan,
.from-pink,
.from-red,
.from-emerald,
.from-amber,
.from-indigo,
.from-teal {
    isolation: isolate;
}

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

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

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

    .hero-stage {
        max-width: 760px;
    }
}

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

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
    }

    .hero-layout {
        min-height: auto;
        padding: 64px 0 46px;
        gap: 28px;
    }

    .hero-search,
    .hero-actions,
    .section-heading,
    .footer-grid {
        align-items: stretch;
        flex-direction: column;
    }

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

    .hero-search button {
        min-height: 48px;
    }

    .hero-panels {
        min-height: 320px;
    }

    .hero-poster {
        grid-template-columns: 86px 1fr;
        min-height: 118px;
    }

    .hero-poster img {
        width: 86px;
        height: 108px;
    }

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

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .compact-card {
        grid-template-columns: 104px 1fr;
    }

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

    .detail-layout {
        gap: 26px;
        padding: 62px 0;
    }

    .detail-poster {
        width: min(280px, 78vw);
    }

    .ranking-number {
        width: 44px;
        height: 44px;
    }

    .ranking-play {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .section {
        padding: 54px 0;
    }

    .header-inner {
        height: 64px;
    }

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

    .hero-copy h1,
    .page-hero h1,
    .detail-copy h1 {
        letter-spacing: -0.04em;
    }

    .hero-stage,
    .content-card {
        border-radius: 22px;
    }
}
