:root {
    --pink: #ec4899;
    --pink-dark: #db2777;
    --orange: #f97316;
    --orange-soft: #ffedd5;
    --rose-soft: #fdf2f8;
    --purple-soft: #f5f3ff;
    --blue-soft: #eff6ff;
    --gray-950: #101018;
    --gray-900: #1f2937;
    --gray-800: #374151;
    --gray-700: #4b5563;
    --gray-600: #6b7280;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(236, 72, 153, 0.16);
    --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.1);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 48%, #fff7ed 100%);
    color: var(--gray-800);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

img {
    background: linear-gradient(135deg, #fdf2f8, #fff7ed);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 247, 251, 0.88);
    border-bottom: 1px solid rgba(236, 72, 153, 0.12);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.08);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1280px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--pink-dark);
    white-space: nowrap;
}

.logo-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 16px;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    box-shadow: 0 10px 26px rgba(236, 72, 153, 0.35);
}

.logo-text {
    font-size: 24px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link,
.mobile-link {
    color: var(--gray-700);
    font-weight: 700;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: var(--pink-dark);
}

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

.header-search,
.mobile-search,
.large-search,
.search-page-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search input,
.mobile-search input,
.large-search input,
.search-page-form input {
    width: 240px;
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 999px;
    padding: 11px 16px;
    color: var(--gray-800);
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: border 0.25s ease, box-shadow 0.25s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.large-search input:focus,
.search-page-form input:focus {
    border-color: rgba(236, 72, 153, 0.62);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.header-search button,
.mobile-search button,
.large-search button,
.search-page-form button,
.primary-button,
.row-button {
    border-radius: 999px;
    padding: 11px 18px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.large-search button:hover,
.search-page-form button:hover,
.primary-button:hover,
.row-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(236, 72, 153, 0.3);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--pink-dark);
}

.mobile-menu {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

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

.mobile-link {
    display: block;
    padding: 12px 4px;
}

.hero-slider {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: linear-gradient(135deg, #fdf2f8, #fff7ed);
}

.hero-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: center;
    gap: 54px;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    transform: translateX(-50%);
    isolation: isolate;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: -60px;
    background-image: linear-gradient(90deg, rgba(255, 247, 251, 0.96), rgba(255, 247, 251, 0.76), rgba(255, 247, 251, 0.92)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(14px) saturate(1.1);
    transform: scale(1.04);
    z-index: -2;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: -60px;
    background: radial-gradient(circle at 20% 25%, rgba(236, 72, 153, 0.18), transparent 32%), radial-gradient(circle at 75% 30%, rgba(249, 115, 22, 0.16), transparent 28%);
    z-index: -1;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-copy {
    padding-top: 38px;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    border-radius: 999px;
    padding: 7px 14px;
    color: var(--pink-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 18px rgba(236, 72, 153, 0.1);
}

.hero-copy h1 {
    max-width: 720px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.055em;
    background: linear-gradient(135deg, #db2777, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 680px;
    margin-top: 22px;
    color: var(--gray-700);
    font-size: clamp(18px, 2.4vw, 25px);
    line-height: 1.72;
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags {
    margin-top: 24px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--pink-dark);
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(236, 72, 153, 0.16);
}

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

.ghost-button {
    border: 1px solid rgba(236, 72, 153, 0.26);
    border-radius: 999px;
    padding: 11px 18px;
    color: var(--pink-dark);
    font-weight: 900;
    background: rgba(255, 255, 255, 0.74);
    transition: background 0.25s ease, transform 0.25s ease;
}

.ghost-button:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 34px 70px rgba(219, 39, 119, 0.24);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

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

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

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(219, 39, 119, 0.24);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 36px;
    background: linear-gradient(135deg, var(--pink), var(--orange));
}

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

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

.section-head h2,
.page-hero h1,
.detail-card h1,
.prose-card h2,
.side-card h2 {
    color: var(--gray-900);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-head h2 {
    font-size: clamp(28px, 3.4vw, 40px);
}

.section-head a {
    color: var(--pink-dark);
    font-weight: 900;
}

.intro-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
    align-items: center;
    gap: 34px;
}

.intro-copy {
    border-radius: var(--radius-xl);
    padding: 34px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}

.intro-copy h2 {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.intro-copy p {
    margin-top: 12px;
    color: var(--gray-600);
    line-height: 1.9;
}

.large-search {
    justify-content: flex-end;
}

.large-search input {
    width: min(100%, 480px);
    padding: 16px 20px;
}

.large-search button {
    padding: 16px 24px;
}

.tinted-section,
.ranking-panel,
.editor-panel,
.search-panel,
.ranking-section {
    border-radius: 34px;
    padding: 38px;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.75), rgba(255, 255, 255, 0.86));
    box-shadow: var(--shadow-soft);
}

.feature-grid,
.movie-grid,
.category-grid,
.category-overview-grid,
.compact-grid,
.related-grid {
    display: grid;
    gap: 22px;
}

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

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

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

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

.compact-grid,
.compact-list {
    display: grid;
    gap: 16px;
}

.movie-card,
.feature-card,
.category-overview-card,
.detail-card,
.side-card,
.ranking-row {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(236, 72, 153, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.movie-card,
.feature-card {
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover,
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(236, 72, 153, 0.18);
}

.movie-cover,
.feature-cover,
.compact-cover,
.ranking-thumb {
    position: relative;
    display: block;
    overflow: hidden;
}

.movie-cover img,
.feature-cover img,
.ranking-thumb img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.movie-cover img {
    height: 238px;
}

.feature-cover img {
    height: 340px;
}

.movie-card:hover img,
.feature-card:hover img,
.ranking-row:hover img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    border-radius: 999px;
    padding: 6px 11px;
    color: var(--gray-800);
    font-size: 12px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

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

.movie-card h3,
.feature-card h3,
.compact-card h3,
.ranking-row h2 {
    font-weight: 900;
    line-height: 1.35;
}

.movie-card h3,
.feature-card h3 {
    font-size: 18px;
}

.movie-card h3 a:hover,
.feature-card h3 a:hover,
.compact-card h3 a:hover,
.ranking-row h2 a:hover {
    color: var(--pink-dark);
}

.movie-card p,
.feature-card p,
.ranking-info p {
    margin-top: 10px;
    color: var(--gray-600);
    line-height: 1.72;
}

.movie-card p,
.feature-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    color: var(--gray-600);
    font-size: 13px;
}

.movie-meta span {
    border-radius: 999px;
    padding: 5px 9px;
    background: var(--gray-100);
}

.category-tile,
.category-main-link {
    display: flex;
    flex-direction: column;
    min-height: 170px;
    border-radius: 28px;
    padding: 24px;
    color: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-main-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

.category-tile span,
.category-main-link span {
    font-size: 36px;
}

.category-tile strong,
.category-main-link h2 {
    margin-top: 18px;
    font-size: 26px;
    font-weight: 950;
}

.category-tile em,
.category-main-link em {
    margin-top: 8px;
    font-style: normal;
    opacity: 0.88;
}

.tile-1,
.tile-9 {
    background: linear-gradient(135deg, #ec4899, #fb7185);
}

.tile-2,
.tile-10 {
    background: linear-gradient(135deg, #f97316, #f59e0b);
}

.tile-3 {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.tile-4 {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.tile-5 {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.tile-6 {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.tile-7 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.tile-8 {
    background: linear-gradient(135deg, #db2777, #f43f5e);
}

.split-section {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
}

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

.ranking-list li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(236, 72, 153, 0.1);
}

.ranking-list span,
.ranking-number {
    color: var(--pink-dark);
    font-weight: 950;
}

.ranking-list a {
    min-width: 0;
    overflow: hidden;
    color: var(--gray-900);
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-list em {
    color: var(--gray-600);
    font-style: normal;
    font-size: 13px;
}

.compact-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.compact-cover img {
    width: 118px;
    height: 76px;
    border-radius: 14px;
    object-fit: cover;
}

.compact-card p {
    margin-top: 6px;
    color: var(--gray-600);
    font-size: 13px;
}

.page-hero {
    position: relative;
    width: min(1280px, calc(100% - 32px));
    margin: 44px auto 0;
    overflow: hidden;
    border-radius: 36px;
    padding: clamp(42px, 7vw, 78px);
    color: var(--gray-900);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(253, 242, 248, 0.84)), radial-gradient(circle at 80% 10%, rgba(249, 115, 22, 0.18), transparent 30%);
    box-shadow: var(--shadow-soft);
}

.page-hero h1 {
    max-width: 760px;
    font-size: clamp(38px, 5vw, 64px);
}

.page-hero p {
    max-width: 760px;
    margin-top: 16px;
    color: var(--gray-600);
    font-size: 18px;
    line-height: 1.85;
}

.category-overview-card {
    overflow: hidden;
}

.category-main-link {
    min-height: 230px;
    border-radius: 0;
}

.category-main-link p {
    margin-top: 10px;
    line-height: 1.75;
    opacity: 0.94;
}

.category-samples {
    display: grid;
    gap: 10px;
    padding: 18px 22px 22px;
}

.category-samples a {
    color: var(--gray-700);
    font-weight: 750;
}

.category-samples a:hover {
    color: var(--pink-dark);
}

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

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

.ranking-row {
    display: grid;
    grid-template-columns: 64px 130px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
}

.ranking-number {
    font-size: 24px;
}

.ranking-thumb {
    border-radius: 16px;
}

.ranking-thumb img {
    width: 130px;
    height: 88px;
}

.row-button {
    padding: 9px 15px;
}

.search-page-form {
    margin-bottom: 18px;
}

.search-page-form input {
    width: min(100%, 680px);
    padding: 15px 18px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.filter-tabs button {
    border-radius: 999px;
    padding: 9px 14px;
    color: var(--gray-700);
    font-weight: 850;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(236, 72, 153, 0.12);
}

.filter-tabs button.active,
.filter-tabs button:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--orange));
}

.search-status {
    margin-bottom: 20px;
    color: var(--gray-600);
    font-weight: 700;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--gray-600);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--pink-dark);
    font-weight: 800;
}

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

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.25);
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.36), rgba(219, 39, 119, 0.24));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-play {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding-left: 5px;
    font-size: 32px;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    box-shadow: 0 20px 42px rgba(236, 72, 153, 0.42);
}

.player-overlay strong {
    font-size: 19px;
    letter-spacing: 0.08em;
}

.detail-card,
.side-card {
    padding: 24px;
}

.detail-card h1 {
    font-size: clamp(30px, 4.2vw, 50px);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.detail-meta span {
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--pink-dark);
    font-weight: 850;
    background: var(--rose-soft);
}

.detail-one-line {
    color: var(--gray-700);
    font-size: 18px;
    line-height: 1.8;
}

.detail-tags {
    margin-top: 18px;
}

.prose-card h2,
.side-card h2 {
    margin-bottom: 14px;
    font-size: 24px;
}

.prose-card p {
    color: var(--gray-700);
    line-height: 2;
}

.prose-card p + p {
    margin-top: 14px;
}

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

.full-button {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    margin-top: 16px;
}

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

.site-footer {
    margin-top: 40px;
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 30px;
    padding: 48px 0;
}

.footer-logo {
    color: #ffffff;
}

.footer-brand p,
.footer-col p {
    margin-top: 16px;
    color: #9ca3af;
    line-height: 1.8;
}

.footer-col h2 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

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

.footer-col a:hover {
    color: #f9a8d4;
}

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    color: #9ca3af;
    font-size: 14px;
}

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

    .mobile-toggle {
        display: flex;
    }

    .hero-slide,
    .intro-search-panel,
    .split-section,
    .detail-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        min-height: 880px;
    }

    .hero-slide {
        gap: 28px;
        align-content: center;
    }

    .hero-poster img {
        height: 360px;
    }

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

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

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

    .logo-text {
        font-size: 20px;
    }

    .mobile-search {
        align-items: stretch;
        flex-direction: column;
    }

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

    .hero-slider {
        min-height: 810px;
    }

    .hero-slide {
        padding: 18px 0 76px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-copy p {
        font-size: 17px;
    }

    .hero-poster {
        border-radius: 24px;
        transform: none;
    }

    .hero-poster img {
        height: 310px;
    }

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

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

    .tinted-section,
    .ranking-panel,
    .editor-panel,
    .search-panel,
    .ranking-section {
        padding: 24px;
        border-radius: 24px;
    }

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

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

    .ranking-row .row-button {
        grid-column: 2 / -1;
        width: fit-content;
    }

    .ranking-thumb img {
        width: 92px;
        height: 72px;
    }

    .page-hero {
        margin-top: 26px;
        padding: 30px 22px;
        border-radius: 24px;
    }

    .search-page-form,
    .large-search {
        align-items: stretch;
        flex-direction: column;
    }

    .search-page-form input,
    .large-search input {
        width: 100%;
    }

    .detail-card,
    .side-card {
        padding: 20px;
    }

    .footer-inner {
        padding: 36px 0;
    }
}

@media (max-width: 480px) {
    .movie-cover img {
        height: 220px;
    }

    .feature-cover img {
        height: 300px;
    }

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

    .compact-cover img {
        width: 98px;
        height: 68px;
    }
}
