:root {
    color-scheme: light;
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 14px 30px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
    --radius-lg: 18px;
    --radius-xl: 28px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--gray-800);
    background: linear-gradient(180deg, #ffffff 0%, rgba(240, 249, 255, 0.55) 48%, rgba(255, 251, 235, 0.65) 100%);
}

body.no-scroll {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(240, 249, 255, 0.95), rgba(255, 251, 235, 0.95), rgba(240, 249, 255, 0.95));
    border-bottom: 1px solid rgba(14, 165, 233, 0.16);
    box-shadow: 0 10px 24px rgba(2, 132, 199, 0.08);
    backdrop-filter: blur(14px);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    font-size: 22px;
    background: linear-gradient(135deg, var(--sky-500), var(--amber-500));
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.26);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.24);
}

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

.brand-text strong,
.footer-brand strong {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--sky-600), var(--amber-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    color: var(--gray-500);
    font-style: normal;
    font-size: 12px;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--sky-600);
    background: linear-gradient(90deg, rgba(224, 242, 254, 0.9), rgba(254, 243, 199, 0.9));
    transform: translateY(-1px);
}

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

.header-search input,
.mobile-search input,
.page-search-input,
.page-category-select {
    border: 1px solid rgba(14, 165, 233, 0.22);
    background: rgba(255, 255, 255, 0.86);
    color: var(--gray-800);
    outline: 0;
    border-radius: 999px;
    padding: 11px 16px;
    min-width: 0;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-search input {
    width: 210px;
}

.header-search input:focus,
.mobile-search input:focus,
.page-search-input:focus,
.page-category-select:focus {
    border-color: var(--sky-500);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.header-search button,
.mobile-search button {
    border: 0;
    color: #ffffff;
    border-radius: 999px;
    padding: 11px 16px;
    background: linear-gradient(90deg, var(--sky-500), var(--amber-500));
    box-shadow: var(--shadow-sm);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(224, 242, 254, 0.72);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
}

.mobile-toggle span {
    height: 2px;
    border-radius: 999px;
    background: var(--gray-800);
}

.mobile-panel {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px 18px;
    animation: fadeIn 0.28s ease both;
}

.mobile-panel nav {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.mobile-search input {
    flex: 1;
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--gray-900);
}

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

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

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

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

.hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.08));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
}

.hero-content .eyebrow,
.detail-eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.88), rgba(245, 158, 11, 0.88));
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.hero-content h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.06em;
    text-shadow: 0 16px 50px rgba(0, 0, 0, 0.55);
}

.hero-content p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.75;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.hero-tags,
.tag-row,
.detail-tags,
.category-chip-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 13px;
    backdrop-filter: blur(8px);
}

.tag-row span {
    background: linear-gradient(90deg, rgba(224, 242, 254, 0.92), rgba(254, 243, 199, 0.92));
    color: var(--gray-700);
}

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

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

.primary-btn {
    color: #ffffff;
    background: linear-gradient(90deg, var(--sky-500), var(--amber-500));
    box-shadow: 0 20px 36px rgba(14, 165, 233, 0.28);
}

.primary-btn:hover,
.ghost-btn:hover,
.soft-btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.ghost-btn {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.soft-btn {
    color: var(--sky-600);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, transform 0.25s ease;
}

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

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

.hero-dot.active {
    width: 34px;
    background: #ffffff;
}

.main-section,
.page-hero,
.detail-layout,
.player-section,
.text-section,
.related-section,
.category-grid-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 56px 20px;
}

.tint-section {
    background: linear-gradient(90deg, rgba(224, 242, 254, 0.52), rgba(254, 243, 199, 0.52));
    padding: 56px 0;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 34px);
    color: var(--gray-800);
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 6px 0 0;
    color: var(--gray-500);
}

.heading-line {
    width: 6px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--sky-500), var(--amber-500));
}

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

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

.movie-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.09);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.22);
    box-shadow: var(--shadow-md);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sky-100), var(--amber-100));
}

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

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

.poster-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.44));
    pointer-events: none;
}

.rank-badge,
.mini-rank {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 32px;
    padding: 0 9px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sky-500), var(--amber-500));
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 10px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--gray-500);
    font-size: 13px;
}

.card-body h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    color: var(--gray-900);
}

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

.card-body p {
    margin: 0;
    color: var(--gray-500);
    line-height: 1.7;
    font-size: 14px;
}

.movie-card.large {
    min-width: 310px;
}

.horizontal-scroll {
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.horizontal-track {
    display: flex;
    gap: 22px;
    min-width: max-content;
}

.filter-panel {
    margin-bottom: 24px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.filter-panel strong {
    display: block;
    color: var(--gray-900);
    font-size: 18px;
}

.filter-panel span {
    color: var(--gray-500);
    font-size: 14px;
}

.filter-controls {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.page-search-input {
    width: min(320px, 72vw);
}

.page-category-select {
    min-width: 150px;
}

.no-results {
    display: none;
    margin-top: 24px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    color: var(--gray-500);
    box-shadow: var(--shadow-sm);
}

.no-results.show {
    display: block;
}

.promo-band {
    max-width: var(--container);
    margin: 0 auto;
    padding: 56px 20px;
}

.promo-inner {
    display: grid;
    place-items: center;
    text-align: center;
    min-height: 230px;
    padding: 40px;
    border-radius: 32px;
    color: #ffffff;
    background: linear-gradient(120deg, var(--sky-500), var(--amber-500));
    box-shadow: var(--shadow-lg);
}

.promo-inner h2 {
    margin: 0 0 10px;
    font-size: clamp(30px, 5vw, 46px);
    letter-spacing: -0.05em;
}

.promo-inner p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

.page-hero {
    padding-top: 58px;
    padding-bottom: 34px;
}

.page-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 42px;
    color: #ffffff;
    background: linear-gradient(120deg, rgba(2, 132, 199, 0.95), rgba(245, 158, 11, 0.95));
    box-shadow: var(--shadow-lg);
}

.page-hero-card::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.page-hero-card h1 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.06em;
}

.page-hero-card p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    padding: 24px;
    border-radius: var(--radius-lg);
    color: var(--gray-800);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(245, 158, 11, 0.18));
}

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

.category-card strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
}

.category-card span {
    position: relative;
    z-index: 1;
    color: var(--gray-500);
}

.category-chip-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, color 0.25s ease;
}

.category-chip-row a:hover {
    color: var(--sky-600);
    transform: translateY(-2px);
}

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

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

.rank-row {
    display: grid;
    grid-template-columns: 64px 88px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--sky-500), var(--amber-500));
}

.rank-row img {
    width: 88px;
    height: 118px;
    object-fit: cover;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--sky-100), var(--amber-100));
}

.rank-row h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.rank-row p {
    margin: 0;
    color: var(--gray-500);
    line-height: 1.6;
}

.rank-score {
    color: var(--amber-600);
    font-weight: 900;
    white-space: nowrap;
}

.compact-panel {
    position: sticky;
    top: 96px;
    height: fit-content;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.compact-panel h2,
.compact-panel h3 {
    margin: 0 0 16px;
    font-size: 22px;
}

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

.compact-card {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.compact-card img {
    width: 76px;
    height: 100px;
    object-fit: cover;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--sky-100), var(--amber-100));
}

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

.compact-card strong {
    color: var(--gray-900);
    margin-bottom: 5px;
}

.compact-card em {
    color: var(--gray-500);
    font-style: normal;
    font-size: 13px;
}

.mini-rank {
    top: 6px;
    left: 6px;
    height: 24px;
    min-width: 28px;
    font-size: 12px;
}

.detail-hero {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    color: #ffffff;
    background: var(--gray-900);
}

.detail-hero-bg,
.detail-hero-bg img,
.detail-hero-bg::after {
    position: absolute;
    inset: 0;
}

.detail-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(6px);
    transform: scale(1.08);
    opacity: 0.58;
}

.detail-hero-bg::after {
    content: "";
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.36));
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    padding: 70px 20px 50px;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 34px;
    align-items: end;
}

.detail-poster {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--sky-100), var(--amber-100));
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

.breadcrumbs a:hover {
    color: #ffffff;
}

.detail-info h1 {
    margin: 14px 0 14px;
    font-size: clamp(34px, 6vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.detail-info p {
    max-width: 760px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.75;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.player-section {
    padding-top: 34px;
}

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

.player-card video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    border: 0;
    color: #ffffff;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28));
    display: grid;
    place-items: center;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-card.is-playing .player-cover {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-icon {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 7px;
    color: #ffffff;
    font-size: 48px;
    background: linear-gradient(135deg, var(--sky-500), var(--amber-500));
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}

.player-cover:hover .play-icon {
    transform: scale(1.08);
}

.text-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 28px;
    padding-top: 20px;
}

.article-card,
.related-box {
    border-radius: var(--radius-lg);
    padding: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.article-card + .article-card {
    margin-top: 22px;
}

.article-card h2,
.related-box h2 {
    margin: 0 0 18px;
    color: var(--gray-900);
    font-size: 26px;
}

.article-card p {
    margin: 0;
    color: var(--gray-700);
    font-size: 17px;
    line-height: 1.9;
    text-align: justify;
    white-space: pre-line;
}

.related-box {
    position: sticky;
    top: 96px;
    height: fit-content;
}

.site-footer {
    margin-top: 54px;
    background: rgba(255, 255, 255, 0.82);
    border-top: 1px solid rgba(14, 165, 233, 0.12);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 34px 20px;
    display: grid;
    gap: 22px;
}

.footer-brand p {
    margin: 6px 0 0;
    color: var(--gray-500);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}

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

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

.footer-copy {
    margin: 0;
    color: var(--gray-500);
    font-size: 14px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .mobile-toggle {
        display: flex;
    }

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

    .rank-layout,
    .text-section {
        grid-template-columns: 1fr;
    }

    .compact-panel,
    .related-box {
        position: static;
    }
}

@media (max-width: 820px) {
    .hero-slider {
        height: 560px;
    }

    .hero-arrow {
        display: none;
    }

    .movie-grid,
    .movie-grid.three-cols,
    .category-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .filter-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-controls {
        justify-content: stretch;
    }

    .page-search-input,
    .page-category-select {
        flex: 1 1 100%;
        width: 100%;
    }

    .detail-hero-inner {
        grid-template-columns: 150px minmax(0, 1fr);
        align-items: center;
    }

    .rank-row {
        grid-template-columns: 48px 72px minmax(0, 1fr);
    }

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

    .rank-row img {
        width: 72px;
        height: 98px;
    }
}

@media (max-width: 560px) {
    .header-inner {
        padding: 12px 14px;
    }

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

    .brand-text em {
        display: none;
    }

    .hero-slider {
        height: 520px;
    }

    .hero-content {
        padding: 0 18px;
        gap: 16px;
    }

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

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

    .hero-actions a {
        width: 100%;
    }

    .main-section,
    .page-hero,
    .detail-layout,
    .player-section,
    .text-section,
    .related-section,
    .category-grid-section,
    .promo-band {
        padding-left: 14px;
        padding-right: 14px;
    }

    .movie-grid,
    .movie-grid.three-cols,
    .category-cards {
        grid-template-columns: 1fr;
    }

    .detail-hero-inner {
        grid-template-columns: 1fr;
        padding-top: 44px;
    }

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

    .page-hero-card,
    .promo-inner,
    .article-card,
    .related-box {
        padding: 24px;
    }

    .player-card {
        border-radius: 18px;
    }
}
