:root {
    color-scheme: dark;
    --dark-900: #141618;
    --dark-850: #1a1d23;
    --dark-800: #24272c;
    --dark-700: #353940;
    --primary-500: #1890ff;
    --primary-400: #40a9ff;
    --primary-300: #69c0ff;
    --secondary-500: #13c2c2;
    --secondary-400: #36cfc9;
    --text-100: #ffffff;
    --text-200: #e5e7eb;
    --text-300: #d1d5db;
    --text-400: #9ca3af;
    --text-500: #6b7280;
    --border: rgba(255, 255, 255, 0.09);
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(24, 144, 255, 0.16), transparent 32rem), var(--dark-900);
    color: var(--text-200);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(36, 39, 44, 0.95);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark,
.footer-logo span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    box-shadow: 0 10px 28px rgba(24, 144, 255, 0.35);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    color: white;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-copy em {
    margin-top: 4px;
    color: var(--text-400);
    font-size: 12px;
    font-style: normal;
}

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

.nav-link {
    color: var(--text-300);
    font-weight: 650;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-400);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: white;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(20, 22, 24, 0.94);
}

.mobile-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--text-300);
}

.mobile-nav a:hover {
    background: var(--dark-700);
    color: white;
}

.hero-carousel {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
    background: var(--dark-900);
}

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

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

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 22, 24, 0.94) 0%, rgba(20, 22, 24, 0.66) 36%, rgba(20, 22, 24, 0.14) 70%), linear-gradient(0deg, var(--dark-900) 0%, rgba(20, 22, 24, 0.36) 44%, transparent 76%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1180px, calc(100% - 32px));
    transform: translate(-50%, -44%);
    max-width: 760px;
    margin-left: calc((100% - min(1180px, calc(100% - 32px))) / 2);
    animation: slideUp 0.7s ease both;
}

.hero-pill,
.section-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid rgba(24, 144, 255, 0.5);
    border-radius: 999px;
    background: rgba(24, 144, 255, 0.16);
    color: var(--primary-300);
    font-size: 13px;
    font-weight: 700;
}

.hero-content h1,
.hero-content h2 {
    margin: 18px 0 10px;
    color: white;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.03;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-title-line {
    display: block;
    margin: 0 0 16px;
    color: var(--primary-300);
    font-size: clamp(20px, 3vw, 30px);
}

.hero-content p {
    max-width: 680px;
    margin: 0;
    color: var(--text-300);
    font-size: clamp(16px, 2vw, 19px);
}

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

.hero-meta span,
.detail-meta span {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-300);
    font-size: 14px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

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

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    box-shadow: 0 16px 32px rgba(24, 144, 255, 0.24);
}

.btn-ghost {
    color: white;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 32px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateX(-50%);
}

.hero-controls button {
    border: 0;
    cursor: pointer;
}

.hero-controls > button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    color: white;
    font-size: 28px;
    backdrop-filter: blur(12px);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
}

.hero-dot.active {
    width: 30px;
    background: var(--primary-400);
}

.hero-search {
    position: absolute;
    right: max(16px, calc((100vw - 1180px) / 2));
    bottom: 32px;
    z-index: 6;
    display: flex;
    width: min(410px, calc(100% - 32px));
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(20, 22, 24, 0.72);
    backdrop-filter: blur(16px);
}

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

.hero-search button {
    border: 0;
    border-radius: 12px;
    background: var(--primary-500);
    color: white;
    cursor: pointer;
    padding: 10px 16px;
    font-weight: 750;
}

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

.first-section {
    padding-top: 56px;
}

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

.section-head h2 {
    margin: 12px 0 6px;
    color: white;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 0;
    color: var(--text-400);
    max-width: 720px;
}

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

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

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

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

.movie-card {
    min-width: 0;
    animation: fadeIn 0.45s ease both;
}

.movie-card a {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(36, 39, 44, 0.88);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

.movie-card a:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(24, 144, 255, 0.45);
    box-shadow: var(--shadow);
}

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

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.08) 62%);
    opacity: 0.95;
}

.category-badge,
.duration-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 9px;
    color: white;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.category-badge {
    top: 10px;
    left: 10px;
    background: rgba(24, 144, 255, 0.82);
}

.duration-badge {
    top: 10px;
    right: 10px;
    background: rgba(20, 22, 24, 0.82);
}

.rank-badge {
    left: 10px;
    bottom: 10px;
    min-width: 34px;
    text-align: center;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.hover-play {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    color: white;
    font-size: 28px;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: scale(0.92);
}

.movie-card a:hover .hover-play {
    opacity: 1;
    transform: scale(1);
}

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

.movie-card-body h2,
.movie-card-body h3 {
    display: -webkit-box;
    min-height: 3.1em;
    margin: 0 0 8px;
    overflow: hidden;
    color: white;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 800;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card a:hover h2,
.movie-card a:hover h3 {
    color: var(--primary-300);
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 3.1em;
    margin: 0 0 13px;
    overflow: hidden;
    color: var(--text-400);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    color: var(--text-500);
    font-size: 13px;
}

.rating {
    color: #facc15;
    font-weight: 850;
}

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

.category-tile {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background-size: cover;
    background-position: center;
    padding: 22px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, border 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(24, 144, 255, 0.48);
}

.category-tile span {
    color: white;
    font-size: 24px;
    font-weight: 900;
}

.category-tile strong {
    color: var(--text-300);
    font-size: 14px;
    font-weight: 500;
}

.page-main,
.detail-main {
    min-height: 100vh;
}

.page-hero {
    background: linear-gradient(180deg, rgba(36, 39, 44, 0.95), rgba(20, 22, 24, 0));
}

.small-hero {
    padding: 128px 0 40px;
}

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

.page-hero h1 {
    margin: 18px 0 10px;
    color: white;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--text-400);
    font-size: 18px;
}

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

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

.filter-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(36, 39, 44, 0.82);
}

.search-box {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 220px;
    gap: 10px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(20, 22, 24, 0.78);
}

.search-box span {
    color: var(--primary-300);
    font-size: 22px;
}

.search-box input {
    width: 100%;
    height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: white;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-300);
    cursor: pointer;
    padding: 10px 14px;
    font-weight: 700;
}

.filter-chip.active,
.filter-chip:hover {
    border-color: rgba(24, 144, 255, 0.52);
    color: white;
    background: rgba(24, 144, 255, 0.26);
}

.empty-state {
    display: none;
    margin: 26px 0 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text-400);
    background: rgba(36, 39, 44, 0.78);
    text-align: center;
}

.empty-state.show {
    display: block;
}

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

.category-overview-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: rgba(36, 39, 44, 0.82);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.category-cover {
    display: flex;
    min-height: 210px;
    align-items: end;
    padding: 24px;
    background-size: cover;
    background-position: center;
}

.category-cover span {
    color: white;
    font-size: 30px;
    font-weight: 900;
}

.category-overview-body {
    padding: 22px;
}

.category-overview-body h2 {
    margin: 0 0 10px;
    color: white;
}

.category-overview-body p {
    margin: 0 0 16px;
    color: var(--text-400);
}

.sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.sample-links a {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-300);
    padding: 6px 10px;
    font-size: 13px;
}

.detail-hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    padding: 126px 0 70px;
}

.detail-bg,
.detail-overlay {
    position: absolute;
    inset: 0;
}

.detail-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
    transform: scale(1.04);
}

.detail-overlay {
    background: linear-gradient(90deg, rgba(20, 22, 24, 0.96), rgba(20, 22, 24, 0.76), rgba(20, 22, 24, 0.28)), linear-gradient(0deg, var(--dark-900), rgba(20, 22, 24, 0.22));
}

.detail-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

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

.detail-poster {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--dark-800);
    box-shadow: var(--shadow);
}

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

.detail-info h1 {
    margin: 18px 0 14px;
    color: white;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.lead {
    max-width: 760px;
    margin: 0;
    color: var(--text-300);
    font-size: 18px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 24px;
}

.tag-row span {
    border: 1px solid rgba(19, 194, 194, 0.4);
    border-radius: 999px;
    background: rgba(19, 194, 194, 0.12);
    color: var(--secondary-400);
    padding: 7px 11px;
    font-size: 13px;
    font-weight: 750;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: black;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    background: black;
    object-fit: contain;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: white;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.12));
    cursor: pointer;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-circle {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    box-shadow: 0 18px 48px rgba(24, 144, 255, 0.35);
    font-size: 28px;
    text-indent: 4px;
}

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

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

.prose-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: rgba(36, 39, 44, 0.78);
    padding: clamp(22px, 4vw, 34px);
}

.prose-card h2 {
    margin: 0 0 14px;
    color: white;
    font-size: 26px;
}

.prose-card p {
    margin: 0 0 14px;
    color: var(--text-300);
    font-size: 16px;
}

.prose-card p:last-child {
    margin-bottom: 0;
}

.accent-card {
    background: linear-gradient(135deg, rgba(24, 144, 255, 0.12), rgba(19, 194, 194, 0.1));
}

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

.info-list div {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(20, 22, 24, 0.5);
    padding: 14px;
}

.info-list dt {
    color: var(--text-500);
    font-size: 13px;
}

.info-list dd {
    margin: 6px 0 0;
    color: white;
    font-weight: 800;
}

.genre-row {
    margin-bottom: 0;
}

.site-footer {
    margin-top: 80px;
    border-top: 1px solid var(--border);
    background: rgba(20, 22, 24, 0.88);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    padding: 42px 0 28px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 20px;
}

.footer-brand p {
    max-width: 520px;
    color: var(--text-400);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 18px;
}

.footer-links a {
    color: var(--text-400);
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding: 20px 0 28px;
    color: var(--text-500);
    font-size: 14px;
}

.hidden-card {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-850);
}

::-webkit-scrollbar-thumb {
    background: #464c56;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5b6370;
}

@media (max-width: 1100px) {
    .desktop-nav {
        gap: 12px;
    }

    .nav-link {
        font-size: 14px;
    }

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

@media (max-width: 920px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .site-header.is-open .mobile-nav {
        display: block;
    }

    .hero-content {
        width: calc(100% - 32px);
        margin-left: 0;
        transform: translate(-50%, -48%);
    }

    .hero-search {
        left: 16px;
        right: 16px;
        bottom: 92px;
        width: auto;
    }

    .hero-controls {
        bottom: 30px;
    }

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

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

    .detail-poster {
        max-width: 360px;
    }

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

@media (max-width: 640px) {
    .nav-shell {
        height: 66px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

    .brand-copy em {
        display: none;
    }

    .hero-carousel {
        min-height: 88vh;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 40px;
    }

    .hero-meta,
    .detail-meta {
        gap: 8px;
    }

    .hero-meta span,
    .detail-meta span {
        padding: 6px 9px;
        font-size: 12px;
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-search input {
        min-height: 42px;
    }

    .section-head,
    .filter-panel {
        flex-direction: column;
        align-items: stretch;
    }

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

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

    .movie-card-body h2,
    .movie-card-body h3 {
        font-size: 15px;
    }

    .movie-card-body p {
        font-size: 13px;
    }

    .detail-hero {
        padding-top: 100px;
    }

    .detail-poster {
        max-width: 250px;
    }

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

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    .movie-grid,
    .feature-grid,
    .ranking-grid,
    .related-grid,
    .all-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }
}
