:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.72);
    --panel-solid: #111827;
    --border: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --cyan: #06b6d4;
    --cyan-strong: #22d3ee;
    --blue: #2563eb;
    --orange: #fb923c;
    --green: #22c55e;
    --shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 0%, rgba(6, 182, 212, 0.16), transparent 32rem),
        radial-gradient(circle at 88% 8%, rgba(37, 99, 235, 0.14), transparent 34rem),
        linear-gradient(180deg, #020617 0%, #0f172a 46%, #020617 100%);
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 40px rgba(2, 6, 23, 0.35);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: white;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 28px rgba(6, 182, 212, 0.42);
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 22px;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--cyan-strong), #60a5fa);
    -webkit-background-clip: text;
    color: transparent;
}

.brand-text small {
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}

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

.nav-link {
    position: relative;
    color: var(--muted-strong);
    font-weight: 700;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    transition: width 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-search {
    width: 276px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
}

.header-search input,
.mobile-search input,
.page-search input {
    min-width: 0;
    width: 100%;
    color: var(--text);
    border: 0;
    outline: 0;
    background: transparent;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.page-search input::placeholder {
    color: #64748b;
}

.header-search button,
.mobile-search button {
    flex: none;
    color: white;
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.7);
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--border);
    padding: 14px 16px 20px;
}

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

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

.mobile-nav .nav-link {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.7);
}

.mobile-nav .nav-link::after {
    display: none;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.7);
}

.hero {
    position: relative;
    height: min(80vh, 760px);
    min-height: 560px;
    overflow: hidden;
    background: #020617;
}

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

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.56) 46%, rgba(2, 6, 23, 0.18) 100%),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.45) 34%, rgba(2, 6, 23, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 86px;
}

.hero-copy {
    width: min(720px, 100%);
}

.hero-kicker,
.section-eyebrow,
.category-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: white;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.88);
    box-shadow: 0 0 28px rgba(6, 182, 212, 0.28);
}

.hero-kicker {
    padding: 10px 16px;
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 8vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    text-shadow: 0 16px 46px rgba(2, 6, 23, 0.48);
}

.hero p {
    margin: 22px 0 0;
    max-width: 680px;
    color: #cbd5e1;
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.8;
}

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

.hero-tags {
    margin-top: 20px;
}

.hero-tags span,
.movie-tags span,
.detail-tags a,
.genre-list span {
    color: #dbeafe;
    font-size: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(15, 23, 42, 0.6);
}

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

.primary-button,
.ghost-button,
.panel-link,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
    color: white;
    padding: 0 26px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 16px 38px rgba(6, 182, 212, 0.28);
}

.primary-button:hover,
.ghost-button:hover,
.panel-link:hover,
.section-more:hover {
    transform: translateY(-2px);
}

.ghost-button {
    color: white;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: 48px;
    height: 48px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(2, 6, 23, 0.54);
    backdrop-filter: blur(12px);
    font-size: 30px;
    line-height: 1;
    transform: translateY(-50%);
}

.hero-control.prev {
    left: 28px;
}

.hero-control.next {
    right: 28px;
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.25s ease, background 0.25s ease;
}

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

.main-space,
.page-section {
    padding: 82px 0;
}

.main-space {
    display: grid;
    gap: 92px;
}

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

.section-eyebrow {
    padding: 7px 12px;
    margin-bottom: 12px;
    color: #cffafe;
    background: rgba(6, 182, 212, 0.14);
    border: 1px solid rgba(6, 182, 212, 0.32);
    box-shadow: none;
}

.section-head h2,
.rank-panel h2,
.feature-copy h2,
.text-panel h2,
.side-panel h2,
.site-footer h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.03em;
}

.section-head p,
.feature-copy p,
.page-hero p,
.category-card p,
.footer-brand p,
.text-panel p,
.detail-copy p {
    color: var(--muted-strong);
    line-height: 1.8;
}

.section-head p {
    margin: 10px 0 0;
}

.section-more,
.panel-link {
    color: var(--cyan-strong);
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(6, 182, 212, 0.32);
    background: rgba(6, 182, 212, 0.08);
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.72));
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.26);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    border-color: rgba(6, 182, 212, 0.54);
    box-shadow: 0 26px 64px rgba(6, 182, 212, 0.12);
    transform: translateY(-5px);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.movie-card.compact .movie-poster {
    aspect-ratio: 16 / 10;
}

.movie-card.large .movie-poster {
    aspect-ratio: 16 / 9;
}

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

.movie-card:hover .movie-poster img,
.category-card:hover img,
.wide-card:hover img {
    transform: scale(1.08);
}

.poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.26) 54%, rgba(2, 6, 23, 0.02) 100%);
}

.play-icon,
.wide-cover span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: white;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    opacity: 0;
    box-shadow: 0 18px 36px rgba(6, 182, 212, 0.24);
    transform: translate(-50%, -50%) scale(0.78);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-icon,
.wide-card:hover .wide-cover span {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.category-pill {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 7px 11px;
    font-size: 12px;
}

.rank-badge {
    position: absolute;
    right: 14px;
    top: 14px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff7ed;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), #ef4444);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

.movie-info {
    padding: 18px;
}

.movie-info h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.movie-info h3 a:hover,
.wide-content h3 a:hover,
.category-title a:hover {
    color: var(--cyan-strong);
}

.movie-info p,
.wide-content p {
    color: var(--muted);
    line-height: 1.7;
}

.movie-info p {
    margin: 10px 0 14px;
    min-height: 48px;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.movie-meta span {
    padding: 5px 8px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.76);
}

.movie-tags {
    margin-top: 12px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
}

.wide-list,
.ranking-list,
.related-list {
    display: grid;
    gap: 16px;
}

.wide-card {
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr);
    gap: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.62);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.wide-card:hover {
    border-color: rgba(6, 182, 212, 0.38);
    background: rgba(30, 41, 59, 0.82);
    transform: translateY(-2px);
}

.wide-cover {
    position: relative;
    min-height: 132px;
    overflow: hidden;
}

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

.wide-content {
    padding: 18px 18px 18px 0;
}

.wide-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.wide-top a {
    color: var(--cyan-strong);
    font-size: 13px;
    font-weight: 800;
}

.rank-number {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), #ef4444);
}

.wide-content h3 {
    margin: 0;
    font-size: 18px;
}

.rank-panel,
.text-panel,
.side-panel,
.player-shell,
.category-card,
.feature-band {
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.68);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.rank-panel {
    position: sticky;
    top: 96px;
    align-self: start;
    display: grid;
    gap: 16px;
    border-radius: 28px;
    padding: 24px;
}

.rank-panel .wide-card {
    grid-template-columns: 98px minmax(0, 1fr);
    border-radius: 16px;
}

.rank-panel .wide-cover {
    min-height: 92px;
}

.rank-panel .wide-content {
    padding: 12px 12px 12px 0;
}

.rank-panel .wide-content p,
.rank-panel .movie-meta {
    display: none;
}

.feature-band {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 32px;
    padding: 36px;
    border-radius: 32px;
    background: linear-gradient(120deg, rgba(8, 145, 178, 0.18), rgba(30, 64, 175, 0.12), rgba(15, 23, 42, 0.78));
}

.feature-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(74px);
    opacity: 0.28;
}

.feature-glow.one {
    right: -80px;
    top: -80px;
    background: var(--cyan);
}

.feature-glow.two {
    left: -80px;
    bottom: -120px;
    background: var(--blue);
}

.feature-copy,
.feature-cards {
    position: relative;
    z-index: 1;
}

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

.category-showcase {
    display: grid;
    gap: 44px;
}

.category-block {
    display: grid;
    gap: 20px;
}

.category-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.category-title h3 {
    margin: 0;
    font-size: 26px;
}

.category-title p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 74px;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 20% 0%, rgba(6, 182, 212, 0.18), transparent 28rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
}

.page-hero.small h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 64px);
    letter-spacing: -0.05em;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    margin-bottom: 18px;
}

.breadcrumb a:hover {
    color: var(--cyan-strong);
}

.page-search {
    max-width: 760px;
    display: flex;
    align-items: center;
    margin-top: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(6, 182, 212, 0.28);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.78);
}

.empty-state {
    display: none;
    margin: 28px 0 0;
    color: var(--muted);
    text-align: center;
}

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

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

.category-card {
    overflow: hidden;
    border-radius: 26px;
}

.category-card a {
    position: relative;
    display: block;
    height: 230px;
    overflow: hidden;
}

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.18));
}

.category-name {
    position: absolute;
    left: 22px;
    bottom: 22px;
    font-size: 28px;
    font-weight: 900;
}

.category-card p {
    margin: 0;
    padding: 18px 20px 22px;
}

.detail-page {
    padding-bottom: 82px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 660px;
    display: flex;
    align-items: end;
    padding: 78px 0 58px;
}

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

.detail-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px) saturate(1.1);
    transform: scale(1.08);
    opacity: 0.38;
}

.detail-mask {
    background:
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.72) 40%, rgba(2, 6, 23, 0.48) 100%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.36));
}

.detail-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 42px;
    align-items: end;
}

.detail-cover {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

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

.detail-copy h1 {
    margin: 0;
    max-width: 860px;
    font-size: clamp(36px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.detail-copy p {
    max-width: 860px;
    font-size: 18px;
}

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

.detail-meta span {
    color: #e2e8f0;
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
}

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

.player-section {
    margin-top: 42px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #000;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    cursor: pointer;
}

.player-overlay.hidden {
    display: none;
}

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

.player-overlay-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.76), rgba(2, 6, 23, 0.26));
}

.player-button {
    position: absolute;
    z-index: 4;
    width: 92px;
    height: 92px;
    color: white;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 24px 70px rgba(6, 182, 212, 0.38);
    font-size: 36px;
    transition: transform 0.25s ease;
}

.player-button:hover {
    transform: scale(1.08);
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 28px;
    margin-top: 34px;
}

.text-panel,
.side-panel {
    border-radius: 28px;
    padding: 28px;
}

.text-panel h2,
.side-panel h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 26px;
}

.text-panel p {
    margin: 0 0 28px;
    font-size: 16px;
}

.side-panel {
    align-self: start;
    position: sticky;
    top: 96px;
}

.side-panel .movie-card {
    border-radius: 18px;
}

.side-panel .movie-info p,
.side-panel .movie-tags,
.side-panel .movie-meta {
    display: none;
}

.side-panel .movie-info h3 {
    font-size: 15px;
}

.side-panel .movie-poster {
    aspect-ratio: 16 / 9;
}

.site-footer {
    margin-top: 68px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), #020617);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.7fr;
    gap: 36px;
    padding: 48px 0 34px;
}

.site-footer h2 {
    margin-bottom: 16px;
    font-size: 18px;
}

.site-footer a:not(.brand) {
    display: block;
    color: var(--muted-strong);
    margin: 10px 0;
}

.site-footer a:hover {
    color: var(--cyan-strong);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    color: #64748b;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

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

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

    .card-grid.four,
    .feature-cards,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-layout,
    .feature-band,
    .detail-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        min-height: 66px;
    }

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

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

    .brand-text small {
        display: none;
    }

    .hero {
        min-height: 620px;
        height: 72vh;
    }

    .hero-content {
        padding-bottom: 78px;
    }

    .hero-control {
        display: none;
    }

    .hero-actions {
        gap: 10px;
    }

    .primary-button,
    .ghost-button {
        width: 100%;
    }

    .main-space,
    .page-section {
        padding: 54px 0;
    }

    .section-head,
    .category-title,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .card-grid.four,
    .feature-cards,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .wide-card,
    .rank-panel .wide-card {
        grid-template-columns: 124px minmax(0, 1fr);
    }

    .wide-cover {
        min-height: 124px;
    }

    .wide-content {
        padding: 12px 12px 12px 0;
    }

    .wide-content p,
    .wide-content .movie-meta {
        display: none;
    }

    .feature-band,
    .text-panel,
    .side-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .detail-hero {
        min-height: auto;
        padding-top: 44px;
    }

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

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

    .player-button {
        width: 72px;
        height: 72px;
        font-size: 28px;
    }

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