* {
    box-sizing: border-box;
}

:root {
    --orange: #f97316;
    --orange-dark: #c2410c;
    --amber: #f59e0b;
    --yellow: #eab308;
    --red: #ef4444;
    --pink: #ec4899;
    --purple: #8b5cf6;
    --blue: #0ea5e9;
    --green: #10b981;
    --slate: #64748b;
    --gray: #374151;
    --text: #111827;
    --muted: #6b7280;
    --soft: #fff7ed;
    --line: rgba(17, 24, 39, 0.09);
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    --radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, var(--orange), var(--amber), var(--yellow));
    color: #fff;
    box-shadow: 0 12px 35px rgba(217, 119, 6, 0.35);
}

.header-inner {
    height: 78px;
    display: flex;
    align-items: center;
    gap: 22px;
}

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

.brand-mark,
.footer-brand span {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--orange);
    box-shadow: 0 10px 22px rgba(124, 45, 18, 0.22);
}

.brand strong {
    display: block;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.brand small {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    margin-top: 2px;
}

.top-search,
.mobile-search {
    flex: 1;
    display: flex;
    gap: 8px;
    max-width: 520px;
}

.top-search input,
.mobile-search input,
.page-filter-input,
.search-panel input {
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    padding: 11px 18px;
    outline: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.92);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.top-search input:focus,
.mobile-search input:focus,
.page-filter-input:focus,
.search-panel input:focus {
    border-color: #fed7aa;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(254, 215, 170, 0.35);
}

.top-search button,
.mobile-search button {
    border: 0;
    color: var(--orange-dark);
    background: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fff7ed;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 0;
    border-radius: 12px;
    padding: 9px 12px;
}

.mobile-panel {
    display: none;
    padding: 0 16px 18px;
}

.mobile-link {
    display: block;
    color: #fff;
    padding: 10px 0;
    font-weight: 700;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(120deg, #ea580c 0%, #f59e0b 48%, #facc15 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.28), transparent 26%),
        radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.22), transparent 22%),
        linear-gradient(0deg, rgba(124, 45, 18, 0.18), transparent 52%);
}

.hero-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(24px);
    animation: pulseGlow 6s ease-in-out infinite;
}

.hero-glow-one {
    left: 12%;
    top: -80px;
}

.hero-glow-two {
    right: 10%;
    bottom: -120px;
    animation-delay: 1.8s;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.78;
    }
}

.hero-shell {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 70px 0 84px;
}

.hero-slide {
    display: none;
    width: 100%;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    align-items: center;
    gap: 42px;
}

.hero-slide.is-active {
    display: grid;
    animation: fadeUp 0.55s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
    padding: 7px 13px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.hero-copy h1 {
    margin: 22px 0 8px;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
}

.hero-copy p {
    max-width: 760px;
    color: #fff7ed;
    font-size: 18px;
    margin: 0 0 22px;
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(124, 45, 18, 0.24);
}

.btn-light {
    background: #fff;
    color: var(--orange-dark);
}

.btn-deep {
    background: #9a3412;
    color: #fff;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-gradient {
    color: #fff;
    background: linear-gradient(90deg, var(--orange), var(--amber));
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    min-height: 410px;
    box-shadow: 0 28px 70px rgba(124, 45, 18, 0.38);
    transform: rotate(1.2deg);
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.64));
}

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

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

.hero-poster span,
.play-dot {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--orange);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.hero-poster span {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
}

.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

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

.hero-prev,
.hero-next {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
    font-size: 28px;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
}

.hero-dot.is-active {
    width: 30px;
    background: #fff;
}

.section {
    padding: 72px 0;
}

.white-section {
    background: #fff;
}

.soft-section {
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

.category-section {
    background: linear-gradient(135deg, #faf5ff, #fff7ed 50%, #fff7ed);
}

.rank-highlight {
    background: linear-gradient(90deg, #facc15, var(--orange), #ef4444);
}

.rank-highlight .section-heading h2,
.rank-highlight .section-heading p,
.rank-highlight .section-link {
    color: #fff;
}

.cta-section {
    background: linear-gradient(135deg, #ffedd5, #fef3c7);
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.1;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted);
}

.section-link {
    color: var(--orange-dark);
    font-weight: 900;
}

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

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

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

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

.single-column {
    grid-template-columns: 1fr;
}

.movie-card,
.movie-card-large,
.movie-card-horizontal {
    position: relative;
    display: block;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover,
.movie-card-large:hover,
.movie-card-horizontal:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.card-poster {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111827;
}

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

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

.movie-card:hover img,
.movie-card-large:hover img,
.movie-card-horizontal:hover img {
    transform: scale(1.08);
}

.duration,
.category-badge {
    position: absolute;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
}

.duration {
    top: 12px;
    right: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.68);
}

.category-badge {
    top: 12px;
    left: 12px;
    color: #fff;
    background: var(--orange);
}

.play-dot {
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-dot,
.movie-card-large:hover .play-dot {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-body {
    padding: 16px;
}

.card-body h3,
.card-overlay h3,
.movie-card-horizontal h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body p,
.card-overlay p,
.movie-card-horizontal p {
    color: var(--muted);
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta,
.mini-meta,
.detail-score {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.card-meta span:first-child,
.mini-meta span:first-child,
.detail-score span:first-child {
    color: #d97706;
}

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

.tag-row span {
    color: var(--orange-dark);
    background: #ffedd5;
}

.movie-card-large {
    min-height: 290px;
}

.movie-card-large .card-poster {
    height: 100%;
}

.movie-card-large .card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 24px;
    color: #fff;
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.78));
}

.movie-card-large .card-overlay p,
.movie-card-large .card-meta {
    color: rgba(255, 255, 255, 0.82);
}

.movie-card-horizontal {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
}

.movie-card-horizontal figure {
    position: relative;
    flex: 0 0 145px;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 13px;
    background: #111827;
}

.movie-card-horizontal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-card-horizontal figure span {
    position: absolute;
    right: 8px;
    top: 8px;
    color: #fff;
    background: rgba(0, 0, 0, 0.66);
    border-radius: 7px;
    padding: 3px 7px;
    font-size: 11px;
}

.rank-number {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(90deg, var(--orange), var(--red));
    font-size: 19px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(239, 68, 68, 0.24);
}

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

.category-tile,
.category-panel {
    display: block;
    position: relative;
    padding: 22px;
    overflow: hidden;
    min-height: 168px;
    color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-panel:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.category-tile::after,
.category-panel::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -28px;
    bottom: -24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.tile-icon,
.category-head span {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 24px;
    margin-bottom: 16px;
}

.category-tile strong {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
}

.category-tile small,
.category-tile em,
.category-panel p,
.category-panel li a {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    font-style: normal;
}

.category-tile em {
    margin-top: 14px;
    font-size: 13px;
}

.tone-orange { background: linear-gradient(135deg, #fb923c, #ea580c); }
.tone-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.tone-red { background: linear-gradient(135deg, #ef4444, #be123c); }
.tone-purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.tone-yellow { background: linear-gradient(135deg, #eab308, #f97316); }
.tone-green { background: linear-gradient(135deg, #10b981, #059669); }
.tone-pink { background: linear-gradient(135deg, #ec4899, #db2777); }
.tone-blue { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.tone-slate { background: linear-gradient(135deg, #64748b, #334155); }
.tone-gray { background: linear-gradient(135deg, #6b7280, #374151); }

.page-hero {
    color: #fff;
    background: linear-gradient(120deg, var(--orange), var(--amber));
    padding: 72px 0 76px;
}

.page-hero h1 {
    max-width: 840px;
    margin: 18px 0 12px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.08;
}

.page-hero p {
    max-width: 850px;
    margin: 0;
    color: #fff7ed;
    font-size: 18px;
}

.breadcrumb {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

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

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

.category-panel {
    min-height: 270px;
}

.category-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.category-head h2 {
    margin: 0 0 8px;
}

.category-panel ul {
    position: relative;
    z-index: 1;
    margin: 20px 0;
    padding-left: 20px;
}

.panel-more {
    position: relative;
    z-index: 1;
    font-weight: 900;
}

.filter-bar,
.search-panel {
    position: sticky;
    top: 88px;
    z-index: 10;
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill {
    border: 0;
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--orange-dark);
    background: #ffedd5;
    cursor: pointer;
    font-weight: 800;
}

.filter-pill.is-active,
.filter-pill:hover {
    color: #fff;
    background: var(--orange);
}

.related-category-links {
    margin-top: 36px;
    padding: 20px;
    border-radius: 18px;
    background: #fff7ed;
}

.related-category-links a {
    display: inline-flex;
    margin: 4px 8px;
    color: var(--orange-dark);
    font-weight: 800;
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: start;
}

.ranking-list,
.horizontal-grid {
    display: grid;
    gap: 16px;
}

.ranking-aside {
    position: sticky;
    top: 112px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #111827;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.28;
    filter: blur(12px) saturate(1.25);
    transform: scale(1.08);
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.56), rgba(234, 88, 12, 0.48));
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
    padding: 58px 0 72px;
}

.detail-cover {
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
    aspect-ratio: 3 / 4;
    background: #111827;
}

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

.detail-copy h1 {
    margin: 18px 0 14px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.08;
}

.detail-copy p {
    max-width: 780px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

.detail-tags span {
    background: rgba(255, 255, 255, 0.14);
}

.detail-score {
    margin: 18px 0 24px;
    color: rgba(255, 255, 255, 0.78);
}

.player-section {
    padding-top: 52px;
    padding-bottom: 52px;
    background: #0f172a;
}

.movie-player {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 26px;
    background: #020617;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

.player-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

.play-trigger {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    width: 92px;
    height: 92px;
    border: 0;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    color: var(--orange);
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.25);
}

.play-trigger span {
    font-size: 34px;
    margin-left: 5px;
}

.player-title {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 4;
    color: #fff;
    pointer-events: none;
}

.player-title span {
    display: inline-flex;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--orange);
    font-weight: 900;
    font-size: 13px;
}

.player-title h2 {
    margin: 10px 0 0;
    font-size: clamp(22px, 4vw, 34px);
}

.movie-player::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.66));
    pointer-events: none;
}

.movie-player.is-playing {
    cursor: default;
}

.movie-player.is-playing::after,
.movie-player.is-playing .play-trigger,
.movie-player.is-playing .player-title {
    opacity: 0;
    visibility: hidden;
}

.detail-content-section {
    background: #fff;
}

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

.content-card,
.info-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.content-card h2,
.info-card h2 {
    margin: 0 0 14px;
    font-size: 25px;
}

.content-card p {
    margin: 0 0 24px;
    color: #374151;
    font-size: 17px;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.info-card li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}

.info-card strong {
    color: var(--muted);
}

.info-card span {
    text-align: right;
    font-weight: 800;
}

.category-link {
    display: flex;
    justify-content: center;
    padding: 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, var(--orange), var(--amber));
    font-weight: 900;
}

.center-copy {
    text-align: center;
}

.center-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 42px);
}

.center-copy p {
    max-width: 760px;
    margin: 0 auto 24px;
    color: var(--muted);
}

.site-footer {
    background: linear-gradient(135deg, #111827, #1f2937, #111827);
    color: #d1d5db;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 48px 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 22px;
    margin-bottom: 14px;
}

.footer-brand span {
    background: var(--orange);
    color: #fff;
}

.site-footer h3 {
    color: #fff;
    margin: 0 0 14px;
}

.site-footer p {
    margin: 0;
    color: #9ca3af;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 9px;
}

.site-footer a {
    color: #9ca3af;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #fb923c;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    color: #9ca3af;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--orange);
    box-shadow: 0 14px 30px rgba(234, 88, 12, 0.35);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.back-top:hover {
    transform: translateY(-3px);
}

.movie-card.is-hidden,
.movie-card-horizontal.is-hidden {
    display: none;
}

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

    .menu-toggle {
        display: inline-flex;
    }

    .top-search {
        max-width: none;
    }

    .hero-slide,
    .detail-hero-inner,
    .detail-layout,
    .ranking-layout {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        min-height: 340px;
    }

    .hero-poster img {
        min-height: 340px;
    }

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

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

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

    .ranking-aside {
        position: static;
    }
}

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

    .brand {
        min-width: auto;
    }

    .brand small,
    .top-search {
        display: none;
    }

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

    .mobile-search {
        display: flex;
        max-width: none;
        margin-bottom: 10px;
    }

    .hero-shell {
        min-height: auto;
        padding: 48px 0 88px;
    }

    .hero-slide.is-active {
        display: block;
    }

    .hero-poster {
        margin-top: 28px;
        min-height: 260px;
    }

    .hero-poster img {
        min-height: 260px;
    }

    .section {
        padding: 48px 0;
    }

    .section-heading {
        display: block;
    }

    .section-link {
        display: inline-block;
        margin-top: 10px;
    }

    .large-grid,
    .movie-grid,
    .compact-grid,
    .rank-card-grid,
    .category-grid,
    .category-panel-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-horizontal {
        align-items: stretch;
    }

    .movie-card-horizontal figure {
        flex-basis: 118px;
    }

    .rank-number {
        position: absolute;
        left: 8px;
        top: 8px;
        z-index: 2;
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .filter-bar,
    .search-panel {
        position: static;
    }

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

    .detail-cover {
        max-width: 240px;
    }

    .play-trigger {
        width: 72px;
        height: 72px;
    }

    .content-card,
    .info-card {
        padding: 22px;
    }
}
