:root {
    --page-bg: #f7fbff;
    --surface: #ffffff;
    --text: #111827;
    --muted: #64748b;
    --line: #e5e7eb;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #06b6d4;
    --amber: #f59e0b;
    --deep: #0f172a;
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    --soft-shadow: 0 14px 35px rgba(37, 99, 235, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #f9fafb 0%, #eef6ff 100%);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px);
}

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

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

.logo-mark {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 14px 24px rgba(37, 99, 235, 0.28);
}

.logo-text {
    font-size: 20px;
}

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

.desktop-nav a,
.mobile-panel a {
    padding: 10px 14px;
    border-radius: 999px;
    color: #475569;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
    color: var(--primary);
    background: #eff6ff;
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #ffffff;
}

.header-search input,
.mobile-search input,
.filter-search input,
.filter-bar select {
    border: 0;
    outline: 0;
    color: #0f172a;
    background: transparent;
}

.header-search input,
.mobile-search input {
    width: 190px;
    padding: 8px 6px 8px 12px;
}

.header-search button,
.mobile-search button {
    border: 0;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--primary);
    cursor: pointer;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #eff6ff;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--primary);
    border-radius: 10px;
}

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

.mobile-panel.is-open {
    display: block;
}

.mobile-panel nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.hero {
    position: relative;
    height: min(640px, 82vh);
    min-height: 520px;
    overflow: hidden;
    background: linear-gradient(120deg, #172554, #075985);
}

.hero-stage,
.hero-slide,
.hero-slide img,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 7s ease;
}

.hero-slide.is-active img {
    transform: scale(1.12);
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(15, 23, 42, 0.62) 46%, rgba(15, 23, 42, 0.08) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.68) 0%, transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1180px;
    color: #ffffff;
}

.hero-kicker,
.eyebrow,
.page-hero span,
.detail-heading span,
.panel-text span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.25);
}

.hero-content h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-content p {
    max-width: 650px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.6;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

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

.primary-btn,
.ghost-btn,
.light-btn,
.text-link,
.category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-btn {
    padding: 14px 26px;
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.35);
}

.primary-btn:hover,
.light-btn:hover {
    transform: translateY(-2px) scale(1.02);
    background: var(--primary-dark);
}

.ghost-btn {
    padding: 13px 22px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-50%) scale(1.06);
}

.hero-arrow.prev {
    left: 24px;
}

.hero-arrow.next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 32px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: #ffffff;
}

.page-section {
    padding: 58px 0;
}

.category-strip {
    position: relative;
    z-index: 6;
    margin-top: -54px;
}

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

.category-card,
.category-overview-card,
.detail-card,
.side-card,
.ranking-box,
.recommend-box {
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--soft-shadow);
}

.category-card {
    padding: 24px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.movie-card:hover,
.category-overview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.category-card span,
.category-overview-card span:first-child {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    font-size: 22px;
    font-weight: 900;
}

.category-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--deep);
    font-size: 18px;
}

.category-card em {
    display: block;
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
    line-height: 1.65;
}

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

.section-head h2 {
    margin: 0;
    color: var(--deep);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-head p {
    max-width: 640px;
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.section-head a,
.text-link {
    color: var(--primary);
    font-weight: 800;
}

.section-head a:hover,
.text-link:hover {
    color: var(--primary-dark);
}

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

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dbeafe;
}

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

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

.poster-type,
.rank-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--primary);
    font-size: 12px;
    font-weight: 900;
}

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

.movie-body {
    padding: 18px;
}

.movie-body h2,
.movie-body h3 {
    margin: 0 0 10px;
    color: var(--deep);
    font-size: 18px;
    line-height: 1.35;
}

.movie-body h2 a,
.movie-body h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card:hover h2 a,
.movie-card:hover h3 a {
    color: var(--primary);
}

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

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 13px;
}

.movie-meta span,
.movie-meta a {
    padding: 4px 9px;
    border-radius: 999px;
    background: #f1f5f9;
}

.movie-meta a {
    color: var(--primary);
}

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

.tag-row span,
.detail-tags a {
    padding: 6px 9px;
    border-radius: 999px;
    color: #475569;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 700;
}

.gradient-panel {
    display: grid;
    grid-template-columns: 0.95fr 1.3fr;
    align-items: center;
    gap: 28px;
    padding: 40px;
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 30%),
        linear-gradient(135deg, #2563eb, #0891b2);
    box-shadow: var(--shadow);
}

.panel-text h2 {
    margin: 0 0 18px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.panel-text p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.8;
}

.light-btn {
    padding: 12px 20px;
    color: var(--primary);
    background: #ffffff;
}

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

.movie-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    color: var(--deep);
    background: rgba(255, 255, 255, 0.92);
    transition: transform 0.2s ease, background 0.2s ease;
}

.movie-row:hover {
    transform: translateX(4px);
    background: #ffffff;
}

.movie-row img {
    width: 76px;
    height: 64px;
    flex: 0 0 auto;
    border-radius: 14px;
    object-fit: cover;
}

.movie-row span {
    min-width: 0;
}

.movie-row strong,
.movie-row em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-row strong {
    margin-bottom: 5px;
    color: var(--deep);
}

.movie-row em {
    color: #64748b;
    font-size: 13px;
    font-style: normal;
}

.row-rank {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber), #ef4444);
    font-weight: 900;
}

.split-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 24px;
}

.ranking-box,
.recommend-box,
.side-card {
    padding: 24px;
}

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

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.28), transparent 28%),
        linear-gradient(135deg, #1e3a8a, #075985 55%, #0f172a 100%);
}

.page-hero h1 {
    max-width: 850px;
    margin: 0 0 16px;
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
}

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

.breadcrumb a {
    color: var(--primary);
    font-weight: 750;
}

.breadcrumb.light {
    margin: 0 0 36px;
    color: rgba(255, 255, 255, 0.76);
}

.breadcrumb.light a {
    color: #ffffff;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    padding: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-preview img {
    width: 100%;
    height: 82px;
    border-radius: 14px;
    object-fit: cover;
}

.category-overview-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.category-overview-card p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.75;
}

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

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 12px;
    border: 1px solid rgba(219, 234, 254, 0.9);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.filter-search {
    flex: 1 1 260px;
    min-height: 46px;
    display: flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
}

.filter-search.wide {
    flex-basis: 420px;
}

.filter-search input {
    width: 100%;
    padding: 12px 16px;
}

.filter-bar select {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
}

.empty-state {
    padding: 28px;
    border-radius: 20px;
    color: #64748b;
    background: #ffffff;
    text-align: center;
    box-shadow: var(--soft-shadow);
}

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

.detail-hero {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    color: #ffffff;
    background: #020617;
}

.detail-bg,
.detail-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.detail-bg {
    object-fit: cover;
    filter: blur(10px);
    transform: scale(1.08);
    opacity: 0.62;
}

.detail-overlay {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.64)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.86), transparent 60%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 52px 0 70px;
}

.detail-heading h1 {
    max-width: 980px;
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.detail-heading p {
    max-width: 860px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
    line-height: 1.75;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
    margin-top: -92px;
    padding-bottom: 70px;
    position: relative;
    z-index: 5;
}

.detail-main {
    display: grid;
    gap: 24px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    background: #000000;
    box-shadow: var(--shadow);
}

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

.play-layer {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25), rgba(2, 6, 23, 0.58));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-layer span {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    font-size: 30px;
    box-shadow: 0 20px 42px rgba(37, 99, 235, 0.4);
}

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

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

.detail-card {
    padding: 30px;
}

.detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.detail-card h2 {
    margin: 0 0 16px;
    color: var(--deep);
    font-size: 28px;
    letter-spacing: -0.03em;
}

.detail-card p {
    margin: 0;
    color: #334155;
    font-size: 16px;
    line-height: 1.9;
}

.detail-card .lead-text {
    margin-bottom: 14px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 750;
}

.category-pill {
    flex: 0 0 auto;
    padding: 10px 14px;
    color: #ffffff;
    background: var(--primary);
}

.tag-card .eyebrow {
    margin-bottom: 18px;
}

.detail-tags a {
    padding: 9px 13px;
    color: #334155;
    background: #f1f5f9;
}

.detail-tags a:hover {
    color: #ffffff;
    background: var(--primary);
}

.detail-side {
    min-width: 0;
}

.sticky-card {
    position: sticky;
    top: 96px;
}

.side-card h2 {
    margin: 0 0 18px;
    color: var(--deep);
    font-size: 24px;
}

.side-grid {
    gap: 16px;
}

.movie-card.compact .movie-poster {
    aspect-ratio: 16 / 9;
}

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

.movie-card.compact .movie-body h3,
.movie-card.compact .movie-body h2 {
    font-size: 16px;
}

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

.site-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    background: #ffffff;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    padding: 38px 0;
}

.footer-inner p {
    max-width: 560px;
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.footer-links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: #475569;
    background: #f8fafc;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--primary);
    background: #eff6ff;
}

[hidden] {
    display: none !important;
}

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

    .mobile-toggle {
        display: block;
        margin-left: auto;
    }

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

    .gradient-panel,
    .split-layout,
    .category-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-layout {
        margin-top: -60px;
    }

    .sticky-card {
        position: static;
    }
}

@media (max-width: 780px) {
    .header-inner {
        min-height: 64px;
    }

    .logo-text {
        font-size: 17px;
    }

    .hero {
        min-height: 620px;
        height: 74vh;
    }

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

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .hero-arrow {
        display: none;
    }

    .category-strip {
        margin-top: -34px;
    }

    .category-grid,
    .movie-grid,
    .featured-grid,
    .small-grid,
    .panel-list,
    .rank-grid,
    .side-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .gradient-panel {
        padding: 28px;
    }

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

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

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .container,
    .header-inner,
    .mobile-panel,
    .footer-inner,
    .hero-content {
        width: min(100% - 24px, 1180px);
    }

    .hero {
        min-height: 660px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-actions,
    .hero-meta {
        gap: 10px;
    }

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

    .category-grid,
    .movie-grid,
    .featured-grid,
    .small-grid,
    .panel-list,
    .rank-grid,
    .side-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

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

    .page-hero {
        padding: 54px 0;
    }

    .detail-hero-inner {
        padding: 38px 0 84px;
    }

    .detail-card,
    .ranking-box,
    .recommend-box,
    .side-card {
        padding: 20px;
    }

    .detail-title-row {
        flex-direction: column;
    }

    .movie-row {
        align-items: flex-start;
    }
}
