:root {
    --pink: #ec4899;
    --rose: #f43f5e;
    --purple: #8b5cf6;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --green: #10b981;
    --yellow: #f59e0b;
    --orange: #f97316;
    --indigo: #6366f1;
    --violet: #a855f7;
    --text: #1f2937;
    --muted: #6b7280;
    --soft: #fff7fb;
    --line: rgba(236, 72, 153, 0.18);
    --shadow: 0 20px 50px rgba(129, 58, 143, 0.16);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #fff1f7 0%, #f5efff 48%, #eff6ff 100%);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 26px rgba(142, 77, 150, 0.12);
}

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

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

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.32);
    font-size: 15px;
    padding-left: 2px;
}

.brand-text {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
    -webkit-background-clip: text;
    color: transparent;
}

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

.desktop-nav > a,
.nav-dropdown > button {
    border: 0;
    background: transparent;
    color: #374151;
    cursor: pointer;
    padding: 9px 0;
    transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.is-active,
.nav-dropdown > button:hover {
    color: var(--pink);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 190px;
    padding: 10px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #4b5563;
}

.dropdown-panel a:hover {
    color: var(--pink);
    background: linear-gradient(90deg, #fff1f7, #f5efff);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.filter-bar input {
    border: 2px solid #fbcfe8;
    border-radius: 999px;
    padding: 10px 16px;
    outline: none;
    background: #ffffff;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 210px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-bar input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.header-search button,
.mobile-search button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 10px 24px rgba(168, 85, 247, 0.25);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-button span {
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: #374151;
    margin: 0 auto;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0 18px;
    border-top: 1px solid rgba(236, 72, 153, 0.16);
}

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

.mobile-panel > a {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.66);
}

.mobile-search {
    display: flex;
    gap: 8px;
}

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

.hero-shell {
    position: relative;
    overflow: hidden;
    min-height: 620px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 24%),
        radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.45), transparent 28%),
        linear-gradient(120deg, #db2777, #7c3aed, #2563eb);
    animation: gradientMove 10s ease infinite alternate;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.hero-frame {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: center;
    gap: 42px;
    opacity: 0;
    transform: translateX(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

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

.hero-content {
    color: #ffffff;
    max-width: 680px;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffe4f1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
}

.hero-content h1 {
    font-size: clamp(42px, 8vw, 82px);
    line-height: 1.02;
    margin: 16px 0 20px;
    letter-spacing: -3px;
}

.hero-content p {
    margin: 0;
    max-width: 640px;
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

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

.primary-button,
.ghost-button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    min-height: 46px;
    padding: 0 26px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 16px 34px rgba(236, 72, 153, 0.3);
}

.ghost-button {
    min-height: 46px;
    padding: 0 24px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.primary-button:hover,
.ghost-button:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(17, 24, 39, 0.36);
    transform: rotate(3deg);
}

.hero-poster::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
}

.hero-dots {
    position: absolute;
    left: 0;
    bottom: 76px;
    display: flex;
    gap: 12px;
}

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

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

.category-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
    z-index: 5;
    margin-top: -70px;
    margin-bottom: 54px;
}

.category-tile,
.category-overview-main {
    display: flex;
    min-height: 132px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border-radius: 24px;
    color: #ffffff;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 0 26px 70px rgba(129, 58, 143, 0.24);
}

.category-tile span,
.category-overview-main span {
    font-size: 22px;
    font-weight: 900;
}

.category-tile em,
.category-overview-main p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.6;
    font-style: normal;
    color: rgba(255, 255, 255, 0.88);
}

.tile-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.tile-rose { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.tile-purple { background: linear-gradient(135deg, #8b5cf6, #d946ef); }
.tile-orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.tile-yellow { background: linear-gradient(135deg, #f59e0b, #f97316); }
.tile-green { background: linear-gradient(135deg, #10b981, #22c55e); }
.tile-blue { background: linear-gradient(135deg, #3b82f6, #6366f1); }
.tile-cyan { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.tile-indigo { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.tile-violet { background: linear-gradient(135deg, #a855f7, #ec4899); }

.soft-section,
.pastel-section,
.split-section,
.detail-content {
    margin-bottom: 62px;
}

.soft-section,
.pastel-section,
.rank-panel,
.content-card,
.filter-bar,
.player-section {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.soft-section,
.pastel-section {
    padding: 30px;
}

.pastel-section {
    background: linear-gradient(135deg, rgba(255, 241, 247, 0.9), rgba(245, 239, 255, 0.9), rgba(239, 246, 255, 0.9));
}

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

.section-heading h2,
.page-hero h1,
.detail-info h1 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    background: linear-gradient(90deg, #db2777, #7c3aed, #2563eb);
    -webkit-background-clip: text;
    color: transparent;
}

.section-heading .eyebrow,
.page-hero .eyebrow,
.detail-info .eyebrow,
.player-section .eyebrow {
    color: var(--pink);
}

.text-link {
    min-height: 40px;
    padding: 0 18px;
    color: var(--pink);
    background: #ffffff;
    border: 1px solid #fbcfe8;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(129, 58, 143, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(129, 58, 143, 0.2);
}

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

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

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

.poster-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent 54%);
    opacity: 0.76;
}

.play-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--pink);
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0;
    transition: 0.25s ease;
    padding-left: 3px;
}

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

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.34);
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.movie-card h3 {
    margin: 10px 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: var(--pink);
}

.movie-card p {
    margin: 0 0 14px;
    min-height: 44px;
    color: #5b6472;
    line-height: 1.6;
    font-size: 14px;
}

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

.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: #be185d;
    background: #fce7f3;
    font-size: 12px;
    font-weight: 700;
}

.rank-panel {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.rank-panel-large {
    grid-template-columns: repeat(2, 1fr);
}

.rank-item {
    display: grid;
    grid-template-columns: 44px 64px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #fff7fb);
    border: 1px solid var(--line);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(129, 58, 143, 0.16);
}

.rank-number {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.rank-item img {
    width: 64px;
    height: 86px;
    border-radius: 12px;
    object-fit: cover;
    background: #fce7f3;
}

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

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

.rank-info strong {
    font-size: 17px;
}

.rank-info em {
    margin-top: 6px;
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
}

.rank-heat {
    color: var(--pink);
    font-weight: 900;
}

.page-hero,
.detail-hero {
    position: relative;
    padding: 74px 0;
    overflow: hidden;
}

.compact-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.3), transparent 24%),
        linear-gradient(120deg, #db2777, #7c3aed, #2563eb);
}

.compact-hero h1,
.compact-hero .eyebrow {
    color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
}

.compact-hero p,
.category-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
}

.category-hero h1,
.category-hero .eyebrow {
    color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
}

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

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

.filter-bar {
    margin: -28px auto 34px;
    position: relative;
    z-index: 2;
    display: grid;
    gap: 16px;
    padding: 22px;
}

.filter-bar input {
    width: 100%;
    min-height: 48px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-row button {
    border: 1px solid #fbcfe8;
    border-radius: 999px;
    min-height: 36px;
    padding: 0 16px;
    color: #be185d;
    background: #fff1f7;
    cursor: pointer;
}

.chip-row button:hover,
.chip-row button.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.category-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin: 48px auto 64px;
}

.category-overview-card {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.category-overview-main {
    min-height: 180px;
    box-shadow: none;
    border-radius: 0;
}

.category-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: rgba(255, 255, 255, 0.18);
}

.category-preview img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.2);
}

.detail-hero {
    background:
        radial-gradient(circle at 80% 10%, rgba(236, 72, 153, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 251, 0.88));
}

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

.detail-poster {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(129, 58, 143, 0.22);
    background: linear-gradient(135deg, #ffe4f1, #e0e7ff);
}

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

.detail-info .breadcrumb {
    color: #6b7280;
}

.detail-info .breadcrumb a:hover {
    color: var(--pink);
}

.lead-text {
    font-size: 20px;
    line-height: 1.8;
    color: #4b5563;
    margin: 18px 0;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.detail-meta span {
    padding: 12px 14px;
    border-radius: 16px;
    color: #4b5563;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
}

.detail-tags {
    margin-bottom: 26px;
}

.player-section {
    padding: 28px;
    margin-top: 44px;
    margin-bottom: 44px;
}

.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 26px 70px rgba(17, 24, 39, 0.3);
}

.player-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
    cursor: pointer;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.3), rgba(17, 24, 39, 0.68));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--pink);
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.25);
    padding-left: 5px;
    font-size: 28px;
}

.play-overlay strong {
    font-size: 20px;
}

.play-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.content-card {
    padding: 28px;
}

.content-card h2 {
    margin: 0 0 14px;
    font-size: 26px;
    color: #be185d;
}

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

.site-footer {
    margin-top: 70px;
    color: #ffffff;
    background: linear-gradient(120deg, #db2777, #7c3aed, #2563eb);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 30px;
    padding: 48px 0;
}

.footer-brand {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 14px;
}

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

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

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

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

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

.footer-bottom {
    text-align: center;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.78);
}

@keyframes gradientMove {
    from {
        filter: hue-rotate(0deg);
        transform: scale(1);
    }
    to {
        filter: hue-rotate(18deg);
        transform: scale(1.04);
    }
}

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

    .mobile-menu-button {
        display: flex;
        margin-left: auto;
    }

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 310px;
    }

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

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

@media (max-width: 820px) {
    .hero-shell,
    .hero-frame {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 28px;
    }

    .hero-poster {
        width: min(280px, 76vw);
        margin: 0 auto;
        transform: rotate(0deg);
    }

    .hero-dots {
        bottom: 34px;
    }

    .category-strip,
    .category-overview-grid,
    .detail-content,
    .footer-grid,
    .rank-panel,
    .rank-panel-large {
        grid-template-columns: 1fr;
    }

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

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

    .detail-poster {
        max-width: 320px;
        margin: 0 auto;
    }
}

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

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

    .hero-content h1 {
        letter-spacing: -1px;
    }

    .hero-content p,
    .lead-text {
        font-size: 17px;
    }

    .category-strip {
        grid-template-columns: 1fr;
        margin-top: -42px;
    }

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

    .soft-section,
    .pastel-section,
    .rank-panel,
    .player-section {
        padding: 18px;
        border-radius: 22px;
    }

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

    .rank-item {
        grid-template-columns: 36px 58px minmax(0, 1fr);
    }

    .rank-heat {
        grid-column: 3;
    }
}
