* {
    box-sizing: border-box;
}

:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-800: #1f2937;
    --gray-900: #0f172a;
    --cyan-50: #ecfeff;
    --cyan-100: #cffafe;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --teal-500: #14b8a6;
    --emerald-500: #10b981;
    --rose-500: #f43f5e;
    --amber-500: #f59e0b;
    --violet-500: #8b5cf6;
    --pink-500: #ec4899;
    --indigo-500: #6366f1;
    --white: #ffffff;
    --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.16);
    --radius-lg: 18px;
    --radius-xl: 26px;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    color: var(--gray-900);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
    color: var(--white);
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(18px);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 22px;
    white-space: nowrap;
}

.logo-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.35);
}

.logo-mark svg {
    width: 22px;
    height: 22px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 10px 14px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-1px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-search {
    position: relative;
    width: 260px;
}

.header-search input {
    width: 100%;
    height: 40px;
    padding: 0 46px 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: var(--white);
    outline: none;
    background: rgba(51, 65, 85, 0.9);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.header-search input:focus {
    background: rgba(51, 65, 85, 1);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25);
}

.header-search button {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
    color: var(--white);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0 18px;
}

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

.mobile-panel a {
    display: block;
    padding: 12px 4px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-slider {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    background: var(--slate-950);
    color: var(--white);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.74) 42%, rgba(2, 6, 23, 0.26) 100%);
}

.hero-content {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    padding: 90px 0;
}

.hero-copy {
    width: min(680px, 100%);
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(6, 182, 212, 0.26);
}

.hero-copy h1 {
    margin: 22px 0 18px;
    font-size: clamp(42px, 6.4vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero-copy p {
    margin: 0 0 28px;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-meta,
.movie-meta,
.inline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hero-meta {
    margin-bottom: 28px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 650;
    backdrop-filter: blur(12px);
}

.pill.light {
    background: var(--gray-100);
    color: var(--gray-700);
}

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
    box-shadow: 0 14px 32px rgba(6, 182, 212, 0.3);
}

.btn-soft {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.btn-soft:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-light {
    color: var(--cyan-600);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.hero-controls {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.hero-control,
.hero-dot {
    border: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.hero-control {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    opacity: 0.66;
}

.hero-dot.is-active {
    width: 28px;
    opacity: 1;
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
}

.stats-section {
    padding: 36px 0;
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
    color: var(--white);
}

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

.stat-card {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
}

.stat-value {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.stat-label {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
}

.section {
    padding: 76px 0;
}

.section.alt {
    background: linear-gradient(180deg, var(--gray-50), var(--white));
}

.section.tint {
    background: linear-gradient(135deg, var(--cyan-50), #eff6ff, #f0fdfa);
}

.section.dark-cta {
    background: linear-gradient(135deg, var(--cyan-600), var(--blue-600), var(--teal-500));
    color: var(--white);
}

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

.section-title h2,
.page-heading h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.section-title p,
.page-heading p {
    margin: 8px 0 0;
    color: var(--gray-500);
    font-size: 16px;
}

.section.dark-cta .section-title p,
.section.dark-cta .page-heading p {
    color: rgba(255, 255, 255, 0.82);
}

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

.category-card {
    position: relative;
    min-height: 158px;
    overflow: hidden;
    padding: 22px;
    border-radius: var(--radius-xl);
    color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.category-card::before {
    content: "";
    position: absolute;
    inset: -30%;
    opacity: 0.24;
    background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.95), transparent 30%);
}

.category-card h3 {
    position: relative;
    margin: 14px 0 8px;
    font-size: 20px;
}

.category-card p {
    position: relative;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.55;
}

.category-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
}

.tone-blue {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.tone-cyan {
    background: linear-gradient(135deg, #0891b2, #14b8a6);
}

.tone-violet {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.tone-rose {
    background: linear-gradient(135deg, #f43f5e, #ec4899);
}

.tone-emerald {
    background: linear-gradient(135deg, #059669, #10b981);
}

.tone-amber {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.tone-slate {
    background: linear-gradient(135deg, #0f172a, #475569);
}

.tone-pink {
    background: linear-gradient(135deg, #db2777, #8b5cf6);
}

.tone-teal {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.tone-indigo {
    background: linear-gradient(135deg, #4f46e5, #2563eb);
}

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.28);
    box-shadow: var(--shadow-lg);
}

.poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--slate-900);
}

.poster.tall {
    aspect-ratio: 3 / 4;
}

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

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

.poster::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.65));
}

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

.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(2, 6, 23, 0.72);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.card-body {
    padding: 18px;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
    font-size: 12px;
    font-weight: 750;
}

.movie-card h3,
.rank-card h3,
.related-card h3 {
    margin: 10px 0 8px;
    color: var(--gray-900);
    font-size: 18px;
    line-height: 1.32;
    transition: color 0.2s ease;
}

.movie-card:hover h3,
.rank-card:hover h3,
.related-card:hover h3 {
    color: var(--cyan-600);
}

.card-desc {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--gray-500);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--gray-500);
    font-size: 12px;
}

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

.horizontal-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    overflow: hidden;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.horizontal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.horizontal-card .poster {
    border-radius: 14px;
}

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

.rank-card {
    position: relative;
    display: grid;
    grid-template-columns: 136px 1fr;
    gap: 16px;
    overflow: hidden;
    padding: 12px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.85);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.rank-number {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
    font-weight: 900;
    box-shadow: 0 12px 22px rgba(6, 182, 212, 0.28);
}

.page-hero {
    padding: 62px 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan-600), var(--blue-600), var(--teal-500));
}

.page-hero.slate {
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

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

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

.filter-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.filter-input {
    width: min(520px, 100%);
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    outline: none;
    transition: box-shadow 0.2s ease, border 0.2s ease;
}

.filter-input:focus {
    border-color: rgba(6, 182, 212, 0.55);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.13);
}

.chip {
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    color: var(--gray-700);
    background: var(--white);
    transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.chip:hover,
.chip.is-active {
    border-color: transparent;
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
}

.no-results {
    display: none;
    padding: 60px 20px;
    text-align: center;
    color: var(--gray-500);
}

.no-results.is-visible {
    display: block;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
    gap: 28px;
    align-items: start;
}

.detail-card,
.sidebar-card {
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
}

.detail-content {
    padding: 28px;
}

.detail-content h1 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.detail-content h2,
.detail-content h3,
.sidebar-card h2 {
    margin: 0 0 12px;
    color: var(--gray-900);
}

.info-block {
    margin-top: 24px;
}

.info-block p {
    margin: 0;
    color: var(--gray-700);
    font-size: 16px;
}

.review-box {
    padding: 18px;
    border-left: 4px solid var(--cyan-500);
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan-50), #eff6ff);
    color: var(--gray-700);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tag-list span {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 13px;
}

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

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

.play-layer {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.72));
}

.play-layer.is-hidden {
    display: none;
}

.play-button {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
    box-shadow: 0 22px 54px rgba(6, 182, 212, 0.35);
    transition: transform 0.24s ease;
}

.play-layer:hover .play-button {
    transform: scale(1.08);
}

.player-message {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 5;
    display: none;
    max-width: calc(100% - 36px);
    transform: translateX(-50%);
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(2, 6, 23, 0.72);
    font-size: 13px;
}

.player-message.is-visible {
    display: block;
}

.sidebar-card {
    position: sticky;
    top: 96px;
    padding: 22px;
}

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

.related-card {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 14px;
    transition: background 0.2s ease;
}

.related-card:hover {
    background: var(--gray-50);
}

.related-card .poster {
    border-radius: 12px;
    aspect-ratio: 16 / 10;
}

.related-card h3 {
    margin: 0 0 5px;
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-card p {
    margin: 0;
    color: var(--gray-500);
    font-size: 12px;
}

.site-footer {
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800), var(--slate-900));
    color: var(--white);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 34px;
    padding: 50px 0;
}

.footer-inner h3 {
    margin: 0 0 14px;
    font-size: 16px;
}

.footer-inner p,
.footer-inner a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
}

.footer-inner a:hover {
    color: var(--cyan-400);
}

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

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.52);
    font-size: 13px;
}

.hidden-card {
    display: none !important;
}

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

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

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

    .mobile-menu-button {
        display: grid;
        place-items: center;
    }

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

    .detail-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        position: static;
    }

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

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

    .logo span:last-child {
        font-size: 18px;
    }

    .hero-slider,
    .hero-content {
        min-height: 68vh;
    }

    .hero-content {
        padding: 64px 0 96px;
    }

    .hero-controls {
        left: 12px;
        right: auto;
        bottom: 20px;
    }

    .section {
        padding: 52px 0;
    }

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

    .category-grid,
    .movie-grid,
    .movie-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .horizontal-card,
    .rank-card {
        grid-template-columns: 128px 1fr;
    }

    .card-body {
        padding: 14px;
    }

    .movie-card h3 {
        font-size: 16px;
    }

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

@media (max-width: 460px) {
    .category-grid,
    .movie-grid,
    .movie-grid.compact {
        grid-template-columns: 1fr;
    }

    .horizontal-card,
    .rank-card,
    .related-card {
        grid-template-columns: 112px 1fr;
    }

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

    .detail-content {
        padding: 20px;
    }
}
