:root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.72);
    --bg-card-hover: rgba(30, 41, 59, 0.88);
    --cyan: #22d3ee;
    --cyan-strong: #06b6d4;
    --blue: #3b82f6;
    --text: #f8fafc;
    --muted: #94a3b8;
    --line: rgba(34, 211, 238, 0.18);
    --line-strong: rgba(34, 211, 238, 0.38);
    --shadow: 0 24px 80px rgba(8, 145, 178, 0.18);
    --radius: 20px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    background:
        radial-gradient(circle at 12% 8%, rgba(34, 211, 238, 0.16), transparent 28rem),
        radial-gradient(circle at 88% 20%, rgba(59, 130, 246, 0.16), transparent 30rem),
        linear-gradient(180deg, #020617 0%, #07111f 50%, #020617 100%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.12) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
    z-index: -1;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.78), rgba(15, 23, 42, 0.95));
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(2, 6, 23, 0.36);
}

.header-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background:
        linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.48), transparent),
        radial-gradient(circle at 35% 0%, rgba(34, 211, 238, 0.36), transparent 18rem);
}

.nav-shell {
    position: relative;
    z-index: 1;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e0fbff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 32px rgba(34, 211, 238, 0.42);
}

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

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

.nav-link,
.mobile-link {
    color: #cbd5e1;
    padding: 10px 14px;
    border-radius: 12px;
    transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: white;
    background: rgba(34, 211, 238, 0.10);
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.25);
}

.desktop-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.desktop-search input,
.mobile-search input,
.filter-input,
.sort-select {
    border: 1px solid rgba(34, 211, 238, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    outline: none;
    border-radius: 14px;
    min-height: 42px;
    padding: 0 14px;
    transition: 0.25s ease;
}

.desktop-search input {
    width: 220px;
}

.desktop-search input:focus,
.mobile-search input:focus,
.filter-input:focus,
.sort-select:focus {
    border-color: rgba(34, 211, 238, 0.72);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08);
}

.desktop-search button,
.mobile-search button,
.primary-btn,
.secondary-btn,
.ghost-btn {
    border: 0;
    cursor: pointer;
    min-height: 42px;
    border-radius: 14px;
    padding: 0 18px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--cyan-strong), var(--blue));
    box-shadow: 0 14px 35px rgba(34, 211, 238, 0.22);
    transition: 0.25s ease;
}

.desktop-search button:hover,
.mobile-search button:hover,
.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(34, 211, 238, 0.34);
}

.secondary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 238, 0.08);
    color: #bff8ff;
    border: 1px solid rgba(34, 211, 238, 0.34);
    box-shadow: none;
}

.secondary-btn:hover,
.ghost-btn:hover {
    background: rgba(34, 211, 238, 0.14);
    border-color: rgba(34, 211, 238, 0.55);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: white;
}

.mobile-panel {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid rgba(34, 211, 238, 0.12);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.22), transparent 24rem),
        radial-gradient(circle at 76% 36%, rgba(59, 130, 246, 0.24), transparent 28rem),
        linear-gradient(135deg, #020617 0%, #082f49 45%, #020617 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.24;
    animation: floatGlow 7s ease-in-out infinite;
}

.hero::before {
    top: 10%;
    right: 12%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.72), transparent 64%);
}

.hero::after {
    bottom: 8%;
    left: 6%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.72), transparent 64%);
    animation-delay: 1.5s;
}

@keyframes floatGlow {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-24px) scale(1.06);
    }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
    padding: 72px 0 96px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    border: 1px solid rgba(34, 211, 238, 0.28);
    background: rgba(34, 211, 238, 0.10);
    padding: 9px 16px;
    border-radius: 999px;
    backdrop-filter: blur(12px);
    margin-bottom: 24px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.gradient-text {
    color: transparent;
    background: linear-gradient(90deg, var(--cyan), #60a5fa, var(--cyan));
    background-clip: text;
    -webkit-background-clip: text;
}

.hero p {
    color: #cbd5e1;
    font-size: 19px;
    line-height: 1.85;
    max-width: 680px;
    margin: 24px 0 0;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 520px;
    margin-top: 42px;
    border: 1px solid rgba(34, 211, 238, 0.16);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(12px);
}

.hero-stat {
    padding: 18px 12px;
    text-align: center;
}

.hero-stat + .hero-stat {
    border-left: 1px solid rgba(34, 211, 238, 0.16);
}

.hero-stat strong {
    display: block;
    color: var(--cyan);
    font-size: 24px;
    margin-bottom: 5px;
}

.hero-stat span {
    color: var(--muted);
    font-size: 13px;
}

.hero-showcase {
    position: relative;
    min-height: 520px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.26);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

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

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.18)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent 60%);
}

.hero-slide-content {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 28px;
}

.hero-slide-content .eyebrow,
.page-hero .eyebrow,
.detail-hero .eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--cyan);
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 13px;
}

.hero-slide-content h2 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.12;
    margin: 0 0 10px;
}

.hero-slide-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #cbd5e1;
}

.hero-dots {
    position: absolute;
    z-index: 3;
    top: 22px;
    right: 22px;
    display: flex;
    gap: 8px;
}

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

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

.hero-wave {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: -1px;
    color: #020617;
}

.main-section {
    padding: 76px 0;
}

.main-section.tight {
    padding-top: 38px;
}

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

.section-kicker {
    display: inline-flex;
    color: var(--cyan);
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 13px;
    margin-bottom: 10px;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.03em;
}

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

.section-link {
    color: var(--cyan);
    font-weight: 800;
    white-space: nowrap;
}

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

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

.movie-list {
    display: grid;
    gap: 16px;
}

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid rgba(34, 211, 238, 0.12);
    transition: 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: rgba(34, 211, 238, 0.34);
    box-shadow: 0 20px 55px rgba(8, 145, 178, 0.15);
}

.poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(34, 211, 238, 0.2), transparent 52%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(30, 64, 175, 0.36));
}

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

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

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

.poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.84), transparent 62%);
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    transform: translate(-50%, -50%) scale(0.88);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(6, 182, 212, 0.86);
    opacity: 0;
    box-shadow: 0 0 34px rgba(34, 211, 238, 0.55);
    transition: 0.28s ease;
}

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

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    color: white;
    font-weight: 900;
    font-size: 12px;
    padding: 6px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.26);
}

.movie-info {
    padding: 16px;
}

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

.movie-info h3 a {
    transition: color 0.22s ease;
}

.movie-info h3 a:hover {
    color: var(--cyan);
}

.movie-info p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta,
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #7dd3fc;
    font-size: 12px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.tag-row span,
.detail-tags span {
    color: #bff8ff;
    border: 1px solid rgba(34, 211, 238, 0.22);
    background: rgba(34, 211, 238, 0.08);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
}

.movie-card-list {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: stretch;
}

.movie-card-list .movie-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.movie-card-list .movie-info h3 {
    font-size: 22px;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    padding: 22px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 12rem),
        rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(34, 211, 238, 0.14);
    transition: 0.28s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: var(--shadow);
}

.category-card strong {
    display: block;
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
}

.category-card p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 18px;
}

.category-card span {
    color: var(--cyan);
    font-weight: 800;
}

.page-hero,
.detail-hero {
    position: relative;
    padding: 72px 0 48px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0%, rgba(34, 211, 238, 0.2), transparent 25rem),
        linear-gradient(180deg, rgba(8, 47, 73, 0.68), rgba(2, 6, 23, 0));
}

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

.page-hero p,
.detail-hero p {
    color: #cbd5e1;
    max-width: 820px;
    line-height: 1.8;
    font-size: 17px;
}

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

.breadcrumb a {
    color: #bff8ff;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.64);
    margin-bottom: 26px;
}

.filter-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-chip {
    border: 1px solid rgba(34, 211, 238, 0.22);
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 9px 13px;
    cursor: pointer;
    transition: 0.22s ease;
}

.filter-chip.is-active,
.filter-chip:hover {
    color: white;
    border-color: rgba(34, 211, 238, 0.55);
    background: rgba(34, 211, 238, 0.15);
}

.ranking-board {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
}

.ranking-list {
    display: grid;
    gap: 14px;
}

.ranking-item {
    display: grid;
    grid-template-columns: 58px 110px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(34, 211, 238, 0.12);
    background: rgba(15, 23, 42, 0.66);
    transition: 0.25s ease;
}

.ranking-item:hover {
    border-color: rgba(34, 211, 238, 0.36);
    background: rgba(30, 41, 59, 0.78);
}

.ranking-num {
    color: var(--cyan);
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

.ranking-thumb {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

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

.ranking-main h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.ranking-main p {
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
}

.ranking-score {
    color: #fde68a;
    font-weight: 900;
    white-space: nowrap;
}

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

.player-card,
.detail-card,
.side-card {
    border-radius: 28px;
    border: 1px solid rgba(34, 211, 238, 0.14);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.24);
}

.player-card {
    overflow: hidden;
}

.player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #020617;
    cursor: pointer;
}

.player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: black;
}

.play-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background:
        linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.18)),
        radial-gradient(circle at center, rgba(34, 211, 238, 0.22), transparent 36%);
    transition: 0.25s ease;
}

.player.is-playing .play-layer {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 86px;
    height: 86px;
    border: 0;
    border-radius: 999px;
    color: white;
    font-size: 34px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--cyan-strong), var(--blue));
    box-shadow: 0 0 54px rgba(34, 211, 238, 0.48);
    transition: 0.25s ease;
}

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

.player-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    color: #cbd5e1;
    border-top: 1px solid rgba(34, 211, 238, 0.12);
}

.detail-card {
    padding: 26px;
    margin-top: 24px;
}

.detail-card h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.detail-card p {
    color: #cbd5e1;
    line-height: 1.9;
    margin: 0 0 18px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.side-card {
    padding: 22px;
    margin-bottom: 22px;
}

.side-card h2,
.side-card h3 {
    margin: 0 0 16px;
}

.info-list {
    display: grid;
    gap: 12px;
}

.info-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(34, 211, 238, 0.10);
    padding-bottom: 10px;
}

.info-list span:first-child {
    color: var(--muted);
}

.mini-list {
    display: grid;
    gap: 12px;
}

.mini-item {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    align-items: center;
}

.mini-item img {
    width: 74px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
}

.mini-item h4 {
    margin: 0 0 6px;
    line-height: 1.35;
}

.mini-item span {
    color: var(--cyan);
    font-size: 12px;
}

.site-footer {
    margin-top: 72px;
    border-top: 1px solid rgba(34, 211, 238, 0.12);
    background: rgba(2, 6, 23, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    padding: 42px 0;
}

.footer-grid p {
    color: var(--muted);
    max-width: 640px;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    gap: 12px;
    align-content: center;
}

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

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

.footer-bottom {
    color: #64748b;
    text-align: center;
    padding: 18px;
    border-top: 1px solid rgba(34, 211, 238, 0.08);
}

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

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

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

    .hero-grid,
    .ranking-board,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        min-height: 460px;
    }
}

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

    .menu-toggle {
        display: inline-flex;
    }

    .mobile-panel.is-open {
        display: grid;
        gap: 10px;
    }

    .mobile-search {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .nav-shell {
        min-height: 66px;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding: 48px 0 82px;
        gap: 32px;
    }

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

    .hero-stat + .hero-stat {
        border-left: 0;
        border-top: 1px solid rgba(34, 211, 238, 0.16);
    }

    .hero-showcase {
        min-height: 390px;
        border-radius: 24px;
    }

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

    .filter-panel {
        grid-template-columns: 1fr;
    }

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

    .movie-card-list {
        grid-template-columns: 1fr;
    }

    .ranking-item {
        grid-template-columns: 42px 86px 1fr;
    }

    .ranking-score {
        grid-column: 3;
    }

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

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

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

    .hero h1,
    .page-hero h1,
    .detail-hero h1 {
        font-size: 36px;
    }

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

    .hero-actions,
    .detail-actions {
        display: grid;
    }

    .player-meta {
        display: grid;
    }
}
