:root {
    --rose: #e11d48;
    --orange: #f97316;
    --amber: #f59e0b;
    --text: #111827;
    --muted: #6b7280;
    --soft: #f9fafb;
    --card: #ffffff;
    --dark: #0f172a;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 36%, #fff7ed 100%);
    -webkit-font-smoothing: antialiased;
}

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

img,
video {
    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: 100;
    background: linear-gradient(90deg, var(--rose), var(--orange), var(--amber));
    box-shadow: 0 12px 32px rgba(225, 29, 72, 0.22);
}

.header-inner {
    height: 68px;
    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.02em;
}

.site-logo {
    color: #ffffff;
    font-size: 21px;
    white-space: nowrap;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    font-size: 14px;
}

.desktop-nav {
    display: flex;
    gap: 26px;
    margin-left: auto;
}

.desktop-nav a,
.mobile-panel nav a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-panel nav a:hover,
.mobile-panel nav a.active {
    color: #ffffff;
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 4px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.header-search input,
.mobile-panel input,
.search-page-form input,
.filter-search input {
    border: 0;
    outline: 0;
    color: #111827;
}

.header-search input {
    width: 210px;
    background: transparent;
    color: #ffffff;
    padding: 8px 12px;
}

.header-search input::placeholder,
.mobile-panel input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

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

.mobile-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: #ffffff;
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    background: rgba(159, 18, 57, 0.96);
    backdrop-filter: blur(10px);
    padding: 16px;
}

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

.mobile-panel form {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.mobile-panel input {
    flex: 1;
    min-width: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.mobile-panel nav {
    display: grid;
    gap: 10px;
}

.hero-carousel {
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    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.02);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 20%, rgba(249, 115, 22, 0.28), transparent 28%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.14));
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 720px;
    color: #ffffff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 16px;
    background: linear-gradient(90deg, var(--rose), var(--orange));
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.28);
}

.hero-text h1,
.detail-info h1 {
    margin: 18px 0 14px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.03;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-text p,
.detail-one-line {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 2.4vw, 24px);
    line-height: 1.55;
}

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

.hero-meta span,
.detail-meta span {
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 14px;
    backdrop-filter: blur(8px);
}

.hero-actions,
.cta-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

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

.btn:hover {
    transform: translateY(-2px) scale(1.01);
}

.btn-primary {
    background: linear-gradient(90deg, var(--rose), var(--orange));
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.28);
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

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

.btn-ghost-light {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

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

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

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

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

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

.no-padding-top {
    padding-top: 64px;
}

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

.section-heading h2,
.ranking-panel h2,
.player-heading h2,
.detail-article h2,
.detail-side h2,
.static-card h2 {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-heading h2 span,
.static-card h2 span {
    width: 5px;
    height: 34px;
    margin-right: 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--rose), var(--orange));
}

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

.section-more {
    color: var(--orange);
    font-weight: 850;
    white-space: nowrap;
}

.category-grid,
.category-overview-grid {
    display: grid;
    gap: 20px;
}

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

.category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 980px;
    margin: 0 auto;
}

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card:hover,
.category-overview-card:hover,
.movie-card:hover,
.wide-pick:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.category-card {
    min-height: 190px;
    padding: 26px;
    color: #ffffff;
}

.category-card::after,
.category-overview-top::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.18));
    opacity: 0.55;
}

.category-card > * {
    position: relative;
    z-index: 1;
}

.category-icon {
    display: block;
    font-size: 40px;
    margin-bottom: 12px;
}

.category-icon.large {
    font-size: 58px;
    margin: 0;
}

.category-card strong {
    display: block;
    font-size: 24px;
    margin-bottom: 4px;
}

.category-card small {
    display: inline-block;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

.category-card p,
.category-overview-body p {
    margin: 0;
    line-height: 1.65;
}

.gradient-rose { background: linear-gradient(135deg, #e11d48, #f97316); }
.gradient-red { background: linear-gradient(135deg, #ef4444, #f59e0b); }
.gradient-purple { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.gradient-pink { background: linear-gradient(135deg, #db2777, #fb7185); }
.gradient-slate { background: linear-gradient(135deg, #111827, #475569); }
.gradient-orange { background: linear-gradient(135deg, #f97316, #facc15); }
.gradient-blue { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.gradient-gold { background: linear-gradient(135deg, #ca8a04, #f97316); }

.movie-grid,
.mini-grid {
    display: grid;
    gap: 24px;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 16px;
    background: var(--card);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.09);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #f97316);
}

.movie-card-compact .movie-poster {
    aspect-ratio: 2 / 3;
}

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

.movie-card:hover .movie-poster img,
.wide-pick:hover img {
    transform: scale(1.08);
}

.movie-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
    transition: opacity 0.25s ease;
}

.movie-card:hover .movie-poster::after {
    opacity: 1;
}

.play-float {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rose), var(--orange));
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rose), var(--orange));
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

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

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

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

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

.movie-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.movie-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.movie-tags span,
.detail-tags span {
    border-radius: 999px;
    padding: 5px 9px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 12px;
    font-weight: 800;
}

.highlight-section {
    background: linear-gradient(90deg, #fff1f2, #fff7ed);
}

.two-column-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: start;
}

.ranking-panel,
.static-card,
.detail-article,
.detail-side,
.player-section {
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.ranking-panel {
    padding: 24px;
    position: sticky;
    top: 92px;
}

.ranking-panel h2 {
    margin-bottom: 16px;
}

.ranking-panel ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ranking-panel li + li {
    border-top: 1px solid #f3f4f6;
}

.ranking-panel a {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
}

.ranking-panel span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff7ed;
    color: var(--orange);
    font-weight: 900;
}

.ranking-panel strong {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-panel em {
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
}

.dark-strip {
    padding: 62px 0;
    background: linear-gradient(135deg, #111827, #000000);
    color: #ffffff;
}

.dark-strip.compact {
    margin-top: 20px;
}

.dark-strip h2 {
    margin: 0 0 22px;
    font-size: 34px;
    text-align: center;
}

.dark-strip p {
    color: #d1d5db;
}

.centered {
    text-align: center;
}

.wide-scroller {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
}

.wide-scroller::-webkit-scrollbar {
    display: none;
}

.wide-pick {
    width: 268px;
    flex: 0 0 auto;
    color: #ffffff;
}

.wide-pick img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.wide-pick strong {
    display: block;
    line-height: 1.4;
}

.wide-pick span {
    display: block;
    margin-top: 4px;
    color: #9ca3af;
    font-size: 13px;
}

.cta-card {
    border-radius: 26px;
    padding: clamp(30px, 6vw, 56px);
    color: #ffffff;
    text-align: center;
    background: linear-gradient(90deg, var(--rose), var(--orange));
    box-shadow: 0 24px 60px rgba(249, 115, 22, 0.24);
}

.cta-card h2 {
    margin: 0 0 10px;
    font-size: clamp(30px, 5vw, 46px);
}

.cta-card p {
    max-width: 720px;
    margin: 0 auto 24px;
    color: #ffe4e6;
    line-height: 1.7;
}

.cta-card div {
    justify-content: center;
}

.page-hero {
    padding: 58px 0;
    background: linear-gradient(90deg, var(--rose), var(--orange), var(--amber));
    color: #ffffff;
}

.page-hero h1 {
    margin: 12px 0 10px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: #ffe4e6;
    font-size: 18px;
    line-height: 1.7;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

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

.breadcrumb:not(.light) {
    color: #fff7ed;
}

.category-overview-card {
    background: #ffffff;
}

.category-overview-top {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.category-overview-top > * {
    position: relative;
    z-index: 1;
}

.category-overview-top strong {
    position: absolute;
    top: 18px;
    right: 18px;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.category-overview-body {
    padding: 24px;
}

.category-overview-body h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.poster-stack {
    display: flex;
    align-items: center;
    margin-top: 18px;
}

.poster-stack img,
.poster-stack span {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 3px solid #ffffff;
    object-fit: cover;
    margin-left: -10px;
    background: #f3f4f6;
}

.poster-stack img:first-child {
    margin-left: 0;
}

.poster-stack span {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 900;
}

.filter-toolbar {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
    padding: 18px;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.filter-search {
    display: grid;
    gap: 8px;
    flex: 1;
    min-width: 260px;
    color: var(--muted);
    font-weight: 800;
    font-size: 14px;
}

.filter-search input,
.search-page-form input {
    width: 100%;
    border-radius: 999px;
    background: #f3f4f6;
    padding: 12px 16px;
}

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

.filter-chips button {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: #fff7ed;
    color: #c2410c;
    font-weight: 850;
    cursor: pointer;
}

.filter-chips button.is-active {
    background: linear-gradient(90deg, var(--rose), var(--orange));
    color: #ffffff;
}

.filter-count {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.empty-state {
    padding: 54px 20px;
    text-align: center;
    color: var(--muted);
}

.search-page-form {
    display: flex;
    gap: 12px;
    padding: 18px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.search-summary {
    margin-bottom: 24px;
    color: var(--muted);
    font-weight: 800;
}

.search-default .section-heading {
    margin-top: 34px;
}

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

.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) saturate(1.1);
    transform: scale(1.04);
}

.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 25%, rgba(249, 115, 22, 0.24), transparent 30%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.22));
}

.detail-hero-content {
    position: relative;
    z-index: 1;
    padding: 42px 0 64px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    margin-top: 28px;
}

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

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

.detail-info h1 {
    max-width: 820px;
}

.detail-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.detail-main {
    padding-top: 38px;
}

.player-section {
    padding: 22px;
    margin-bottom: 32px;
}

.player-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.player-heading p {
    margin: 0;
    color: var(--muted);
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 16 / 9;
    background: #000000;
}

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

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.74));
    cursor: pointer;
}

.player-start.is-hidden {
    display: none;
}

.player-start span {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rose), var(--orange));
    font-size: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.player-message {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    margin: 0;
    color: #ffffff;
    text-align: center;
    pointer-events: none;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
}

.detail-article,
.detail-side,
.static-card {
    padding: 28px;
}

.detail-article h2,
.detail-side h2 {
    margin-bottom: 16px;
}

.detail-article h2:not(:first-child) {
    margin-top: 26px;
}

.detail-article p,
.static-card p {
    color: #374151;
    line-height: 1.9;
    margin: 0;
}

.detail-article p + p,
.static-card p + p {
    margin-top: 12px;
}

.detail-side dl {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px 16px;
    margin: 0;
}

.detail-side dt {
    color: var(--muted);
    font-weight: 800;
}

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

.detail-side a {
    color: var(--orange);
    font-weight: 850;
}

.narrow-page {
    max-width: 900px;
}

.static-card {
    display: grid;
    gap: 30px;
}

.static-card h2 {
    font-size: 26px;
    margin-bottom: 12px;
}

.site-footer {
    margin-top: 72px;
    color: #d1d5db;
    background: linear-gradient(180deg, #111827, #000000);
}

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

.footer-logo {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 14px;
}

.site-footer p {
    color: #9ca3af;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.footer-socials span {
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(249, 115, 22, 0.14);
    color: #fdba74;
    font-weight: 800;
    font-size: 12px;
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}

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

    .mobile-toggle {
        display: block;
    }

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

    .two-column-section,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .ranking-panel {
        position: static;
    }
}

@media (max-width: 820px) {
    .hero-carousel {
        height: 680px;
        min-height: 680px;
    }

    .hero-arrow {
        display: none;
    }

    .category-grid,
    .category-overview-grid,
    .movie-grid,
    .mini-grid,
    .footer-grid,
    .detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .detail-grid {
        align-items: start;
    }

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

    .search-page-form,
    .player-heading {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        height: 62px;
    }

    .site-logo {
        font-size: 18px;
    }

    .hero-carousel {
        height: 620px;
        min-height: 620px;
    }

    .hero-content {
        align-items: flex-end;
        padding-bottom: 84px;
    }

    .hero-meta,
    .detail-meta {
        gap: 7px;
    }

    .hero-meta span,
    .detail-meta span {
        font-size: 12px;
        padding: 6px 9px;
    }

    .category-grid,
    .category-overview-grid,
    .movie-grid,
    .mini-grid,
    .footer-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }

    .section-more {
        display: inline-block;
        margin-top: 12px;
    }

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

    .category-card {
        min-height: 170px;
    }

    .detail-hero {
        min-height: 760px;
    }

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

    .detail-hero-content {
        padding-bottom: 42px;
    }

    .player-section,
    .detail-article,
    .detail-side,
    .static-card {
        padding: 18px;
    }

    .ranking-panel a {
        grid-template-columns: 32px 1fr;
    }

    .ranking-panel em {
        grid-column: 2;
    }
}
