:root {
    --blue-950: #172554;
    --blue-900: #1e3a8a;
    --blue-800: #1e40af;
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --blue-100: #dbeafe;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --white: #ffffff;
    --orange: #f97316;
    --red: #ef4444;
    --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 12px 35px rgba(15, 23, 42, 0.10);
    --radius-xl: 24px;
    --radius-lg: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--slate-900);
    background: #f8fafc;
}

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

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.88);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--blue-900);
    white-space: nowrap;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-950));
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
}

.brand-text {
    font-size: 20px;
    letter-spacing: -0.02em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nav-link,
.mobile-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--slate-700);
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--blue-700);
    background: var(--blue-100);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.header-search input,
.mobile-search input,
.hero-search input,
.search-page-form input,
.filter-controls input,
.filter-controls select,
.search-tools select {
    border: 0;
    outline: 0;
    font: inherit;
}

.header-search input,
.mobile-search input {
    width: 170px;
    padding: 10px 14px;
}

.header-search button,
.mobile-search button,
.hero-search button,
.search-page-form button {
    border: 0;
    padding: 10px 16px;
    color: white;
    font-weight: 800;
    background: var(--blue-700);
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--blue-100);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--blue-900);
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--slate-200);
    padding: 16px 24px 22px;
    background: white;
}

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

.mobile-nav {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.home-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    padding: 118px 24px 64px;
    color: white;
    background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-800) 45%, var(--blue-600) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.22), transparent 24%),
        radial-gradient(circle at 84% 16%, rgba(96, 165, 250, 0.35), transparent 25%),
        linear-gradient(135deg, rgba(2, 6, 23, 0.52), rgba(30, 64, 175, 0.22));
}

.hero-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 520px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
    align-items: center;
    gap: 56px;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(12px);
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.hero-copy {
    max-width: 760px;
}

.hero-kicker,
.section-kicker,
.detail-kicker,
.page-hero span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-100);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-copy h1 {
    margin: 24px 0 12px;
    max-width: 820px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.hero-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 900;
    color: #bfdbfe;
}

.hero-copy p {
    margin: 0 0 22px;
    max-width: 720px;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.8;
}

.hero-tags,
.detail-tags,
.movie-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.detail-tags span,
.movie-card-tags span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: var(--blue-700);
    background: #eff6ff;
}

.hero-tags span {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

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

.primary-button,
.ghost-button,
.section-action,
.page-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: var(--blue-950);
    background: white;
    box-shadow: 0 16px 32px rgba(255, 255, 255, 0.18);
}

.ghost-button,
.page-hero-actions a {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.52);
}

.primary-button:hover,
.ghost-button:hover,
.section-action:hover,
.page-hero-actions a:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    min-height: 460px;
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-poster::before,
.poster-link::before,
.detail-poster::before,
.video-frame::before,
.compact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.45), rgba(15, 23, 42, 0.75));
}

.hero-poster img,
.poster-link img,
.detail-poster img,
.compact-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease, opacity 0.2s ease;
}

.image-missing {
    opacity: 0;
}

.hero-poster span {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    padding: 16px 18px;
    border-radius: 20px;
    font-size: 22px;
    font-weight: 950;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(16px);
}

.hero-dots {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    gap: 10px;
}

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

.hero-dot.is-active {
    width: 34px;
    background: white;
}

.hero-search {
    position: relative;
    max-width: 880px;
    margin: 34px auto 0;
    display: flex;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(18px);
}

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

.hero-search input::placeholder {
    color: #dbeafe;
}

.hero-search button {
    border-radius: 999px;
    padding: 14px 24px;
    background: white;
    color: var(--blue-900);
}

.quick-strip {
    max-width: 1180px;
    margin: -34px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.quick-strip a {
    padding: 22px;
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 6px;
}

.quick-strip strong {
    color: var(--blue-900);
    font-size: 18px;
}

.quick-strip span {
    color: var(--slate-600);
    font-size: 14px;
}

.content-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 76px 24px;
}

.content-section.tinted,
.page-main .content-section.tinted {
    max-width: none;
    background: #eef5ff;
}

.content-section.tinted > * {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-kicker {
    color: var(--blue-700);
    background: #dbeafe;
    border-color: #bfdbfe;
}

.section-heading h2 {
    margin: 12px 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    color: var(--slate-950);
}

.section-heading p {
    margin: 0;
    color: var(--slate-600);
    font-size: 17px;
}

.section-action {
    color: white;
    background: var(--blue-700);
}

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

.category-card,
.category-overview-card a {
    min-height: 210px;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    position: relative;
}

.category-card::after,
.category-overview-card a::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(30, 64, 175, 0.04));
}

.category-card:hover,
.category-overview-card a:hover,
.movie-card:hover,
.compact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-card span,
.category-overview-card span {
    color: var(--blue-700);
    font-weight: 950;
}

.category-card strong,
.category-overview-card h2 {
    position: relative;
    z-index: 1;
    margin: 18px 0;
    color: var(--slate-950);
    font-size: 18px;
    line-height: 1.55;
}

.category-card em,
.mini-title-list em {
    position: relative;
    z-index: 1;
    color: var(--slate-500);
    font-style: normal;
    font-size: 14px;
}

.mini-title-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-title-list em {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--blue-900), var(--slate-950));
    overflow: hidden;
}

.movie-card:hover .poster-link img,
.compact-card:hover img,
.hero-poster:hover img {
    transform: scale(1.06);
}

.region-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    color: white;
    background: rgba(37, 99, 235, 0.92);
    font-size: 12px;
    font-weight: 900;
}

.rank-badge {
    left: 12px;
    right: auto;
    background: rgba(239, 68, 68, 0.95);
}

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

.movie-card h3 {
    margin: 12px 0 8px;
    font-size: 18px;
    line-height: 1.35;
    color: var(--slate-950);
}

.movie-card h3 a:hover {
    color: var(--blue-700);
}

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

.movie-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--slate-500);
    font-size: 13px;
}

.movie-card-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
}

.rank-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    gap: 24px;
}

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

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

.compact-card {
    min-height: 92px;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 14px;
    align-items: center;
    padding: 10px;
    background: white;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card img {
    width: 76px;
    height: 76px;
    border-radius: 14px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--blue-900), var(--slate-950));
}

.compact-card span {
    display: grid;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.compact-card strong {
    color: var(--slate-950);
    line-height: 1.35;
}

.compact-card em {
    color: var(--slate-500);
    font-style: normal;
    font-size: 13px;
}

.compact-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    background: var(--red);
    font-size: 12px;
    font-weight: 950;
}

.page-main {
    padding-top: 74px;
}

.page-hero {
    padding: 88px 24px;
    color: white;
    background:
        radial-gradient(circle at 20% 24%, rgba(255,255,255,0.22), transparent 26%),
        linear-gradient(135deg, var(--blue-950), var(--blue-700));
}

.page-hero h1 {
    max-width: 1280px;
    margin: 18px auto 12px;
    font-size: clamp(36px, 5vw, 62px);
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.page-hero p,
.page-hero span,
.page-hero-actions {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero p {
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.8;
}

.filter-panel,
.search-tools {
    margin-bottom: 28px;
    padding: 22px;
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow-soft);
}

.filter-title {
    margin-bottom: 14px;
    color: var(--slate-900);
    font-weight: 950;
    font-size: 18px;
}

.filter-controls,
.search-tools {
    display: grid;
    grid-template-columns: 1fr 190px 180px 190px;
    gap: 12px;
}

.filter-controls input,
.filter-controls select,
.search-tools select,
.search-page-form input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    background: white;
    color: var(--slate-800);
}

.empty-state {
    display: none;
    padding: 60px 24px;
    text-align: center;
    color: var(--slate-500);
    font-size: 18px;
}

.empty-state.is-visible {
    display: block;
}

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

.category-overview-card a {
    min-height: 260px;
}

.search-page-form {
    max-width: 760px;
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
}

.search-page-form input {
    border-color: transparent;
    background: white;
    border-radius: 999px;
}

.search-page-form button {
    border-radius: 999px;
    padding: 0 26px;
}

.detail-main {
    padding: 100px 24px 0;
}

.breadcrumb {
    max-width: 1180px;
    margin: 0 auto 22px;
    color: var(--slate-500);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

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

.detail-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 34px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 34px;
    color: white;
    background:
        radial-gradient(circle at 80% 0%, rgba(96, 165, 250, 0.32), transparent 30%),
        linear-gradient(135deg, var(--slate-950), var(--blue-900));
    box-shadow: var(--shadow);
}

.detail-poster {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--blue-900), var(--slate-950));
    aspect-ratio: 3 / 4;
    box-shadow: 0 22px 48px rgba(2, 6, 23, 0.3);
}

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

.detail-one-line {
    margin: 0 0 20px;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.8;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0;
}

.detail-meta div {
    padding: 15px;
    border-radius: 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
}

.detail-meta dt {
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 900;
}

.detail-meta dd {
    margin: 6px 0 0;
    color: white;
    font-weight: 900;
}

.player-section,
.detail-content,
.related-section {
    max-width: 1180px;
    margin: 42px auto 0;
}

.player-section h2,
.detail-content h2 {
    margin: 0 0 18px;
    color: var(--slate-950);
    font-size: 30px;
    letter-spacing: -0.03em;
}

.video-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--slate-950);
    box-shadow: var(--shadow);
}

.movie-video {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
    z-index: 1;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    color: white;
    background:
        linear-gradient(135deg, rgba(2, 6, 23, 0.62), rgba(30, 64, 175, 0.45)),
        transparent;
    cursor: pointer;
    text-align: center;
}

.video-frame.is-playing .player-cover {
    opacity: 0;
    pointer-events: none;
}

.play-circle {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: white;
    color: var(--blue-900);
    font-size: 30px;
    box-shadow: 0 18px 44px rgba(255,255,255,0.22);
}

.player-cover strong {
    font-size: 26px;
}

.player-cover em {
    font-style: normal;
    color: #dbeafe;
}

.player-message {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 4;
    color: white;
    font-weight: 800;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.detail-content article {
    padding: 28px;
    border-radius: 26px;
    background: white;
    box-shadow: var(--shadow-soft);
}

.detail-content p {
    margin: 0;
    color: var(--slate-700);
    line-height: 1.95;
    font-size: 16px;
}

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: white;
    background: var(--blue-700);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

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

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px;
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 30px;
}

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

.footer-logo .brand-text {
    color: white;
}

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

.footer-links h2 {
    margin: 0 0 8px;
    color: white;
    font-size: 16px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #94a3b8;
}

@media (max-width: 1180px) {
    .full-grid,
    .movie-grid,
    .ranking-grid,
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-slide {
        grid-template-columns: 1fr 360px;
    }
}

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

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .home-hero {
        min-height: auto;
    }

    .hero-inner {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .quick-strip {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .filter-controls,
    .search-tools {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .header-inner {
        padding: 0 16px;
    }

    .brand-text {
        font-size: 17px;
    }

    .home-hero {
        padding: 102px 16px 46px;
    }

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

    .hero-copy h2 {
        font-size: 26px;
    }

    .hero-search,
    .search-page-form {
        border-radius: 22px;
        flex-direction: column;
    }

    .hero-search button,
    .search-page-form button {
        width: 100%;
        min-height: 46px;
    }

    .quick-strip,
    .category-grid,
    .category-overview-grid,
    .movie-grid,
    .ranking-grid,
    .full-grid,
    .rank-main {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 54px 16px;
    }

    .section-heading {
        display: grid;
        align-items: start;
    }

    .filter-controls,
    .search-tools {
        grid-template-columns: 1fr;
    }

    .detail-main {
        padding: 92px 16px 0;
    }

    .detail-hero {
        padding: 22px;
        border-radius: 26px;
    }

    .detail-info h1 {
        font-size: 34px;
    }

    .detail-meta {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        padding: 42px 16px;
    }
}
