:root {
    --bg: #070b13;
    --surface: #111827;
    --surface-soft: #1f2937;
    --card: rgba(15, 23, 42, 0.84);
    --card-strong: rgba(30, 41, 59, 0.92);
    --line: rgba(245, 158, 11, 0.18);
    --text: #f8fafc;
    --muted: #cbd5e1;
    --subtle: #94a3b8;
    --brand: #f59e0b;
    --brand-2: #f97316;
    --brand-3: #ef4444;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    --radius: 24px;
    --radius-sm: 16px;
}

* {
    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(245, 158, 11, 0.16), transparent 32rem),
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.12), transparent 30rem),
        linear-gradient(135deg, #0f172a 0%, #1c1917 46%, #0f172a 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 75%);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    border-bottom: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.88);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.header-inner {
    max-width: 1280px;
    height: 76px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 22px;
}

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

.logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.32);
}

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

.logo-text strong {
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #fbbf24, #fb923c, #fef3c7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text em {
    margin-top: 4px;
    color: var(--subtle);
    font-size: 12px;
    font-style: normal;
}

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

.nav-link {
    padding: 10px 15px;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 700;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.header-search {
    width: min(300px, 25vw);
    display: flex;
    align-items: center;
    padding: 5px;
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.44);
}

.header-search input,
.big-search input,
.page-filter input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}

.header-search input::placeholder,
.big-search input::placeholder,
.page-filter input::placeholder {
    color: rgba(203, 213, 225, 0.74);
}

.header-search button,
.big-search button {
    border: 0;
    border-radius: 14px;
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    font-weight: 850;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.header-search button:hover,
.big-search button:hover,
.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(249, 115, 22, 0.28);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 2px;
    background: #fff;
}

.mobile-nav {
    display: none;
    padding: 12px 22px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.96);
}

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

.mobile-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
}

.mobile-channel-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

main {
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    max-width: 1280px;
    min-height: 650px;
    margin: 0 auto;
    padding: 46px 22px 28px;
}

.hero-backdrop {
    position: absolute;
    inset: 24px 22px 32px;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.93), rgba(28, 25, 23, 0.82)),
        radial-gradient(circle at 28% 18%, rgba(245, 158, 11, 0.16), transparent 32rem);
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 46px 22px 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 42px;
    align-items: center;
    padding: 48px;
    opacity: 0;
    transform: translateX(24px) scale(0.985);
    pointer-events: none;
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-media {
    position: relative;
    order: 2;
    aspect-ratio: 4 / 5;
    min-height: 460px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.45);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.55), transparent 56%);
}

.hero-glow {
    position: absolute;
    inset: auto 16% -18% 16%;
    height: 36%;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.36);
    filter: blur(44px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 660px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 12px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 999px;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.12);
    font-size: 13px;
    font-weight: 800;
}

.hero-content h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.hero-content h1 {
    max-width: 720px;
    font-size: clamp(42px, 6vw, 78px);
}

.hero-content p,
.page-hero p,
.detail-one-line {
    color: var(--muted);
    font-size: 18px;
}

.hero-content p {
    max-width: 620px;
    margin: 22px 0 0;
}

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

.hero-tags {
    margin: 24px 0;
}

.hero-tags span,
.tag-row span {
    padding: 6px 10px;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 999px;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.1);
    font-size: 12px;
    font-weight: 750;
}

.hero-actions,
.detail-copy .primary-button {
    margin-top: 28px;
}

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

.primary-button {
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
}

.ghost-button {
    margin-left: 10px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
}

.ghost-button:hover,
.panel-more:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    font-size: 32px;
    line-height: 1;
}

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

.hero-dot.is-active {
    width: 28px;
    background: linear-gradient(90deg, #fbbf24, #fb923c);
}

.quick-panel,
.content-section,
.page-main,
.detail-main,
.site-footer .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 22px;
    padding-right: 22px;
}

.quick-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 28px;
}

.quick-panel a {
    min-height: 108px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, border 0.25s ease, background 0.25s ease;
}

.quick-panel a:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.32);
    background: rgba(245, 158, 11, 0.08);
}

.quick-panel strong {
    display: block;
    color: #fff;
    font-size: 20px;
}

.quick-panel span {
    color: var(--subtle);
}

.content-section {
    padding-top: 48px;
    padding-bottom: 48px;
}

.section-heading,
.category-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.section-heading > div:last-child {
    min-width: 0;
    flex: 1;
}

.section-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
    box-shadow: 0 18px 34px rgba(239, 68, 68, 0.22);
    font-size: 23px;
}

.section-heading h2,
.category-preview h2,
.detail-text-section h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.section-heading p,
.category-preview p {
    margin: 6px 0 0;
    color: var(--subtle);
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    transition: transform 0.28s ease, border 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: rgba(245, 158, 11, 0.34);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.5);
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.82), transparent 56%);
    opacity: 0.78;
}

.play-mini {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.movie-card:hover .play-mini {
    opacity: 1;
    transform: translateY(0);
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 12px;
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    font-size: 14px;
}

.movie-info {
    padding: 17px;
}

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

.movie-info h3 {
    margin: 9px 0 8px;
    color: #fff;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 850;
}

.movie-info h3 a:hover {
    color: #fbbf24;
}

.movie-info p {
    min-height: 48px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
}

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

.split-main .content-section {
    padding: 0;
}

.ranking-panel,
.category-preview,
.player-section,
.detail-text-section {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.74);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

.ranking-panel {
    padding: 22px;
}

.compact-heading {
    margin-bottom: 18px;
}

.compact-heading .section-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    font-size: 18px;
}

.compact-heading h2 {
    font-size: 24px;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 32px 56px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.25s ease, transform 0.25s ease;
}

.ranking-row:hover {
    background: rgba(245, 158, 11, 0.1);
    transform: translateX(3px);
}

.ranking-number {
    color: #fbbf24;
    font-weight: 900;
    text-align: center;
}

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

.ranking-copy {
    display: grid;
    min-width: 0;
}

.ranking-copy strong {
    overflow: hidden;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-copy em {
    overflow: hidden;
    color: var(--subtle);
    font-size: 12px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-score {
    color: #fbbf24;
    font-weight: 900;
}

.panel-more {
    width: 100%;
    margin-top: 16px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
}

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

.channel-card {
    display: grid;
    gap: 14px;
    min-height: 240px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.055);
    transition: transform 0.25s ease, border 0.25s ease, background 0.25s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.34);
    background: rgba(245, 158, 11, 0.08);
}

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

.channel-thumbs img {
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    object-fit: cover;
}

.channel-card strong {
    color: #fff;
    font-size: 20px;
}

.channel-card em {
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.page-main,
.detail-main {
    padding-top: 34px;
    padding-bottom: 56px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 36px;
    padding: 48px;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(28, 25, 23, 0.76)),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 30rem);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    max-width: 820px;
    font-size: clamp(38px, 5vw, 62px);
}

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

.page-filter,
.big-search {
    display: flex;
    max-width: 720px;
    margin-top: 24px;
    padding: 8px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 20px;
    background: rgba(2, 6, 23, 0.42);
}

.page-filter input,
.big-search input {
    padding: 12px 14px;
}

.big-search button {
    padding: 0 22px;
}

.category-preview-list {
    display: grid;
    gap: 26px;
}

.category-preview {
    padding: 24px;
}

.category-preview-head a {
    min-width: max-content;
    padding: 10px 16px;
    border-radius: 999px;
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    font-weight: 850;
}

.detail-main {
    max-width: 1280px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 24px;
    color: var(--subtle);
    font-size: 14px;
}

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

.detail-hero {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 34px;
    align-items: stretch;
    margin-bottom: 34px;
    padding: 28px;
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 34px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: var(--shadow);
}

.detail-poster {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}

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

.detail-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-copy h1 {
    font-size: clamp(36px, 5vw, 66px);
}

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

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.player-section {
    margin-bottom: 34px;
    padding: 24px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    cursor: pointer;
}

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

.play-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #fff;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.26));
    cursor: pointer;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

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

.play-layer-icon {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #111827;
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    font-size: 28px;
    box-shadow: 0 22px 50px rgba(249, 115, 22, 0.34);
}

.play-layer-title {
    max-width: min(90%, 680px);
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

.detail-text-section {
    margin-bottom: 34px;
    padding: 28px;
}

.detail-text-section h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 28px;
}

.detail-text-section p {
    margin-top: 0;
    color: var(--muted);
    font-size: 17px;
}

.sticky-panel {
    position: sticky;
    top: 98px;
}

.site-footer {
    margin-top: 60px;
    border-top: 1px solid rgba(245, 158, 11, 0.16);
    background: rgba(2, 6, 23, 0.66);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) 1fr 1fr;
    gap: 34px;
    padding-top: 42px;
    padding-bottom: 32px;
}

.footer-brand p {
    max-width: 520px;
    color: var(--subtle);
}

.footer-links h4 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
}

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

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

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

.copyright {
    margin: 0;
    padding: 16px 22px 26px;
    color: var(--subtle);
    text-align: center;
}

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

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

    .nav-toggle {
        display: inline-block;
    }

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

    .hero-media {
        order: 0;
        min-height: 310px;
        aspect-ratio: 16 / 9;
    }

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

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

    .split-section,
    .detail-hero,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    .header-inner {
        height: 66px;
        padding: 0 16px;
    }

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

    .logo-text strong {
        font-size: 19px;
    }

    .logo-text em {
        display: none;
    }

    .hero-carousel {
        min-height: 680px;
        padding: 18px 14px 24px;
    }

    .hero-backdrop {
        inset: 18px 14px 56px;
        border-radius: 26px;
    }

    .hero-slide {
        inset: 28px 14px 96px;
        padding: 22px;
        gap: 18px;
    }

    .hero-content h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: 34px;
    }

    .hero-content p,
    .page-hero p,
    .detail-one-line {
        font-size: 16px;
    }

    .hero-media {
        min-height: 260px;
        border-radius: 22px;
    }

    .hero-actions {
        display: grid;
        gap: 10px;
    }

    .ghost-button {
        margin-left: 0;
    }

    .quick-panel,
    .movie-grid,
    .compact-grid,
    .channel-grid {
        grid-template-columns: 1fr;
    }

    .content-section,
    .quick-panel,
    .page-main,
    .detail-main,
    .site-footer .footer-inner {
        padding-left: 14px;
        padding-right: 14px;
    }

    .page-hero,
    .detail-hero,
    .category-preview,
    .player-section,
    .detail-text-section,
    .ranking-panel {
        padding: 20px;
        border-radius: 24px;
    }

    .section-heading,
    .category-preview-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ranking-row {
        grid-template-columns: 28px 50px minmax(0, 1fr);
    }

    .ranking-score {
        display: none;
    }

    .detail-poster {
        max-width: none;
    }

    .detail-poster img {
        min-height: auto;
        aspect-ratio: 2 / 3;
    }

    .play-layer-icon {
        width: 62px;
        height: 62px;
    }

    .play-layer-title {
        font-size: 18px;
    }
}
