:root {
    --pink: #ec4899;
    --pink-soft: #fce7f3;
    --blue: #3b82f6;
    --blue-soft: #dbeafe;
    --purple: #a855f7;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --card: rgba(255, 255, 255, 0.88);
    --shadow: 0 24px 70px rgba(31, 41, 55, 0.14);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #fff7fb 0%, #ffffff 48%, #eef6ff 100%);
    font-family: 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,
video {
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(22px);
    box-shadow: 0 10px 35px rgba(148, 163, 184, 0.15);
}

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

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--pink), var(--blue));
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.35);
}

.logo-text {
    font-size: 1.42rem;
    background: linear-gradient(90deg, var(--pink), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #374151;
    font-weight: 650;
}

.nav-link {
    position: relative;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pink), var(--blue));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link-active::after {
    transform: scaleX(1);
}

.mobile-menu-button {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(148, 163, 184, 0.2);
}

.mobile-menu-button span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
}

.mobile-nav {
    display: none;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.mobile-nav.is-open {
    display: grid;
    gap: 8px;
}

.mobile-nav-link {
    padding: 12px 14px;
    border-radius: 14px;
    color: #374151;
    font-weight: 700;
}

.mobile-nav-link:hover,
.mobile-nav-link.nav-link-active {
    color: var(--pink);
    background: var(--pink-soft);
}

.hero-carousel {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, #f9a8d4, #c4b5fd 45%, #93c5fd);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.58fr);
    align-items: center;
    gap: 56px;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-slide-bg {
    position: absolute;
    inset: -38px;
    z-index: 0;
    background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.68), rgba(17, 24, 39, 0.08)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(16px) saturate(1.15);
    opacity: 0.42;
    transform: scale(1.06);
}

.hero-carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 24%, rgba(255, 255, 255, 0.5), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.35), transparent 26%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.35), rgba(17, 24, 39, 0.02));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 760px;
    padding: 96px 0 136px;
}

.hero-kicker,
.detail-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-kicker span,
.detail-kicker span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-content h1 {
    margin: 0 0 20px;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    text-shadow: 0 20px 50px rgba(15, 23, 42, 0.34);
}

.hero-content p {
    max-width: 700px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 16px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--blue));
    box-shadow: 0 18px 42px rgba(236, 72, 153, 0.34);
}

.ghost-button {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 55px rgba(59, 130, 246, 0.28);
}

.hero-tags,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: #be185d;
    background: #fce7f3;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-tags span {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.hero-poster {
    position: relative;
    z-index: 2;
    width: min(360px, 100%);
    aspect-ratio: 3 / 4;
    justify-self: center;
    border: 10px solid rgba(255, 255, 255, 0.45);
    border-radius: 34px;
    box-shadow: 0 38px 90px rgba(15, 23, 42, 0.38);
    overflow: hidden;
    transform: rotate(2deg);
}

.hero-poster span,
.poster-art,
.detail-poster,
.category-tile-posters span,
.side-list span {
    background-image:
        linear-gradient(135deg, rgba(236, 72, 153, 0.36), rgba(59, 130, 246, 0.42)),
        var(--poster-image);
    background-size: cover;
    background-position: center;
}

.hero-poster span {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 88px;
    z-index: 5;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

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

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

.hero-search-box {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 6;
    width: min(760px, calc(100% - 32px));
    transform: translateX(-50%);
}

.hero-search-box form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(22px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.2);
}

.hero-search-box input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    outline: none;
    padding: 0 16px;
}

.hero-search-box input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.hero-search-box button {
    min-height: 48px;
    border: 0;
    border-radius: 16px;
    padding: 0 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--blue));
    font-weight: 800;
}

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

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

.section-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.section-more {
    color: var(--pink);
    font-weight: 800;
}

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

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

.category-tile {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #fff, #fff5fb 52%, #eff6ff);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 80px rgba(59, 130, 246, 0.22);
}

.category-tile-posters {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    opacity: 0.34;
}

.category-tile-posters span {
    min-height: 100%;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.72)),
        var(--mini-image);
}

.category-tile-body {
    position: relative;
    z-index: 2;
    padding: 28px;
}

.category-tile h2 {
    margin: 0 0 12px;
    font-size: 1.8rem;
}

.category-tile p {
    max-width: 360px;
    margin: 0 0 20px;
    color: #4b5563;
}

.category-tile-body > span {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--blue));
    font-weight: 800;
}

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

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

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

.movie-card {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 24px;
    background: var(--card);
    box-shadow: 0 16px 38px rgba(148, 163, 184, 0.16);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 68px rgba(236, 72, 153, 0.18);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.poster-art {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    background-image:
        linear-gradient(135deg, rgba(236, 72, 153, 0.4), rgba(59, 130, 246, 0.42)),
        var(--poster-image);
}

.poster-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.4) 45%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.55s ease;
}

.movie-card:hover .poster-shine {
    transform: translateX(100%);
}

.play-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(17, 24, 39, 0.68);
    backdrop-filter: blur(12px);
    font-size: 0.78rem;
    font-weight: 800;
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #f97316, var(--pink));
    box-shadow: 0 12px 22px rgba(249, 115, 22, 0.28);
    font-weight: 900;
}

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

.movie-title {
    display: -webkit-box;
    min-height: 48px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.35;
}

.movie-title:hover {
    color: var(--pink);
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 9px 0;
    color: var(--muted);
    font-size: 0.82rem;
}

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

.movie-card-body p {
    display: -webkit-box;
    min-height: 42px;
    margin: 0 0 12px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #4b5563;
    font-size: 0.9rem;
}

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

.hot-rank-panel,
.side-card,
.text-card,
.player-card {
    border: 1px solid rgba(229, 231, 235, 0.88);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.hot-rank-panel {
    position: sticky;
    top: 96px;
    padding: 22px;
}

.rank-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.rank-panel-head h2,
.side-card h2,
.text-card h2 {
    margin: 0;
    font-size: 1.28rem;
}

.rank-panel-head a {
    color: var(--pink);
    font-weight: 800;
}

.rank-list,
.side-list {
    display: grid;
    gap: 10px;
}

.rank-list a {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 16px;
    background: linear-gradient(90deg, #fff, #fff5fb);
}

.rank-list span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--blue));
    font-weight: 900;
}

.rank-list strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-list em {
    color: var(--muted);
    font-style: normal;
    font-size: 0.82rem;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f9a8d4, #c4b5fd, #93c5fd);
}

.page-hero {
    padding: 86px 0;
}

.page-hero > div {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    color: #fff;
}

.page-hero span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1.2fr 180px 220px;
    gap: 14px;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 50px rgba(148, 163, 184, 0.14);
}

.search-filter {
    grid-template-columns: 1.2fr 180px 220px 220px;
}

.filter-bar label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.result-line {
    margin: 0 0 18px;
    color: var(--muted);
    font-weight: 700;
}

.detail-hero {
    min-height: 560px;
}

.detail-hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.16)), var(--detail-image);
    background-size: cover;
    background-position: center;
    filter: blur(12px) saturate(1.12);
    transform: scale(1.05);
    opacity: 0.74;
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 70px;
    color: #fff;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.breadcrumb a:hover {
    color: #fff;
}

.detail-top-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}

.detail-poster {
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 10px solid rgba(255, 255, 255, 0.35);
    border-radius: 32px;
    box-shadow: 0 34px 90px rgba(15, 23, 42, 0.35);
}

.detail-info h1 {
    margin: 0 0 18px;
    font-size: clamp(2.3rem, 6vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.detail-one-line {
    max-width: 780px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.18rem;
}

.detail-tags {
    margin-bottom: 24px;
}

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

.detail-main {
    display: grid;
    gap: 22px;
}

.player-card {
    padding: 16px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #020617;
}

.movie-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.video-play-button {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    border: 0;
    color: #fff;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.72));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.video-play-button span {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--blue));
    box-shadow: 0 20px 45px rgba(236, 72, 153, 0.4);
    clip-path: polygon(34% 24%, 34% 76%, 78% 50%);
}

.video-play-button strong {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
}

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

.text-card,
.side-card {
    padding: 24px;
}

.text-card p {
    margin: 16px 0 0;
    color: #374151;
    font-size: 1.02rem;
}

.info-table {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
}

.info-table div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.info-table dt {
    color: var(--muted);
    font-weight: 800;
}

.info-table dd {
    margin: 0;
}

.detail-side {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 20px;
}

.side-list a {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    background: linear-gradient(90deg, #fff, #fff7fb);
}

.side-list span {
    width: 54px;
    height: 72px;
    border-radius: 14px;
    background-image:
        linear-gradient(135deg, rgba(236, 72, 153, 0.36), rgba(59, 130, 246, 0.42)),
        var(--side-image);
    background-size: cover;
    background-position: center;
}

.side-list strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.side-list em {
    color: var(--muted);
    font-style: normal;
    font-size: 0.82rem;
}

.plain-side-list a {
    grid-template-columns: 1fr auto;
}

.site-footer {
    margin-top: 40px;
    border-top: 1px solid rgba(229, 231, 235, 0.9);
    background: rgba(255, 255, 255, 0.86);
}

.footer-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 28px;
    padding: 46px 0;
}

.footer-logo .logo-text {
    font-size: 1.18rem;
}

.footer-brand p {
    max-width: 360px;
    margin: 16px 0 0;
    color: var(--muted);
}

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

.footer-column h2 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.footer-column a,
.footer-column span {
    color: var(--muted);
    font-size: 0.94rem;
}

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

.footer-bottom {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: var(--muted);
    font-size: 0.9rem;
}

[data-movie-card].is-hidden {
    display: none;
}

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

    .mobile-menu-button {
        display: flex;
    }

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

    .hero-poster {
        display: none;
    }

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

    .category-tile-grid,
    .all-category-grid,
    .split-section,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hot-rank-panel,
    .detail-side {
        position: static;
    }

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

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

@media (max-width: 760px) {
    .header-inner {
        height: 64px;
    }

    .logo-text {
        font-size: 1.12rem;
    }

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

    .hero-content {
        padding: 74px 0 150px;
    }

    .hero-content h1 {
        font-size: 3.1rem;
    }

    .hero-search-box form {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

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

    .detail-layout {
        gap: 18px;
    }

    .info-table div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

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

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

    .hero-content h1 {
        font-size: 2.55rem;
    }
}
