:root {
    --sky: #0ea5e9;
    --blue: #2563eb;
    --cyan: #06b6d4;
    --ink: #0f172a;
    --muted: #64748b;
    --line: rgba(148, 163, 184, 0.28);
    --panel: rgba(255, 255, 255, 0.88);
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 42%, #f8fafc 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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: linear-gradient(90deg, var(--sky), var(--blue), var(--cyan));
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.24);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--blue);
    background: #ffffff;
    box-shadow: inset 0 0 0 3px rgba(14, 165, 233, 0.12);
    transition: transform 0.2s ease;
}

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

.brand-name {
    color: #ffffff;
    font-size: 20px;
    letter-spacing: 0.02em;
}

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

.nav-link,
.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.dropdown-trigger:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 220px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #334155;
}

.dropdown-panel a:hover {
    color: #0369a1;
    background: #e0f2fe;
}

.header-search {
    position: relative;
    width: 250px;
}

.header-search input {
    width: 100%;
    height: 40px;
    padding: 0 42px 0 16px;
    border: 0;
    border-radius: 999px;
    outline: none;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.9);
}

.header-search input:focus {
    box-shadow: 0 0 0 3px rgba(254, 240, 138, 0.8);
}

.header-search button {
    position: absolute;
    top: 5px;
    right: 7px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    color: #0284c7;
    background: #ffffff;
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

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

.mobile-panel a,
.mobile-search {
    display: flex;
    margin-top: 10px;
}

.mobile-panel a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.92);
}

.mobile-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    border-radius: 14px 0 0 14px;
    padding: 12px 14px;
}

.mobile-search button {
    border: 0;
    border-radius: 0 14px 14px 0;
    color: #ffffff;
    background: #0f172a;
    padding: 0 16px;
}

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

.hero-carousel {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: linear-gradient(135deg, #06b6d4, #2563eb 58%, #0ea5e9);
}

.hero-carousel::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 96px;
    background: linear-gradient(0deg, #f0f9ff, rgba(240, 249, 255, 0));
    pointer-events: none;
}

.hero-stage,
.hero-slide {
    min-height: 560px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.62fr);
    gap: 36px;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    opacity: 0;
    pointer-events: none;
    transform: translateX(36px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: -80px;
    background-image: linear-gradient(90deg, rgba(8, 47, 73, 0.9), rgba(29, 78, 216, 0.52), rgba(6, 182, 212, 0.3)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(24px) saturate(1.15);
    transform: scale(1.08);
    opacity: 0.52;
    z-index: -1;
}

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

.hero-copy {
    position: relative;
    z-index: 1;
    color: #ffffff;
    padding-top: 24px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    color: #cffafe;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    font-weight: 700;
}

.hero-copy h2,
.compact-hero h1 {
    margin: 0;
    font-size: clamp(38px, 7vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-copy p,
.compact-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.8;
}

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

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

.hero-tags span,
.detail-tags a,
.card-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 13px;
}

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

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

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

.primary-button {
    color: #2563eb;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px) scale(1.02);
}

.primary-button.full {
    width: 100%;
    color: #ffffff;
    background: linear-gradient(90deg, var(--sky), var(--blue));
}

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.ghost-button.dark {
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.82);
}

.hero-poster {
    position: relative;
    z-index: 1;
    aspect-ratio: 3 / 4;
    width: min(360px, 100%);
    justify-self: end;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.22);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.35);
}

.hero-poster img,
.poster-frame img,
.wide-poster img,
.side-poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

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

.hero-poster span,
.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: #2563eb;
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
}

.hero-control.prev {
    left: max(16px, calc((100% - 1180px) / 2 - 68px));
}

.hero-control.next {
    right: max(16px, calc((100% - 1180px) / 2 - 68px));
}

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

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

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

.section-block {
    padding: 42px 0;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.section-title span {
    color: #1e293b;
    font-size: clamp(25px, 4vw, 34px);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.section-title a {
    color: #0284c7;
    font-weight: 700;
}

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

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

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

.poster-card,
.wide-card,
.detail-card,
.player-card,
.side-poster-card,
.category-showcase,
.soft-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.poster-card {
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.poster-card:hover,
.wide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.poster-link {
    display: block;
    height: 100%;
}

.poster-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #bae6fd, #e0f2fe);
}

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 52%;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0));
}

.play-mark {
    width: 52px;
    height: 52px;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.poster-card:hover .play-mark,
.wide-card:hover .play-mark {
    opacity: 1;
}

.poster-type,
.rank-badge {
    position: absolute;
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.poster-type {
    right: 12px;
    background: rgba(14, 165, 233, 0.88);
}

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

.card-body {
    padding: 16px;
}

.card-body h2,
.card-title {
    display: block;
    margin: 0;
    color: #1e293b;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
}

.card-body p,
.wide-content p {
    margin: 9px 0 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.card-meta {
    color: #64748b;
    font-size: 12px;
}

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

.card-tags span,
.detail-tags a {
    color: #0369a1;
    background: #e0f2fe;
}

.soft-panel {
    padding: 30px;
}

.warm-panel {
    background: linear-gradient(135deg, #fff7ed, #fefce8);
}

.cool-panel {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.rose-panel {
    background: linear-gradient(135deg, #f5f3ff, #fff1f2);
}

.wide-grid {
    display: grid;
    gap: 18px;
}

.wide-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.wide-poster {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: linear-gradient(135deg, #bae6fd, #e0f2fe);
}

.wide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 20px;
}

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

.category-tile,
.category-showcase {
    position: relative;
    overflow: hidden;
}

.category-tile {
    min-height: 148px;
    padding: 22px;
    border-radius: 24px;
    color: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-tile span {
    display: block;
    margin-bottom: 12px;
    font-size: 21px;
    font-weight: 900;
}

.category-tile p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.65;
}

.tone-cyan { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.tone-violet { background: linear-gradient(135deg, #7c3aed, #db2777); }
.tone-blue { background: linear-gradient(135deg, #2563eb, #0891b2); }
.tone-rose { background: linear-gradient(135deg, #f43f5e, #ec4899); }
.tone-amber { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.tone-emerald { background: linear-gradient(135deg, #10b981, #059669); }
.tone-indigo { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.tone-orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.tone-sky { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.tone-slate { background: linear-gradient(135deg, #334155, #0f172a); }

.page-hero {
    color: #ffffff;
}

.compact-hero {
    padding: 72px 0 66px;
}

.compact-hero h1 {
    max-width: 900px;
}

.compact-hero p {
    max-width: 760px;
}

.category-overview {
    padding: 42px 0;
}

.category-showcase {
    margin-bottom: 28px;
    padding: 26px;
}

.category-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
}

.category-showcase > * {
    position: relative;
}

.category-showcase-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.category-showcase h2 {
    margin: 0;
    font-size: 30px;
}

.category-showcase p {
    margin: 8px 0 0;
    color: #475569;
}

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

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: end;
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.filter-bar label {
    display: grid;
    gap: 7px;
    min-width: 190px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

.filter-search {
    flex: 1;
}

.filter-bar input,
.filter-bar select,
.large-search input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    padding: 0 13px;
    color: #0f172a;
    background: #ffffff;
}

.filter-bar input:focus,
.filter-bar select:focus,
.large-search input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

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

.compact-card {
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.compact-link {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
}

.compact-rank {
    color: #0ea5e9;
    font-weight: 900;
    font-size: 21px;
}

.compact-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.compact-meta {
    color: #64748b;
    font-size: 13px;
}

.large-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-bottom: 18px;
}

.large-search button {
    min-width: 116px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--sky), var(--blue));
    font-weight: 900;
}

.detail-shell {
    padding: 30px 0 58px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: #64748b;
    font-size: 14px;
}

.breadcrumb a {
    color: #0284c7;
    font-weight: 700;
}

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

.detail-main,
.detail-side {
    display: grid;
    gap: 20px;
}

.player-card {
    overflow: hidden;
    background: #020617;
}

.video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.movie-player {
    width: 100%;
    height: 100%;
    background: #000000;
}

.play-toggle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 76px;
    height: 76px;
    border: 0;
    border-radius: 50%;
    color: #2563eb;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.35);
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-wrap.playing .play-toggle {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
}

.detail-card {
    padding: 24px;
}

.detail-card h1,
.detail-card h2,
.side-poster-card h2 {
    margin: 0 0 12px;
    color: #1e293b;
    line-height: 1.22;
}

.detail-card h1 {
    font-size: clamp(28px, 5vw, 42px);
    letter-spacing: -0.04em;
}

.detail-card h2,
.side-poster-card h2 {
    font-size: 22px;
}

.detail-card p,
.detail-one-line {
    margin: 0;
    color: #475569;
    line-height: 1.9;
    white-space: pre-wrap;
}

.detail-one-line {
    font-size: 17px;
}

.detail-meta {
    margin: 18px 0;
}

.detail-meta span {
    padding: 7px 10px;
    border-radius: 999px;
    color: #475569;
    background: #f1f5f9;
    font-size: 13px;
    font-weight: 700;
}

.detail-tags {
    margin-top: 16px;
}

.side-poster-card {
    overflow: hidden;
}

.side-poster-card img {
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #bae6fd, #e0f2fe);
}

.side-poster-card div {
    padding: 18px;
}

.side-poster-card p {
    margin: 0 0 16px;
    color: #64748b;
}

.related-card .wide-card {
    grid-template-columns: 110px minmax(0, 1fr);
    border-radius: 18px;
}

.related-card .wide-content {
    padding: 12px;
}

.related-card .wide-content p,
.related-card .card-tags,
.related-card .card-meta span:nth-child(n + 3) {
    display: none;
}

.site-footer {
    color: #e2e8f0;
    background: linear-gradient(180deg, #1e293b, #020617);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1.2fr;
    gap: 34px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
}

.footer-logo .brand-name {
    color: #ffffff;
}

.footer-brand p {
    max-width: 360px;
    color: #cbd5e1;
    line-height: 1.75;
}

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

.footer-links h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 17px;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #7dd3fc;
}

.footer-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 26px;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    color: #94a3b8;
    font-size: 14px;
}

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

img.is-missing {
    opacity: 0;
}

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

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

    .hero-slide {
        grid-template-columns: 1fr;
        padding: 40px 0 72px;
    }

    .hero-poster {
        display: none;
    }

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

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

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

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

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

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

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

    .hero-carousel,
    .hero-stage,
    .hero-slide {
        min-height: 520px;
    }

    .hero-control {
        display: none;
    }

    .hero-copy h2,
    .compact-hero h1 {
        font-size: 39px;
    }

    .movie-grid,
    .feature-grid,
    .small-grid,
    .category-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .card-body {
        padding: 13px;
    }

    .card-body h2,
    .card-title {
        font-size: 15px;
    }

    .card-body p,
    .card-tags {
        display: none;
    }

    .soft-panel {
        padding: 20px;
    }

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

    .wide-content {
        padding: 14px;
    }

    .wide-content p,
    .wide-content .card-tags {
        display: none;
    }

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

    .category-showcase-head {
        display: grid;
    }

    .filter-bar {
        display: grid;
    }

    .filter-bar label {
        min-width: 0;
    }

    .compact-link {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .compact-meta {
        grid-column: 2;
    }

    .large-search {
        grid-template-columns: 1fr;
    }

    .play-toggle {
        width: 62px;
        height: 62px;
    }

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