:root {
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --blue-50: #eff6ff;
    --blue-600: #2563eb;
    --violet-50: #f5f3ff;
    --violet-600: #7c3aed;
    --red-500: #ef4444;
    --pink-500: #ec4899;
    --amber-500: #f59e0b;
    --cyan-500: #06b6d4;
    --white: #ffffff;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 24px 80px rgba(15, 23, 42, 0.2);
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(180deg, var(--slate-50), var(--slate-100));
    color: var(--slate-800);
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--emerald-500), #22d3ee);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.28);
}

.brand-name {
    font-size: 20px;
}

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

.nav-link {
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--slate-600);
    font-size: 15px;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-active {
    color: var(--emerald-600);
    background: var(--emerald-50);
}

.header-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    min-width: 320px;
    padding: 4px;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 8px 12px;
    background: transparent;
    color: var(--slate-800);
}

.header-search button,
.primary-btn,
.ghost-btn,
.large-search button,
.search-page-form button {
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.2s ease;
}

.header-search button,
.primary-btn,
.large-search button,
.search-page-form button {
    color: var(--white);
    background: var(--emerald-500);
}

.header-search button {
    padding: 8px 15px;
}

.header-search button:hover,
.primary-btn:hover,
.large-search button:hover,
.search-page-form button:hover {
    background: var(--emerald-600);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    background: var(--white);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--slate-700);
    border-radius: 999px;
}

.hero-carousel {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-900), var(--slate-800));
}

.hero-track,
.hero-slide {
    min-height: 70vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    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;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    transform: scale(1.03);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.18), transparent 30%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.38), transparent),
        linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.22));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(720px, calc(100% - 48px));
    margin-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    padding: 80px 0 110px;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.hero-kicker {
    margin-bottom: 18px;
    padding: 7px 16px;
    background: var(--emerald-500);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(16, 185, 129, 0.28);
}

.hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hero-content p {
    margin: 0 0 24px;
    max-width: 660px;
    color: #dbeafe;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.75;
}

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

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

.hero-meta span {
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}

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

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    font-size: 16px;
}

.primary-btn.small {
    padding: 10px 18px;
    font-size: 14px;
}

.ghost-btn {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.hero-dots {
    position: absolute;
    left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    bottom: 44px;
    z-index: 4;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    transition: 0.2s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: var(--emerald-500);
}

.hero-strip {
    position: absolute;
    right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    bottom: 36px;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(5, 92px);
    gap: 10px;
}

.compact-card {
    position: relative;
    overflow: hidden;
    min-height: 118px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.45);
    box-shadow: var(--shadow-md);
}

.compact-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.86;
}

.compact-card span {
    position: absolute;
    inset: auto 8px 8px;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.home-search-panel,
.content-section,
.watch-wrap {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.home-search-panel {
    margin-top: -40px;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    gap: 24px;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(18px);
}

.home-search-content h2,
.section-heading h2,
.rank-panel h2,
.detail-text-card h2,
.movie-detail-card h1 {
    margin: 0;
    color: var(--slate-800);
    letter-spacing: -0.035em;
}

.home-search-content h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.home-search-content p,
.section-heading p {
    margin: 8px 0 0;
    color: var(--slate-600);
    line-height: 1.75;
}

.large-search,
.search-page-form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    background: var(--slate-50);
}

.large-search input,
.search-page-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 12px 16px;
    background: transparent;
}

.large-search button,
.search-page-form button {
    padding: 12px 20px;
}

.content-section {
    padding: 72px 0 0;
}

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

.section-kicker {
    margin-bottom: 8px;
    padding: 5px 12px;
    color: var(--emerald-600);
    background: var(--emerald-50);
    font-size: 13px;
}

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

.section-link {
    flex: 0 0 auto;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--emerald-600);
    background: var(--emerald-50);
    font-weight: 800;
    transition: 0.2s ease;
}

.section-link:hover {
    background: var(--emerald-100);
    transform: translateY(-1px);
}

.movie-grid {
    display: grid;
    gap: 24px;
}

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

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

.movie-card {
    min-width: 0;
}

.card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: 0.28s ease;
}

.card-link:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.card-cover {
    position: relative;
    overflow: hidden;
    background: var(--slate-200);
}

.card-cover-normal {
    aspect-ratio: 4 / 3;
}

.card-cover-wide {
    aspect-ratio: 16 / 9;
}

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

.card-link:hover img {
    transform: scale(1.055);
}

.card-hover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0);
    color: var(--white);
    opacity: 0;
    transition: 0.25s ease;
}

.card-hover span,
.player-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.9);
    box-shadow: 0 18px 42px rgba(16, 185, 129, 0.38);
}

.card-link:hover .card-hover {
    opacity: 1;
    background: rgba(15, 23, 42, 0.42);
}

.quality-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.quality-badge {
    right: 12px;
    padding: 5px 11px;
    background: var(--emerald-500);
}

.rank-badge {
    left: 12px;
    padding: 5px 10px;
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.card-body {
    padding: 18px;
}

.card-body h2 {
    margin: 0 0 8px;
    color: var(--slate-800);
    font-size: 18px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.card-link:hover h2 {
    color: var(--emerald-600);
}

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

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

.card-meta span:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-left: 10px;
    border-radius: 999px;
    background: var(--slate-300);
    vertical-align: middle;
}

.card-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--slate-100);
}

.card-tags span,
.detail-tags span {
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--emerald-600);
    background: var(--emerald-50);
    font-size: 12px;
    font-weight: 700;
}

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

.category-tile {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: end;
    padding: 24px;
    border-radius: 24px;
    color: var(--white);
    background: var(--slate-800);
    box-shadow: var(--shadow-md);
    transition: 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
    transition: 0.35s ease;
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile::after,
.category-overview-card::before,
.category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.category-tile::after {
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.78), transparent 70%);
}

.category-tile div {
    position: relative;
    z-index: 2;
}

.category-tile span,
.category-overview-card span {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 900;
}

.category-tile h2,
.category-overview-card h2 {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 500;
}

.tone-emerald { --tone-a: #10b981; --tone-b: #0f766e; }
.tone-blue { --tone-a: #3b82f6; --tone-b: #1d4ed8; }
.tone-violet { --tone-a: #8b5cf6; --tone-b: #6d28d9; }
.tone-slate { --tone-a: #64748b; --tone-b: #1e293b; }
.tone-red { --tone-a: #ef4444; --tone-b: #b91c1c; }
.tone-pink { --tone-a: #ec4899; --tone-b: #be185d; }
.tone-amber { --tone-a: #f59e0b; --tone-b: #b45309; }
.tone-cyan { --tone-a: #06b6d4; --tone-b: #0e7490; }

.category-tile,
.category-overview-card,
.category-hero {
    background: linear-gradient(135deg, var(--tone-a), var(--tone-b));
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.compact-hero,
.category-hero {
    padding: 74px 24px;
}

.page-hero > div {
    position: relative;
    z-index: 2;
    width: min(1280px, 100%);
    margin: 0 auto;
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.75;
}

.category-overview-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    margin-bottom: 32px;
    padding: 28px;
    border-radius: 28px;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.category-overview-card::before {
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 30%);
}

.overview-text,
.overview-movies {
    position: relative;
    z-index: 2;
}

.overview-text h2 {
    margin-bottom: 22px;
}

.overview-movies .movie-card:nth-child(n + 5) {
    display: none;
}

.filter-bar,
.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--slate-200);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-bar label {
    flex: 1 1 220px;
    display: grid;
    gap: 8px;
    color: var(--slate-600);
    font-size: 13px;
    font-weight: 800;
}

.filter-bar input,
.filter-bar select,
.search-filters select {
    width: 100%;
    border: 1px solid var(--slate-200);
    outline: 0;
    border-radius: 14px;
    padding: 12px 13px;
    background: var(--slate-50);
    color: var(--slate-800);
}

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

.rank-panel {
    overflow: hidden;
    border-radius: 26px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.rank-panel h2 {
    padding: 22px 22px 6px;
    font-size: 24px;
}

.rank-list {
    display: grid;
}

.rank-row {
    display: grid;
    grid-template-columns: 42px 54px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid var(--slate-100);
    transition: 0.18s ease;
}

.rank-row:hover {
    background: var(--emerald-50);
}

.rank-number {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    color: var(--white);
    background: var(--emerald-500);
    font-weight: 900;
}

.rank-row img {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    object-fit: cover;
}

.rank-title {
    min-width: 0;
    overflow: hidden;
    color: var(--slate-800);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info {
    display: none;
    color: var(--slate-500);
    font-size: 12px;
}

.rank-score {
    color: var(--emerald-600);
    font-weight: 900;
}

.search-section {
    min-height: 60vh;
}

.search-page-form {
    margin-bottom: 16px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.watch-wrap {
    padding: 32px 0 0;
}

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

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

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    background: var(--slate-900);
    box-shadow: var(--shadow-xl);
}

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

.player-start {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.2));
    font-size: 18px;
    font-weight: 800;
    pointer-events: auto;
}

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

.movie-detail-card,
.detail-text-card {
    margin-top: 28px;
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.movie-detail-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    padding: 28px;
}

.detail-cover {
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 4 / 5;
    background: var(--slate-200);
}

.detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-detail-card h1 {
    margin-bottom: 16px;
    font-size: clamp(28px, 4vw, 44px);
}

.detail-meta span {
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--slate-700);
    background: var(--slate-100);
    font-weight: 800;
    font-size: 13px;
}

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

.detail-text-card {
    padding: 28px;
}

.detail-text-card h2 {
    margin-bottom: 14px;
    font-size: 24px;
}

.detail-text-card p {
    margin: 0;
    color: var(--slate-600);
    line-height: 1.9;
    font-size: 16px;
}

.site-footer {
    margin-top: 86px;
    color: #cbd5e1;
    background: var(--slate-900);
}

.footer-inner {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 54px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 38px;
}

.footer-logo {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
}

.footer-brand p {
    margin: 0;
    max-width: 460px;
    line-height: 1.8;
    color: #94a3b8;
}

.footer-column {
    display: grid;
    gap: 10px;
    align-content: start;
}

.footer-column h2 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 17px;
}

.footer-column a:hover {
    color: var(--emerald-500);
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: #64748b;
    text-align: center;
    font-size: 14px;
}

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

@media (max-width: 1100px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .header-search {
        order: 4;
        width: 100%;
        min-width: 0;
    }

    .hero-strip {
        display: none;
    }

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

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

@media (max-width: 760px) {
    .header-inner {
        padding: 12px 16px;
        gap: 12px;
    }

    .brand-name {
        font-size: 18px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border: 1px solid var(--slate-200);
        border-radius: 18px;
        background: var(--white);
    }

    .site-header.nav-open .nav-links {
        display: flex;
    }

    .nav-link {
        border-radius: 12px;
    }

    .hero-carousel,
    .hero-track,
    .hero-slide {
        min-height: 620px;
    }

    .hero-content {
        width: calc(100% - 32px);
        margin-left: 16px;
        padding: 84px 0 120px;
    }

    .hero-dots {
        left: 16px;
        bottom: 34px;
    }

    .home-search-panel,
    .content-section,
    .watch-wrap,
    .footer-inner {
        width: min(100% - 32px, 1280px);
    }

    .home-search-panel {
        grid-template-columns: 1fr;
        padding: 20px;
    }

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

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

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

    .grid-3,
    .grid-4,
    .category-grid,
    .rank-layout {
        grid-template-columns: 1fr;
    }

    .category-tile {
        min-height: 180px;
    }

    .movie-detail-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .detail-cover {
        max-width: 240px;
    }

    .detail-text-card {
        padding: 20px;
    }

    .rank-row {
        grid-template-columns: 36px 48px 1fr auto;
        padding: 12px;
    }

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