:root {
    --purple-950: #3b0764;
    --purple-900: #581c87;
    --purple-800: #6b21a8;
    --purple-700: #7e22ce;
    --purple-600: #9333ea;
    --purple-500: #a855f7;
    --purple-100: #f3e8ff;
    --purple-50: #faf5ff;
    --pink-500: #ec4899;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #e9d5ff;
    --shadow: 0 24px 70px rgba(88, 28, 135, 0.18);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--purple-50), #ffffff 420px);
}

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: linear-gradient(90deg, var(--purple-700), var(--purple-600), var(--purple-700));
    color: #ffffff;
    box-shadow: 0 10px 32px rgba(88, 28, 135, 0.28);
}

.nav-shell {
    max-width: 1280px;
    height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 30%, #ffffff 0 18%, #d8b4fe 19% 42%, var(--purple-500) 43% 72%, var(--purple-900) 73%);
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.82), 0 12px 30px rgba(0, 0, 0, 0.18);
}

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

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

.desktop-nav a,
.mobile-nav a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    color: #f5d0fe;
    transform: translateY(-1px);
}

.header-search,
.mobile-search {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(126, 34, 206, 0.08);
}

.header-search input,
.mobile-search input,
.search-panel input {
    width: 220px;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 11px 16px;
    color: var(--text);
}

.header-search button,
.mobile-search button,
.search-panel button {
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: var(--purple-600);
    padding: 11px 17px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.search-panel button:hover {
    background: var(--purple-800);
}

.mobile-menu-button {
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    padding: 16px 24px 22px;
    background: var(--purple-800);
}

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

.mobile-search {
    margin-bottom: 8px;
}

.mobile-search input {
    width: 100%;
}

.hero-carousel {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(110deg, var(--purple-800), var(--purple-600) 46%, var(--pink-500));
}

.hero-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.14), transparent 20%), radial-gradient(circle at 82% 76%, rgba(255, 255, 255, 0.12), transparent 24%);
    pointer-events: none;
}

.hero-orbs span {
    position: absolute;
    z-index: 1;
    display: block;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(22px);
}

.hero-orbs span:nth-child(1) {
    width: 170px;
    height: 170px;
    left: 8%;
    top: 18%;
}

.hero-orbs span:nth-child(2) {
    width: 230px;
    height: 230px;
    right: 10%;
    bottom: 16%;
}

.hero-orbs span:nth-child(3) {
    width: 130px;
    height: 130px;
    left: 43%;
    top: 52%;
}

.hero-slide {
    position: relative;
    z-index: 2;
    display: none;
    max-width: 1280px;
    min-height: 620px;
    margin: 0 auto;
    padding: 76px 24px 96px;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
    align-items: center;
    gap: 48px;
}

.hero-slide.is-active {
    display: grid;
    animation: heroFade 0.55s ease both;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    font-size: 14px;
    font-weight: 800;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.hero-copy h2 {
    margin: 16px 0 10px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 850;
}

.hero-copy p,
.page-hero p,
.detail-copy p {
    max-width: 760px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 2.5vw, 24px);
    line-height: 1.7;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.tag-row span {
    border-radius: 999px;
    padding: 8px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 700;
}

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

.primary-button,
.ghost-button,
.section-link,
.category-overview-head a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: var(--purple-700);
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.ghost-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.primary-button:hover,
.ghost-button:hover,
.section-link:hover,
.category-overview-head a:hover {
    transform: translateY(-2px) scale(1.02);
}

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
    box-shadow: 0 40px 100px rgba(31, 7, 54, 0.38);
    transform: rotate(2deg);
}

.hero-poster img,
.poster-frame img,
.category-tile img,
.mini-card img,
.detail-poster img,
.detail-bg img,
.ranking-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.38));
}

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

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

.hero-dot.is-active {
    width: 34px;
    background: #ffffff;
}

.content-section,
.overview-shell,
.ranking-shell,
.search-shell,
.detail-content,
.player-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px;
}

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

.section-heading h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    font-weight: 900;
}

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

.section-link,
.category-overview-head a {
    color: #ffffff;
    background: var(--purple-600);
    white-space: nowrap;
}

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

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(88, 28, 135, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #ede9fe, #fce7f3);
}

.large-card .poster-frame {
    aspect-ratio: 16 / 10;
}

.poster-frame img {
    transition: transform 0.45s ease, opacity 0.2s ease;
}

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

.poster-frame img.is-missing,
.hero-poster img.is-missing,
.category-tile img.is-missing,
.mini-card img.is-missing,
.detail-poster img.is-missing,
.detail-bg img.is-missing,
.ranking-row img.is-missing {
    opacity: 0;
}

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

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

.play-badge,
.genre-pill {
    position: absolute;
    z-index: 2;
}

.play-badge {
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--purple-600);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.25s ease;
}

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

.genre-pill {
    left: 12px;
    top: 12px;
    max-width: calc(100% - 24px);
    padding: 6px 10px;
    overflow: hidden;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(147, 51, 234, 0.9);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-info {
    display: grid;
    gap: 7px;
    padding: 15px;
}

.movie-info strong {
    min-height: 48px;
    color: #111827;
    font-size: 16px;
    line-height: 1.45;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-info span {
    color: var(--muted);
    font-size: 13px;
}

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

.category-tile {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: 28px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--purple-700), var(--pink-500));
    box-shadow: var(--shadow);
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(45, 8, 73, 0.82));
}

.category-tile img {
    position: absolute;
    inset: 0;
    opacity: 0.72;
    transition: transform 0.35s ease;
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile span {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 22px;
}

.category-tile strong {
    display: block;
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 900;
}

.category-tile em {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    font-style: normal;
    line-height: 1.65;
}

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

.rank-list a {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 8px 14px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(88, 28, 135, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-list b {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--purple-600), var(--pink-500));
}

.rank-list span {
    font-weight: 800;
}

.rank-list em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(110deg, var(--purple-800), var(--purple-600), var(--pink-500));
}

.compact-hero {
    padding: 76px 24px;
}

.compact-hero > div {
    max-width: 1280px;
    margin: 0 auto;
}

.overview-shell {
    display: grid;
    gap: 26px;
}

.category-overview-card {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 42px rgba(88, 28, 135, 0.11);
}

.category-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.category-overview-head h2 {
    margin: 0 0 8px;
    font-size: 30px;
}

.category-overview-head p {
    margin: 0;
    color: var(--muted);
}

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

.mini-card {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(216, 180, 254, 0.5);
}

.mini-card img {
    width: 68px;
    height: 90px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ede9fe, #fce7f3);
}

.mini-card strong,
.mini-card em {
    display: block;
}

.mini-card strong {
    line-height: 1.45;
}

.mini-card em {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 64px 78px minmax(0, 1fr) 100px;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(88, 28, 135, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ranking-row b {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--purple-600), var(--pink-500));
}

.ranking-row img {
    width: 78px;
    height: 104px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ede9fe, #fce7f3);
}

.ranking-row strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.ranking-row em {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-style: normal;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ranking-row i {
    justify-self: end;
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--purple-700);
    background: var(--purple-100);
    font-style: normal;
    font-weight: 800;
}

.search-panel {
    display: flex;
    max-width: 760px;
    margin: 0 auto 28px;
    border-radius: 999px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.search-panel input {
    flex: 1;
    width: auto;
    padding: 18px 24px;
}

.search-panel button {
    padding-inline: 32px;
}

.search-status {
    margin-bottom: 26px;
    color: var(--muted);
    text-align: center;
}

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

.detail-bg {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    filter: blur(8px) saturate(1.2);
    transform: scale(1.04);
}

.detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(59, 7, 100, 0.95), rgba(126, 34, 206, 0.76));
}

.detail-shell {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 34px 24px 72px;
}

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

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

.detail-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #ede9fe, #fce7f3);
    box-shadow: 0 28px 80px rgba(20, 0, 34, 0.38);
}

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

.meta-list li {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.meta-list strong {
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
}

.meta-list span {
    font-weight: 800;
}

.player-section {
    padding-top: 38px;
    padding-bottom: 24px;
}

.player-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #05010a;
    box-shadow: 0 30px 90px rgba(20, 0, 34, 0.28);
    aspect-ratio: 16 / 9;
}

.movie-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(147, 51, 234, 0.16), rgba(0, 0, 0, 0.72));
}

.player-wrap.is-playing .player-cover {
    display: none;
}

.player-cover-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 7, 100, 0.46), rgba(0, 0, 0, 0.68));
}

.player-button {
    position: relative;
    z-index: 2;
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--purple-600), var(--pink-500));
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.3);
    font-size: 34px;
    transform: translateX(2px);
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.story-card {
    padding: 30px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 16px 46px rgba(88, 28, 135, 0.12);
}

.story-card h2 {
    margin: 0 0 16px;
    font-size: 28px;
}

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

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

.site-footer {
    margin-top: 50px;
    color: #ffffff;
    background: linear-gradient(180deg, var(--purple-900), var(--purple-950));
}

.footer-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 54px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
}

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

.site-footer p {
    max-width: 460px;
    margin: 0;
    color: #e9d5ff;
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: #e9d5ff;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(216, 180, 254, 0.22);
    padding: 20px 24px 28px;
    color: #e9d5ff;
    text-align: center;
    font-size: 14px;
}

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

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

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

@media (max-width: 900px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-shell {
        height: 66px;
        padding-inline: 18px;
    }

    .hero-slide {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 54px;
        gap: 34px;
    }

    .hero-poster {
        max-width: 380px;
        margin: 0 auto;
        transform: rotate(0deg);
    }

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

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

    .section-heading,
    .category-overview-head {
        align-items: start;
        flex-direction: column;
    }

    .ranking-row {
        grid-template-columns: 52px 70px minmax(0, 1fr);
    }

    .ranking-row i {
        display: none;
    }

    .detail-grid,
    .detail-content,
    .footer-shell {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(100%, 320px);
    }
}

@media (max-width: 560px) {
    .brand-text {
        font-size: 19px;
    }

    .hero-carousel,
    .hero-slide {
        min-height: auto;
    }

    .hero-slide,
    .content-section,
    .overview-shell,
    .ranking-shell,
    .search-shell,
    .detail-content,
    .player-section,
    .detail-shell,
    .compact-hero {
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .hero-copy h2 {
        font-size: 28px;
    }

    .movie-grid,
    .dense-grid,
    .spotlight-grid,
    .category-grid,
    .mini-grid,
    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .movie-info {
        padding: 12px;
    }

    .movie-info strong {
        min-height: 44px;
        font-size: 14px;
    }

    .category-tile {
        min-height: 168px;
    }

    .category-tile strong {
        font-size: 22px;
    }

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

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

    .meta-list {
        grid-template-columns: 1fr;
    }

    .player-wrap {
        border-radius: 20px;
    }

    .player-button {
        width: 72px;
        height: 72px;
        font-size: 26px;
    }

    .story-card {
        padding: 22px;
    }
}
