:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --stone-50: #fafaf9;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --orange-600: #ea580c;
    --rose-500: #f43f5e;
    --pink-500: #ec4899;
    --cyan-500: #06b6d4;
    --teal-500: #14b8a6;
    --blue-500: #3b82f6;
    --indigo-500: #6366f1;
    --emerald-500: #10b981;
    --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.12);
    --shadow-hover: 0 28px 70px rgba(15, 23, 42, 0.2);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--slate-800);
    background: linear-gradient(135deg, #f8fafc 0%, #fafaf9 45%, #f1f5f9 100%);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    color: #fff;
    background: rgba(15, 23, 42, 0.94);
    border-bottom: 1px solid rgba(251, 191, 36, 0.22);
    backdrop-filter: blur(16px);
}

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

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.28);
    transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-4deg);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 21px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--amber-400), #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    color: var(--slate-300);
    font-size: 12px;
    white-space: nowrap;
}

.brand.compact .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
}

.brand.compact .brand-text strong {
    color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

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

.nav-link,
.mobile-nav a {
    border-radius: 12px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link {
    padding: 10px 16px;
    color: #fff;
    font-weight: 650;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--amber-400);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.mobile-nav {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.98);
}

.mobile-nav nav {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0 16px;
    display: grid;
    gap: 6px;
}

.mobile-nav a {
    padding: 12px 14px;
    color: #fff;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--amber-400);
}

main {
    min-height: 62vh;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 20% 18%, rgba(245, 158, 11, 0.24), transparent 28%), linear-gradient(135deg, #0f172a 0%, #1c1917 48%, #1e293b 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
}

.hero-inner {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: 640px;
    margin: 0 auto;
    padding: 76px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 46px;
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 24px;
}

.hero-kicker,
.section-kicker,
.page-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fef3c7;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero h1 span {
    color: var(--amber-400);
}

.hero p {
    margin: 0;
    max-width: 650px;
    color: var(--slate-300);
    font-size: 19px;
    line-height: 1.85;
}

.hero-actions,
.inline-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: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 18px 40px rgba(245, 158, 11, 0.28);
}

.btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-light {
    color: var(--slate-900);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

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

.hero-search {
    width: min(100%, 640px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.hero-search input,
.search-panel input {
    width: 100%;
    border: 0;
    outline: none;
    color: inherit;
    background: transparent;
}

.hero-search input {
    padding: 0 16px;
    color: #fff;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.66);
}

.hero-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-categories a {
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--slate-200);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: color 0.25s ease, background 0.25s ease;
}

.hero-categories a:hover {
    color: #fff;
    background: rgba(245, 158, 11, 0.32);
}

.hero-stage {
    position: relative;
}

.hero-glow {
    position: absolute;
    inset: -8px;
    border-radius: 30px;
    opacity: 0.72;
    filter: blur(10px);
    background: linear-gradient(90deg, var(--amber-500), var(--orange-600));
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.38);
}

.hero-slide {
    display: none;
    min-height: 500px;
}

.hero-slide.active {
    display: grid;
    animation: fadeRise 0.6s ease both;
}

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

.hero-slide-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 12px;
    padding: 130px 26px 26px;
    color: #fff;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.44), transparent);
}

.hero-slide-info strong {
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.12;
}

.hero-slide-info em {
    max-width: 520px;
    color: var(--slate-200);
    font-style: normal;
    line-height: 1.7;
}

.slide-meta,
.meta-row,
.detail-meta,
.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.slide-meta span,
.meta-row span,
.detail-meta span,
.rank-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.slide-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.carousel-dots {
    position: absolute;
    right: 22px;
    bottom: 24px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.carousel-dots button.active {
    width: 26px;
    background: var(--amber-400);
}

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

.section-band {
    background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 100%);
}

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

.section-heading h2,
.page-heading h1 {
    margin: 8px 0 0;
    color: var(--slate-800);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.section-kicker,
.page-kicker {
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
}

.section-more {
    flex: 0 0 auto;
    color: #b45309;
    font-weight: 800;
}

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

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

.movie-card {
    display: grid;
    overflow: hidden;
    min-width: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.movie-grid.featured-grid .movie-card {
    grid-column: span 2;
}

.movie-grid.featured-grid .card-featured {
    grid-column: span 3;
}

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

.card-featured .card-image {
    aspect-ratio: 21 / 9;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.7s ease;
}

.movie-card:hover .card-image img {
    transform: scale(1.1);
}

.card-shade {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.16), transparent);
    transition: opacity 0.35s ease;
}

.movie-card:hover .card-shade {
    opacity: 1;
}

.card-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: var(--amber-500);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.4);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.35s ease;
}

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

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(10px);
}

.card-body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.card-body strong {
    color: var(--slate-800);
    font-size: 18px;
    line-height: 1.35;
    transition: color 0.25s ease;
}

.movie-card:hover .card-body strong {
    color: #b45309;
}

.card-body em {
    min-height: 44px;
    color: var(--slate-600);
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.meta-row {
    color: var(--slate-500);
    font-size: 12px;
}

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

.tag-row span,
.detail-tags span {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 8px;
    color: var(--slate-600);
    font-size: 12px;
    font-weight: 700;
    background: var(--slate-100);
}

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

.category-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 18px;
    min-height: 230px;
    padding: 26px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:nth-child(3n + 1) {
    background: linear-gradient(135deg, #0f172a, #7c2d12);
}

.category-card:nth-child(3n + 2) {
    background: linear-gradient(135deg, #1e293b, #0f766e);
}

.category-card:nth-child(3n + 3) {
    background: linear-gradient(135deg, #111827, #6d28d9);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.category-card h2,
.category-card h3,
.category-card p {
    margin: 0;
}

.category-card h2,
.category-card h3 {
    font-size: 25px;
}

.category-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.category-card .mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-links span {
    max-width: 100%;
    padding: 6px 10px;
    overflow: hidden;
    border-radius: 999px;
    color: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: rgba(255, 255, 255, 0.12);
}

.page-hero {
    color: #fff;
    background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.2), transparent 30%), linear-gradient(135deg, #0f172a 0%, #1c1917 52%, #1e293b 100%);
}

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

.page-hero h1 {
    margin: 12px 0 14px;
    max-width: 850px;
    font-size: clamp(36px, 6vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--slate-300);
    font-size: 18px;
    line-height: 1.8;
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px;
    margin-bottom: 28px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.search-panel input {
    min-height: 46px;
    padding: 0 16px;
    color: var(--slate-800);
}

.search-panel button {
    border: 0;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 74px 150px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.rank-number {
    color: var(--amber-500);
    font-size: 34px;
    font-weight: 900;
    text-align: center;
}

.rank-item img {
    width: 150px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
}

.rank-content {
    display: grid;
    gap: 8px;
}

.rank-content strong {
    color: var(--slate-800);
    font-size: 19px;
}

.rank-content p {
    margin: 0;
    color: var(--slate-600);
    line-height: 1.6;
}

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

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

.breadcrumb a {
    color: #b45309;
    font-weight: 800;
}

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

.detail-main,
.detail-side,
.content-box {
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.detail-main {
    overflow: hidden;
}

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.74), rgba(2, 6, 23, 0.2));
    cursor: pointer;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

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

.player-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.player-button {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 14px;
    place-items: center;
}

.player-button span:first-child {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    font-size: 28px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 22px 55px rgba(245, 158, 11, 0.42);
}

.player-button span:last-child {
    font-size: 17px;
    font-weight: 850;
}

.detail-content {
    display: grid;
    gap: 20px;
    padding: 28px;
}

.detail-content h1 {
    margin: 0;
    color: var(--slate-800);
    font-size: clamp(30px, 5vw, 50px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.detail-content .one-line {
    margin: 0;
    color: var(--slate-600);
    font-size: 18px;
    line-height: 1.8;
}

.detail-meta span {
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--slate-600);
    font-size: 13px;
    font-weight: 750;
    background: var(--slate-100);
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.content-box {
    padding: 26px;
    margin-top: 24px;
}

.content-box h2,
.detail-side h2 {
    margin: 0 0 14px;
    color: var(--slate-800);
    font-size: 24px;
}

.content-box p {
    margin: 0;
    color: var(--slate-700);
    line-height: 1.9;
}

.detail-side {
    position: sticky;
    top: 96px;
    padding: 22px;
}

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

.side-item {
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.side-item img {
    width: 98px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}

.side-item strong {
    display: block;
    color: var(--slate-800);
    line-height: 1.35;
}

.side-item span {
    display: block;
    margin-top: 5px;
    color: var(--slate-500);
    font-size: 12px;
}

.site-footer {
    color: var(--slate-300);
    background: linear-gradient(135deg, var(--slate-900), #1c1917, var(--slate-900));
    border-top: 1px solid rgba(245, 158, 11, 0.22);
}

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

.footer-brand p {
    max-width: 540px;
    color: var(--slate-300);
    line-height: 1.8;
}

.footer-links h3 {
    margin: 0 0 14px;
    color: #fff;
}

.footer-links ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
    list-style: none;
}

.footer-links a {
    color: var(--slate-300);
    transition: color 0.25s ease;
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--slate-500);
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.hidden-by-search {
    display: none !important;
}

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

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

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

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

    .hero-inner {
        min-height: auto;
        padding: 56px 0;
    }

    .detail-side {
        position: static;
    }

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

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

    .movie-grid.featured-grid .movie-card,
    .movie-grid.featured-grid .card-featured {
        grid-column: span 1;
    }

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

    .rank-item .btn {
        grid-column: 2 / -1;
        justify-self: start;
    }
}

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

    .brand-text small {
        display: none;
    }

    .hero-search,
    .search-panel {
        grid-template-columns: 1fr;
    }

    .hero-slide,
    .hero-slide img {
        min-height: 390px;
        height: 390px;
    }

    .section-heading,
    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .rank-item {
        grid-template-columns: 46px 96px minmax(0, 1fr);
        gap: 12px;
    }

    .rank-number {
        font-size: 26px;
    }

    .rank-item img {
        width: 96px;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}
