:root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.88);
    --bg-card-strong: rgba(15, 23, 42, 0.96);
    --border: rgba(148, 163, 184, 0.18);
    --border-strong: rgba(34, 211, 238, 0.32);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --cyan: #22d3ee;
    --cyan-strong: #06b6d4;
    --blue: #3b82f6;
    --orange: #fb923c;
    --red: #ef4444;
    --shadow: 0 25px 70px rgba(0, 0, 0, 0.36);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --max: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(8, 145, 178, 0.24), transparent 34rem),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 42rem),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(16px);
}

.nav-shell,
.mobile-nav,
.footer-grid,
.footer-bottom,
.page-main,
.quick-search-panel,
.content-section,
.ranking-board {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.nav-shell {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 70px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.03em;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.28);
}

.logo-text {
    font-size: 1.18rem;
    white-space: nowrap;
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 12px;
    color: var(--muted-strong);
    font-size: 0.95rem;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.12);
}

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

.header-search input,
.mobile-search input,
.wide-search input,
.filter-panel input,
.filter-panel select {
    color: var(--text);
    background: rgba(2, 6, 23, 0.68);
    border: 1px solid var(--border);
    outline: none;
}

.header-search input {
    width: 240px;
    padding: 8px 10px 8px 14px;
    border: 0;
    background: transparent;
}

.header-search button,
.mobile-search button,
.wide-search button {
    border: 0;
    border-radius: 999px;
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    font-weight: 800;
    cursor: pointer;
}

.header-search button {
    padding: 8px 15px;
}

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

.mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--muted-strong);
}

.mobile-nav {
    padding: 0 0 16px;
}

.mobile-nav .nav-link {
    display: flex;
    margin-top: 8px;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.mobile-search input,
.mobile-search button {
    padding: 11px 14px;
    border-radius: 12px;
}

.mobile-search input {
    flex: 1;
}

.hero-section {
    position: relative;
    height: 70vh;
    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-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) brightness(0.7);
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.74) 42%, rgba(2, 6, 23, 0.24) 72%, rgba(2, 6, 23, 0.88) 100%),
        linear-gradient(0deg, #020617 0%, transparent 30%, rgba(2, 6, 23, 0.25) 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 56px;
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    left: 0;
    right: 0;
    padding: 90px 0 120px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-copy p,
.page-hero p,
.detail-one-line {
    max-width: 720px;
    color: var(--muted-strong);
    font-size: 1.08rem;
    line-height: 1.8;
}

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

.hero-tags span,
.detail-tags span,
.card-tags a,
.card-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted-strong);
    background: rgba(15, 23, 42, 0.58);
    font-size: 0.82rem;
    font-weight: 650;
}

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

.primary-btn,
.ghost-btn,
.section-more,
.inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 16px 40px rgba(6, 182, 212, 0.24);
}

.ghost-btn,
.section-more,
.inline-link {
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.58);
}

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

.hero-poster {
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    aspect-ratio: 3 / 4;
    background: rgba(15, 23, 42, 0.8);
}

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

.hero-poster:hover img {
    transform: scale(1.07);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
}

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

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

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

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(203, 213, 225, 0.5);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-thumbs {
    position: absolute;
    right: max(22px, calc((100vw - var(--max)) / 2));
    bottom: 28px;
    z-index: 7;
    display: flex;
    gap: 10px;
}

.hero-thumb {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 150px;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--muted-strong);
    background: rgba(15, 23, 42, 0.74);
    cursor: pointer;
}

.hero-thumb.active {
    border-color: var(--border-strong);
    color: var(--text);
    background: rgba(8, 145, 178, 0.22);
}

.hero-thumb img {
    width: 42px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 9px;
    object-fit: cover;
}

.hero-thumb span {
    overflow: hidden;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-search-panel,
.content-section,
.ranking-board,
.filter-panel,
.search-panel-page,
.detail-layout,
.player-section,
.detail-hero,
.page-hero {
    margin-top: 34px;
}

.quick-search-panel,
.filter-panel,
.search-panel-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
    align-items: center;
    gap: 22px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.64);
    box-shadow: var(--shadow);
}

.quick-search-panel h2,
.section-heading h2,
.ranking-board h2,
.detail-text h2,
.detail-aside h2,
.player-section h2,
.category-overview-body h2 {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1.15;
}

.wide-search {
    display: flex;
    gap: 10px;
}

.wide-search input {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 16px;
}

.wide-search button {
    min-width: 122px;
    padding: 0 20px;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-strong);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(8, 145, 178, 0.35));
}

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

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

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

.play-chip,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
}

.play-chip {
    right: 10px;
    bottom: 10px;
}

.rank-badge {
    left: 10px;
    top: 10px;
    color: #001018;
    background: linear-gradient(135deg, var(--orange), var(--cyan));
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 180px;
    padding: 14px;
}

.compact-card .card-body {
    min-height: 154px;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 0.78rem;
}

.card-body h3 {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.35;
}

.card-body h3 a:hover {
    color: var(--cyan);
}

.card-body p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 44px;
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-tags {
    margin-top: auto;
}

.card-tags a:hover {
    color: var(--cyan);
    border-color: var(--border-strong);
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
}

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

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

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

.category-name,
.category-count {
    position: absolute;
    left: 18px;
    z-index: 2;
}

.category-name {
    bottom: 42px;
    font-size: 1.25rem;
    font-weight: 850;
}

.category-count {
    bottom: 18px;
    color: var(--muted-strong);
    font-size: 0.9rem;
}

.page-main {
    padding-bottom: 56px;
}

.page-hero {
    padding: 44px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(8, 145, 178, 0.2), rgba(15, 23, 42, 0.9)),
        rgba(15, 23, 42, 0.74);
    box-shadow: var(--shadow);
}

.small-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 4rem);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.9rem;
}

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

.category-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.category-overview-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
}

.category-collage {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    min-height: 150px;
    background: var(--bg-soft);
}

.category-collage img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.category-overview-body {
    padding: 20px;
}

.category-overview-body p,
.footer-brand p,
.site-footer p,
.detail-text p {
    color: var(--muted-strong);
    line-height: 1.8;
}

.category-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.category-stats span {
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted-strong);
    font-size: 0.82rem;
}

.filter-panel {
    display: block;
}

.filter-row {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 14px;
}

.filter-row label {
    display: grid;
    gap: 8px;
    color: var(--muted-strong);
    font-size: 0.88rem;
    font-weight: 650;
}

.filter-panel input,
.filter-panel select {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
}

.filter-count,
.search-meta {
    margin: 16px 0 0;
    color: var(--muted);
}

.filter-count strong,
.search-meta strong {
    color: var(--cyan);
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 36px 54px minmax(0, 1fr) auto 52px;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg-card);
}

.ranking-row:hover {
    border-color: var(--border-strong);
}

.ranking-number {
    color: var(--cyan);
    font-weight: 900;
    text-align: center;
}

.ranking-row img {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
}

.ranking-title {
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-meta {
    color: var(--muted);
    font-size: 0.86rem;
}

.ranking-row strong {
    color: var(--orange);
}

.search-panel-page {
    display: block;
}

.detail-hero {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), transparent 30rem),
        var(--bg-card);
    box-shadow: var(--shadow);
}

.detail-poster {
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 3 / 4;
    background: var(--bg-soft);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 5vw, 4.8rem);
}

.player-section,
.detail-layout {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow);
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 9;
    background: #000;
}

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

.player-start {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: var(--text);
    background: radial-gradient(circle, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.72));
    cursor: pointer;
    font-weight: 850;
}

.video-shell.playing .player-start {
    opacity: 0;
    pointer-events: none;
}

.play-icon {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    color: #001018;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 20px 60px rgba(34, 211, 238, 0.32);
}

.player-message {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 8;
    padding: 10px 12px;
    border: 1px solid rgba(251, 146, 60, 0.4);
    border-radius: 12px;
    color: #fed7aa;
    background: rgba(15, 23, 42, 0.86);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
}

.detail-text h2,
.detail-aside h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.detail-text p + h2 {
    margin-top: 30px;
}

.meta-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.meta-list li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.meta-list span {
    color: var(--muted);
}

.meta-list strong {
    text-align: right;
}

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

.site-footer {
    margin-top: 60px;
    border-top: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 34px;
    padding: 42px 0 28px;
}

.footer-logo {
    margin-bottom: 14px;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: var(--text);
}

.site-footer ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer a,
.site-footer p,
.footer-bottom {
    color: var(--muted);
    font-size: 0.92rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--border);
}

@media (max-width: 1180px) {
    .movie-grid,
    .related-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

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

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

    .mobile-toggle {
        display: block;
    }

    .hero-section {
        height: auto;
        min-height: 660px;
    }

    .hero-content,
    .detail-hero,
    .detail-layout,
    .quick-search-panel,
    .filter-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 24px;
        padding-top: 92px;
    }

    .hero-poster {
        width: min(260px, 72vw);
    }

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

    .category-overview-grid,
    .ranking-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .nav-shell,
    .mobile-nav,
    .footer-grid,
    .footer-bottom,
    .page-main,
    .quick-search-panel,
    .content-section,
    .ranking-board {
        width: min(100% - 24px, var(--max));
    }

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

    .hero-copy h1,
    .page-hero h1,
    .detail-info h1 {
        font-size: 2.35rem;
    }

    .hero-copy p,
    .page-hero p,
    .detail-one-line {
        font-size: 0.98rem;
    }

    .hero-control {
        display: none;
    }

    .quick-search-panel,
    .filter-panel,
    .search-panel-page,
    .page-hero,
    .player-section,
    .detail-layout,
    .detail-hero {
        padding: 18px;
        border-radius: 18px;
    }

    .wide-search,
    .footer-bottom {
        flex-direction: column;
    }

    .wide-search button {
        min-height: 48px;
    }

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

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

    .ranking-row {
        grid-template-columns: 30px 48px minmax(0, 1fr) 42px;
    }

    .ranking-meta {
        display: none;
    }

    .card-body {
        min-height: 160px;
        padding: 12px;
    }
}
