:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.82);
    --panel-strong: rgba(15, 23, 42, 0.96);
    --line: rgba(34, 211, 238, 0.22);
    --text: #f8fafc;
    --muted: #94a3b8;
    --cyan: #22d3ee;
    --blue: #38bdf8;
    --orange: #fb923c;
    --pink: #f472b6;
    --green: #34d399;
    --shadow: 0 24px 70px rgba(8, 145, 178, 0.18);
    --radius: 22px;
}

* {
    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(34, 211, 238, 0.18), transparent 34rem),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 32rem),
        linear-gradient(180deg, #020617 0%, #07111f 42%, #020617 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    content: "";
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 85%);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.9);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1280px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
}

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

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.5);
    border-radius: 14px;
    color: #07111f;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.34);
    font-weight: 900;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

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

.brand-text small {
    margin-top: 4px;
    color: rgba(125, 211, 252, 0.78);
    font-size: 12px;
}

.brand.compact .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

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

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

.nav-link {
    padding: 10px 15px;
    font-size: 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: #cffafe;
    background: rgba(8, 145, 178, 0.24);
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.18);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--cyan);
    background: rgba(15, 23, 42, 0.78);
}

.menu-button span {
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: var(--cyan);
}

.mobile-nav {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel-strong);
}

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

.mobile-nav-link {
    padding: 12px 14px;
}

.hero {
    position: relative;
    height: clamp(560px, 72vh, 780px);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s ease;
    transform: scale(1.02);
    pointer-events: none;
}

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

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.72) 42%, rgba(2, 6, 23, 0.2) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.95) 0%, transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(1280px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    justify-content: center;
    flex-direction: column;
    max-width: 760px;
    padding-top: 44px;
}

.hero-eyebrow,
.detail-kicker,
.page-hero span {
    display: inline-flex;
    width: max-content;
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(34, 211, 238, 0.32);
    border-radius: 999px;
    color: #a5f3fc;
    background: rgba(8, 145, 178, 0.2);
    box-shadow: 0 10px 28px rgba(8, 145, 178, 0.18);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.hero h1,
.hero h2,
.page-hero h1,
.detail-panel h1 {
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.hero h1,
.hero h2 {
    max-width: 760px;
    font-size: clamp(42px, 7vw, 86px);
    text-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.hero-content p {
    max-width: 680px;
    margin: 22px 0 0;
    color: #dbeafe;
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.85;
}

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

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

.hero-tags span,
.tag-row span {
    padding: 7px 11px;
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 999px;
    color: #bae6fd;
    background: rgba(15, 23, 42, 0.62);
    font-size: 12px;
}

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

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

.primary-button {
    color: #02111f;
    background: linear-gradient(135deg, var(--cyan), #60a5fa);
    box-shadow: 0 18px 38px rgba(34, 211, 238, 0.28);
}

.ghost-button {
    border: 1px solid rgba(125, 211, 252, 0.32);
    color: #cffafe;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.movie-card:hover,
.category-tile:hover,
.category-card:hover {
    transform: translateY(-3px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(125, 211, 252, 0.28);
    border-radius: 50%;
    color: #e0f2fe;
    background: rgba(2, 6, 23, 0.48);
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
    font-size: 32px;
    transition: 0.25s ease;
}

.hero-arrow:hover {
    background: rgba(8, 145, 178, 0.55);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

.hero-dot.is-active {
    width: 34px;
    background: var(--cyan);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.64);
}

main,
.page-main,
.detail-main {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

main {
    padding-bottom: 56px;
}

.search-panel,
.content-section,
.page-hero,
.detail-hero,
.story-card,
.category-card {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
    gap: 22px;
    align-items: center;
    margin: 42px 0;
    padding: 26px;
    border-radius: var(--radius);
}

.search-panel h2,
.ranking-head h2,
.footer-links h2 {
    margin: 0 0 8px;
    color: #cffafe;
}

.search-panel p,
.section-heading p,
.category-tile p,
.category-card p,
.footer-brand p,
.page-hero p,
.story-card p,
.detail-one-line {
    color: var(--muted);
    line-height: 1.8;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(125, 211, 252, 0.25);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.56);
}

.search-box span {
    color: var(--cyan);
    font-weight: 800;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.quick-links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-links a {
    padding: 8px 13px;
    border-radius: 999px;
    color: #bae6fd;
    background: rgba(8, 145, 178, 0.15);
}

.content-section {
    margin: 42px 0;
    padding: clamp(22px, 3vw, 34px);
    border-radius: var(--radius);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
}

.section-heading > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: #02111f;
    background: linear-gradient(135deg, var(--cyan), #60a5fa);
    font-weight: 900;
    box-shadow: 0 16px 32px rgba(34, 211, 238, 0.22);
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #a5f3fc, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-heading p {
    margin: 3px 0 0;
}

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

.rail-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
}

.movie-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.16);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.78);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    transition: 0.25s ease;
}

.movie-card[hidden] {
    display: none;
}

.movie-card:hover {
    border-color: rgba(34, 211, 238, 0.48);
    box-shadow: 0 24px 60px rgba(8, 145, 178, 0.23);
}

.movie-thumb {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #020617;
}

.movie-thumb::after {
    position: absolute;
    inset: auto 0 0;
    height: 55%;
    content: "";
    background: linear-gradient(transparent, rgba(2, 6, 23, 0.86));
}

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

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

.type-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.type-badge {
    right: 10px;
    bottom: 10px;
    padding: 6px 9px;
    color: #02111f;
    background: linear-gradient(135deg, var(--cyan), #93c5fd);
}

.rank-badge {
    top: 10px;
    left: 10px;
    display: grid;
    min-width: 34px;
    height: 30px;
    place-items: center;
    color: #fef3c7;
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid rgba(251, 191, 36, 0.46);
}

.movie-card-body {
    padding: 14px;
}

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

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

.movie-meta,
.movie-desc {
    margin: 8px 0 0;
}

.movie-meta {
    color: #7dd3fc;
    font-size: 12px;
}

.movie-desc {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tag-row {
    margin-top: 12px;
}

.compact-card .movie-card-body {
    padding: 12px;
}

.compact-card .movie-desc,
.compact-card .tag-row {
    display: none;
}

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

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

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

.ranking-panel {
    position: sticky;
    top: 98px;
    align-self: start;
    padding: 20px;
    border: 1px solid rgba(251, 146, 60, 0.22);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.78));
    box-shadow: 0 22px 55px rgba(251, 146, 60, 0.12);
}

.ranking-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.ranking-head a {
    color: #fed7aa;
    font-size: 13px;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 42px 52px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px;
    border: 1px solid rgba(251, 146, 60, 0.13);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.38);
    transition: 0.2s ease;
}

.ranking-item:hover {
    border-color: rgba(251, 146, 60, 0.42);
    background: rgba(251, 146, 60, 0.1);
}

.ranking-item span {
    color: #fdba74;
    font-size: 18px;
    font-weight: 900;
}

.ranking-item img {
    width: 52px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
}

.ranking-item strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-item em {
    grid-column: 3;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

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

.category-tile,
.category-card {
    border-radius: 20px;
    transition: 0.25s ease;
}

.category-tile {
    padding: 20px;
    border: 1px solid rgba(125, 211, 252, 0.16);
    background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 52%), rgba(15, 23, 42, 0.74);
}

.category-tile-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.category-tile-main span,
.category-card h2 {
    color: #cffafe;
    font-size: 22px;
    font-weight: 900;
}

.category-tile-main strong {
    color: var(--cyan);
    font-size: 13px;
}

.category-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.category-mini-links a {
    padding: 7px 10px;
    border-radius: 999px;
    color: #bae6fd;
    background: rgba(8, 145, 178, 0.15);
    font-size: 12px;
}

.page-main {
    padding: 42px 0 60px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    padding: clamp(28px, 5vw, 52px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 78% 20%, rgba(34, 211, 238, 0.22), transparent 26rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.96));
}

.page-hero h1 {
    max-width: 760px;
    font-size: clamp(38px, 6vw, 72px);
}

.page-hero p {
    max-width: 720px;
    margin: 18px 0 0;
    font-size: 18px;
}

.slim-hero {
    min-height: 260px;
}

.category-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
}

.category-cover-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    min-height: 210px;
}

.category-cover-stack img {
    height: 185px;
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.category-cover-stack img:nth-child(1) {
    transform: rotate(-7deg) translateX(16px);
}

.category-cover-stack img:nth-child(2) {
    z-index: 2;
    height: 210px;
}

.category-cover-stack img:nth-child(3) {
    transform: rotate(7deg) translateX(-16px);
}

.inline-search {
    margin-top: 28px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin: 28px 0 18px;
    color: var(--muted);
    font-size: 14px;
}

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

.detail-main {
    padding-bottom: 60px;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap: 26px;
    padding: 24px;
    border-radius: 28px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 26px;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    cursor: pointer;
}

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

.play-trigger {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 14px 20px 14px 14px;
    color: #fff;
    background: rgba(2, 6, 23, 0.72);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(12px);
    transform: translate(-50%, -50%);
}

.play-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    color: #02111f;
    background: linear-gradient(135deg, var(--cyan), #60a5fa);
}

.player-shell.is-playing .play-trigger {
    display: none;
}

.detail-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px;
}

.detail-panel h1 {
    font-size: clamp(34px, 5vw, 58px);
}

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

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 0;
}

.detail-meta-grid div {
    padding: 13px;
    border: 1px solid rgba(125, 211, 252, 0.15);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.35);
}

.detail-meta-grid span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.detail-meta-grid strong {
    display: block;
    margin-top: 4px;
    color: #e0f2fe;
}

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

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 24px;
    margin-top: 32px;
}

.story-card {
    padding: clamp(22px, 3vw, 34px);
    border-radius: 24px;
}

.story-card h2 {
    margin: 0 0 16px;
    color: #cffafe;
    font-size: 24px;
}

.story-card p {
    margin: 0;
    font-size: 16px;
}

.accent-card {
    background: radial-gradient(circle at top right, rgba(251, 146, 60, 0.15), transparent 18rem), var(--panel);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.92));
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.4fr));
    gap: 36px;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 36px;
}

.footer-brand p {
    max-width: 560px;
    margin: 18px 0 0;
}

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

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

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

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: #64748b;
    font-size: 13px;
}

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

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

    .ranking-panel {
        position: static;
    }
}

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

    .menu-button {
        display: flex;
    }

    .hero {
        height: 620px;
    }

    .hero-content {
        padding-top: 20px;
    }

    .hero-arrow {
        display: none;
    }

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

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

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

    .category-cover-stack {
        min-height: 170px;
    }

    .category-cover-stack img {
        height: 150px;
    }

    .category-cover-stack img:nth-child(2) {
        height: 170px;
    }
}

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

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

    .brand-text small {
        display: none;
    }

    .hero {
        height: 610px;
    }

    .hero h1,
    .hero h2 {
        font-size: 38px;
    }

    .hero-tags,
    .hero-actions,
    .page-actions {
        gap: 8px;
    }

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

    .movie-grid,
    .small-grid,
    .ranking-grid,
    .category-grid,
    .category-card-grid {
        gap: 14px;
    }

    .movie-card-body {
        padding: 11px;
    }

    .movie-card h3 {
        font-size: 14px;
    }

    .movie-desc,
    .tag-row {
        display: none;
    }

    .detail-hero {
        padding: 14px;
    }

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

    .play-trigger {
        padding: 10px 14px 10px 10px;
    }

    .play-icon {
        width: 38px;
        height: 38px;
    }
}
