:root {
    --pink: #ec4899;
    --sky: #38bdf8;
    --emerald: #34d399;
    --purple: #a855f7;
    --text: #1f2937;
    --muted: #6b7280;
    --soft: #f9fafb;
    --line: #e5e7eb;
    --card: rgba(255, 255, 255, 0.86);
    --shadow: 0 24px 70px rgba(236, 72, 153, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(236, 72, 153, 0.12), transparent 28rem),
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 30rem),
        linear-gradient(135deg, rgba(253, 242, 248, 0.65), #ffffff 38%, rgba(240, 249, 255, 0.75));
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.76);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

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

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

.brand-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--sky), var(--emerald));
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.28);
}

.brand-name,
.footer-brand span:last-child {
    font-size: 21px;
    background: linear-gradient(90deg, var(--pink), var(--sky), var(--emerald));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.desktop-nav a,
.mobile-panel a {
    color: #4b5563;
    font-weight: 600;
    transition: color 0.25s ease, transform 0.25s ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
    color: var(--pink);
    transform: translateY(-1px);
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid transparent;
    transition: border 0.25s ease, background 0.25s ease;
}

.header-search:focus-within {
    border-color: rgba(236, 72, 153, 0.32);
    background: #ffffff;
}

.header-search input {
    width: 220px;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 10px 12px 10px 18px;
}

.header-search button,
.mobile-search button,
.hero-search button,
.page-filter button {
    border: 0;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(90deg, var(--pink), var(--sky));
    padding: 10px 18px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    border: 0;
    background: #ffffff;
    color: #374151;
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
    gap: 14px;
    flex-direction: column;
}

.mobile-panel.is-open {
    display: flex;
}

.mobile-search {
    display: flex;
    overflow: hidden;
    border-radius: 18px;
    background: #f3f4f6;
}

.mobile-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 12px 14px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    display: flex;
    align-items: center;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
    gap: 36px;
    align-items: center;
    padding: 80px 0 56px;
}

.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(20px);
    opacity: 0.28;
}

.hero-glow-a {
    left: -130px;
    top: 40px;
    background: var(--pink);
}

.hero-glow-b {
    right: -120px;
    bottom: 0;
    background: var(--sky);
}

.floating-symbols span {
    position: absolute;
    z-index: 1;
    color: rgba(236, 72, 153, 0.24);
    font-size: 28px;
    animation: float 14s ease-in-out infinite;
}

.floating-symbols span:nth-child(1) { left: 8%; top: 20%; animation-delay: 0s; }
.floating-symbols span:nth-child(2) { left: 24%; top: 72%; animation-delay: 2s; }
.floating-symbols span:nth-child(3) { right: 18%; top: 12%; animation-delay: 4s; }
.floating-symbols span:nth-child(4) { right: 7%; top: 58%; animation-delay: 1s; }
.floating-symbols span:nth-child(5) { left: 48%; top: 14%; animation-delay: 3s; }
.floating-symbols span:nth-child(6) { right: 38%; bottom: 10%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-24px) rotate(8deg); }
}

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

.hero-title-block h1 {
    margin: 18px 0 22px;
    font-size: clamp(40px, 5.6vw, 74px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    background: linear-gradient(90deg, var(--pink), var(--sky), var(--emerald));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title-block p {
    margin: 0 0 28px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.85;
}

.hero-search,
.page-filter {
    display: flex;
    overflow: hidden;
    max-width: 560px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(229, 231, 235, 0.82);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.hero-search input,
.page-filter input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 16px 20px;
}

.hero-search button,
.page-filter button {
    padding-inline: 24px;
}

.hero-carousel {
    position: relative;
    min-height: 460px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 24px;
    align-items: center;
    padding: 28px;
    opacity: 0;
    pointer-events: none;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.55));
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    transform: translateY(22px) scale(0.98);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

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

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

.hero-copy p {
    color: #4b5563;
    line-height: 1.85;
    margin: 0 0 18px;
}

.hero-tags,
.detail-tags,
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    color: #be185d;
    background: rgba(252, 231, 243, 0.86);
    font-size: 12px;
    font-weight: 700;
}

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

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

.primary-btn {
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink), var(--sky));
    padding: 13px 22px;
    box-shadow: 0 16px 36px rgba(236, 72, 153, 0.28);
}

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

.ghost-btn {
    color: #374151;
    background: rgba(255, 255, 255, 0.86);
    padding: 12px 20px;
    border: 1px solid rgba(229, 231, 235, 0.9);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

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

.hero-poster:hover img {
    transform: scale(1.05);
}

.hero-poster span {
    position: absolute;
    left: 16px;
    top: 16px;
    color: #ffffff;
    background: rgba(236, 72, 153, 0.9);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hero-dots {
    position: absolute;
    left: 30px;
    bottom: 26px;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(156, 163, 175, 0.55);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 30px;
    background: linear-gradient(90deg, var(--pink), var(--sky));
}

.section-wrap,
.detail-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0;
}

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

.section-head.left-only {
    justify-content: flex-start;
}

.section-head h2,
.page-hero h1,
.detail-content h1 {
    margin: 8px 0 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-link,
.text-link {
    color: var(--pink);
    font-weight: 800;
}

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

.category-tile {
    position: relative;
    min-height: 184px;
    overflow: hidden;
    border-radius: 24px;
    padding: 22px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.movie-card:hover,
.category-overview-card:hover,
.rank-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(236, 72, 153, 0.14);
}

.category-emoji {
    display: inline-flex;
    font-size: 34px;
    margin-bottom: 18px;
}

.category-tile strong,
.category-overview-card h2 {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
}

.category-tile em,
.category-overview-card p {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    font-style: normal;
}

.category-tile img {
    position: absolute;
    right: -20px;
    bottom: -24px;
    width: 118px;
    height: 90px;
    object-fit: cover;
    border-radius: 18px;
    opacity: 0.26;
    transform: rotate(-8deg);
}

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.14), rgba(56, 189, 248, 0.14));
}

.card-cover img,
.compact-cover img,
.rank-cover img,
.poster-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover .card-cover img,
.compact-card:hover img,
.rank-card:hover img {
    transform: scale(1.06);
}

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-weight: 900;
}

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

.cover-label {
    position: absolute;
    right: 12px;
    bottom: 12px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    padding: 6px 9px;
}

.card-body {
    padding: 18px;
}

.card-meta,
.card-stats,
.compact-top,
.rank-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
}

.card-meta span:first-child,
.compact-top span:last-child {
    color: var(--pink);
    font-weight: 800;
}

.movie-card h2,
.compact-card h2,
.rank-card h2 {
    margin: 10px 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h2 a:hover,
.compact-card h2 a:hover,
.rank-card h2 a:hover {
    color: var(--pink);
}

.movie-card p,
.compact-card p,
.rank-card p {
    color: #5f6777;
    line-height: 1.72;
    font-size: 14px;
    margin: 0 0 14px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 34px;
    align-items: start;
}

.ranking-list,
.wide-grid,
.rank-grid {
    display: grid;
    gap: 16px;
}

.compact-card,
.rank-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    border-radius: 18px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.compact-cover,
.rank-cover {
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 1 / 1.18;
}

.rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 24px;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pink), var(--sky));
    font-weight: 900;
}

.inline-btn {
    margin-top: 20px;
}

.wide-grid .movie-card-wide {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
}

.movie-card-wide .card-cover {
    aspect-ratio: auto;
    height: 100%;
}

.movie-card-wide .card-body h2 {
    font-size: 20px;
}

.page-hero {
    background: linear-gradient(90deg, rgba(236, 72, 153, 0.12), rgba(56, 189, 248, 0.13), rgba(52, 211, 153, 0.11));
    padding: 74px 0;
}

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

.page-hero p {
    max-width: 760px;
    color: #5f6777;
    line-height: 1.86;
    font-size: 17px;
}

.category-page-hero .page-filter,
.search-page-hero .page-filter {
    margin-top: 26px;
}

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

.category-overview-card {
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-link {
    display: block;
    padding: 28px;
}

.thumb-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.thumb-row img {
    width: 100%;
    aspect-ratio: 1 / 1.2;
    object-fit: cover;
    border-radius: 14px;
}

.category-overview-card strong {
    color: var(--pink);
}

.category-movie-grid {
    align-items: stretch;
}

.rank-grid .rank-card {
    grid-template-columns: 150px minmax(0, 1fr);
}

.rank-card .rank-cover {
    aspect-ratio: 16 / 12;
}

.detail-shell {
    padding-top: 28px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    margin-bottom: 24px;
    font-size: 14px;
}

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

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

.detail-main,
.detail-side > div,
.text-panel {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.player-card {
    background: #0f172a;
}

.movie-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #020617;
    overflow: hidden;
}

.player-video,
.player-cover,
.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.player-video {
    z-index: 1;
    object-fit: contain;
    background: #020617;
}

.player-cover {
    z-index: 2;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #020617;
    overflow: hidden;
}

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

.player-cover img {
    object-fit: cover;
    opacity: 0.72;
    filter: saturate(1.08);
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.18), rgba(2, 6, 23, 0.48));
}

.big-play {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    color: var(--pink);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.25);
    font-size: 36px;
    line-height: 1;
}

.detail-content {
    padding: 28px;
}

.detail-one-line {
    margin: 18px 0;
    color: #4b5563;
    line-height: 1.86;
    font-size: 17px;
}

.text-panel {
    padding: 24px;
    margin-top: 24px;
    box-shadow: none;
    border: 1px solid rgba(229, 231, 235, 0.78);
}

.text-panel h2,
.info-panel h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.text-panel p {
    margin: 0;
    color: #4b5563;
    line-height: 1.95;
}

.soft-panel {
    background: linear-gradient(135deg, rgba(253, 242, 248, 0.88), rgba(240, 249, 255, 0.88));
}

.detail-side {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 96px;
}

.poster-panel {
    padding: 14px;
}

.poster-panel img {
    aspect-ratio: 3 / 4;
    border-radius: 20px;
}

.info-panel {
    padding: 24px;
}

.info-panel dl {
    margin: 0;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    font-size: 14px;
}

.info-panel dt {
    color: var(--muted);
}

.info-panel dd {
    margin: 0;
    color: #374151;
    font-weight: 700;
}

.full-btn {
    width: 100%;
    margin-top: 22px;
}

.related-wrap {
    padding-top: 10px;
}

.search-results-section {
    min-height: 460px;
}

.no-result {
    grid-column: 1 / -1;
    border-radius: 24px;
    background: #ffffff;
    padding: 44px;
    color: var(--muted);
    text-align: center;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.site-footer {
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(253, 242, 248, 0.86), rgba(240, 249, 255, 0.86), rgba(236, 253, 245, 0.86));
    border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 34px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
}

.footer-grid p {
    color: var(--muted);
    line-height: 1.8;
    max-width: 420px;
}

.footer-grid h2 {
    margin: 0 0 16px;
    font-size: 18px;
}

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

.footer-links a {
    color: #4b5563;
}

.footer-links a:hover {
    color: var(--pink);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 26px;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid rgba(229, 231, 235, 0.9);
}

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

@media (max-width: 1024px) {
    .hero-inner,
    .split-section,
    .detail-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-carousel {
        min-height: 500px;
    }

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

    .detail-side {
        position: static;
        grid-template-columns: 260px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .header-inner {
        height: 64px;
    }

    .desktop-nav,
    .header-search {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-inner {
        padding: 48px 0 34px;
        grid-template-columns: 1fr;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        min-height: auto;
        position: relative;
        display: none;
    }

    .hero-slide.is-active {
        display: grid;
    }

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

    .hero-poster,
    .hero-poster img {
        min-height: 280px;
    }

    .hero-dots {
        position: static;
        margin-top: 16px;
        justify-content: center;
    }

    .hero-search,
    .page-filter {
        border-radius: 22px;
        flex-direction: column;
    }

    .hero-search button,
    .page-filter button {
        width: 100%;
        padding: 13px;
    }

    .section-wrap,
    .detail-shell {
        padding: 42px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .wide-grid .movie-card-wide,
    .rank-grid .rank-card,
    .compact-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .movie-card-wide .card-cover {
        min-height: 100%;
    }

    .rank-card .rank-cover {
        aspect-ratio: 1 / 1.2;
    }

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

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

    .info-panel dl {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .footer-grid {
        gap: 22px;
    }
}

@media (max-width: 520px) {
    .brand-name {
        font-size: 18px;
    }

    .hero-title-block h1 {
        font-size: 38px;
    }

    .hero-slide {
        padding: 20px;
        border-radius: 24px;
    }

    .card-body,
    .detail-content,
    .text-panel,
    .info-panel {
        padding: 18px;
    }

    .big-play {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }
}
