* {
    box-sizing: border-box;
}

:root {
    --bg: #0f172a;
    --bg-deep: #020617;
    --panel: #1e293b;
    --panel-soft: #263449;
    --line: #334155;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --subtle: #94a3b8;
    --red: #dc2626;
    --red-light: #ef4444;
    --orange: #f97316;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(220, 38, 38, 0.22), transparent 32rem),
        radial-gradient(circle at 80% 10%, rgba(249, 115, 22, 0.18), transparent 28rem),
        linear-gradient(180deg, #0f172a 0%, #111827 45%, #020617 100%);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    max-width: 1180px;
    height: 68px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.28);
}

.brand-text {
    font-size: 1.45rem;
    background: linear-gradient(90deg, #ef4444, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 24px 0 21px;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red-light);
    border-color: var(--red-light);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    border-radius: 99px;
}

.mobile-nav {
    display: none;
    padding: 8px 24px 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

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

.mobile-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
}

.mobile-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.86), rgba(249, 115, 22, 0.76));
}

.hero-carousel {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    isolation: isolate;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

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

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

.hero-bg,
.detail-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.93), rgba(15, 23, 42, 0.62), rgba(185, 28, 28, 0.38)),
        linear-gradient(0deg, #0f172a 0%, transparent 32%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    min-height: 640px;
    margin: 0 auto;
    padding: 110px 24px 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 14px;
    color: #fecaca;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(2.9rem, 7vw, 5.8rem);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.hero-content h1 span {
    display: block;
    margin-top: 18px;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    color: #fed7aa;
    letter-spacing: -0.03em;
}

.hero-desc {
    max-width: 760px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.85;
}

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

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.hero-tags span {
    padding: 8px 14px;
    font-size: 0.9rem;
}

.tag-row span {
    padding: 6px 10px;
    color: var(--muted);
    font-size: 0.76rem;
    background: rgba(148, 163, 184, 0.11);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 18px 35px rgba(220, 38, 38, 0.35);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

.btn-link {
    color: #fecaca;
    min-height: auto;
    padding: 0;
    background: transparent;
}

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

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

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

.hero-strip {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 24px;
    width: min(1180px, calc(100% - 48px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.hero-mini-card {
    position: relative;
    min-height: 92px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.hero-mini-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-mini-card span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.hero-mini-card:hover img {
    transform: scale(1.08);
    opacity: 0.62;
}

.content-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 24px;
}

.content-band {
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.88));
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.compact-section {
    padding-top: 58px;
    padding-bottom: 58px;
}

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

.section-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.45rem);
    letter-spacing: -0.03em;
}

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red-light);
    font-weight: 800;
}

.section-more span {
    font-size: 1.35rem;
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.25);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: rgba(248, 113, 113, 0.45);
    box-shadow: var(--shadow);
}

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

.poster-link {
    position: relative;
    display: block;
    height: 255px;
    overflow: hidden;
    background: #111827;
}

.feature-grid .poster-link {
    height: 210px;
}

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

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

.poster-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent 58%);
    opacity: 0.45;
    transition: opacity 0.25s ease;
}

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

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%) scale(0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(220, 38, 38, 0.82);
    opacity: 0;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.quality-mark,
.rank-badge {
    position: absolute;
    top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
}

.quality-mark {
    left: 14px;
    background: linear-gradient(135deg, var(--red), var(--orange));
}

.rank-badge {
    right: 14px;
    background: rgba(0, 0, 0, 0.62);
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.35;
}

.card-body h3 a:hover {
    color: #f87171;
}

.card-meta {
    margin: 0 0 12px;
    color: var(--subtle);
    font-size: 0.88rem;
}

.card-desc {
    min-height: 48px;
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

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

.category-tile {
    position: relative;
    min-height: 180px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.75);
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.25);
}

.category-tile img,
.category-glass {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.category-tile img {
    object-fit: cover;
    opacity: 0.36;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-glass {
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(220, 38, 38, 0.18));
}

.category-tile strong,
.category-tile em {
    position: relative;
    z-index: 2;
}

.category-tile strong {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.category-tile em {
    color: var(--muted);
    font-style: normal;
    font-size: 0.88rem;
    line-height: 1.55;
}

.category-tile:hover img {
    transform: scale(1.08);
    opacity: 0.55;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 54px 70px 1fr 24px;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.13);
    transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-item:hover {
    transform: translateX(4px);
    background: rgba(51, 65, 85, 0.9);
}

.ranking-num {
    color: #fb923c;
    font-size: 1.6rem;
    font-weight: 950;
    text-align: center;
}

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

.ranking-info strong,
.ranking-info em {
    display: block;
}

.ranking-info strong {
    color: #fff;
    margin-bottom: 6px;
}

.ranking-info em {
    color: var(--subtle);
    font-size: 0.88rem;
    font-style: normal;
    line-height: 1.45;
}

.ranking-arrow {
    color: var(--red-light);
    font-size: 1.8rem;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.92), rgba(15, 23, 42, 0.98));
}

.page-hero {
    min-height: 340px;
    display: flex;
    align-items: center;
}

.page-hero > div {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 24px;
}

.page-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1.05;
}

.page-hero p:not(.hero-kicker) {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.8;
}

.filter-panel {
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.16);
}

.search-box input {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    color: #fff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    outline: 0;
    background: rgba(30, 41, 59, 0.88);
}

.search-box input:focus {
    border-color: rgba(248, 113, 113, 0.8);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.16);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.filter-chip {
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--red), var(--orange));
}

.empty-state {
    display: none;
    margin-top: 24px;
    padding: 30px;
    border-radius: 22px;
    color: var(--muted);
    text-align: center;
    background: rgba(30, 41, 59, 0.72);
}

.empty-state.show {
    display: block;
}

.category-card-link {
    overflow: hidden;
    display: grid;
    grid-template-columns: 210px 1fr;
    min-height: 230px;
    border-radius: 26px;
    background: rgba(30, 41, 59, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 16px 42px rgba(2, 6, 23, 0.22);
}

.category-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
}

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

.category-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-card-body h2 {
    margin: 0 0 12px;
    font-size: 1.7rem;
}

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

.category-card-body span {
    color: #f87171;
    font-weight: 800;
}

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

.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.78), rgba(127, 29, 29, 0.36)),
        linear-gradient(0deg, #0f172a 0%, transparent 35%);
}

.detail-backdrop {
    opacity: 0.28;
    filter: blur(1px);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    min-height: 640px;
    margin: 0 auto;
    padding: 92px 24px 70px;
    display: grid;
    grid-template-columns: 330px 1fr;
    align-items: center;
    gap: 46px;
}

.poster-large {
    position: relative;
    overflow: hidden;
    display: block;
    height: 470px;
    border-radius: 30px;
    background: #111827;
    box-shadow: var(--shadow);
}

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

.poster-large span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(220, 38, 38, 0.86);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
    color: var(--subtle);
    font-size: 0.92rem;
}

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

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.detail-one-line {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.18rem;
    line-height: 1.85;
}

.detail-tags {
    margin-bottom: 30px;
}

.player-section {
    padding-top: 44px;
    padding-bottom: 44px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    min-height: 540px;
    border-radius: 30px;
    border: 1px solid rgba(248, 113, 113, 0.25);
    background: #000;
    box-shadow: var(--shadow);
}

.movie-player {
    width: 100%;
    min-height: 540px;
    display: block;
    background: #000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    background:
        radial-gradient(circle at 50% 46%, rgba(220, 38, 38, 0.34), transparent 18rem),
        linear-gradient(180deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.86));
}

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

.player-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.22);
    filter: blur(22px);
}

.player-button {
    position: relative;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 18px 42px rgba(220, 38, 38, 0.4);
}

.player-cover strong,
.player-cover em {
    position: relative;
}

.player-cover strong {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
}

.player-cover em {
    color: #fed7aa;
    font-style: normal;
}

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

.detail-main,
.detail-side {
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 26px;
    background: rgba(30, 41, 59, 0.78);
    box-shadow: 0 16px 42px rgba(2, 6, 23, 0.18);
}

.detail-main {
    padding: 34px;
}

.detail-main h2,
.detail-side h2 {
    margin: 0 0 18px;
    font-size: 1.45rem;
}

.detail-main p {
    margin: 0 0 30px;
    color: var(--muted);
    line-height: 2;
    font-size: 1.02rem;
}

.detail-main p:last-child {
    margin-bottom: 0;
}

.detail-side {
    padding: 28px;
    align-self: start;
}

.detail-side dl {
    margin: 0;
}

.detail-side dt {
    color: var(--subtle);
    font-size: 0.86rem;
    margin-top: 18px;
}

.detail-side dt:first-child {
    margin-top: 0;
}

.detail-side dd {
    margin: 5px 0 0;
    color: #fff;
    line-height: 1.55;
}

.site-footer {
    margin-top: 40px;
    color: var(--muted);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), #020617);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 50px 24px 36px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer-brand {
    color: #fff;
    font-size: 1.18rem;
    margin-bottom: 16px;
}

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

.site-footer p {
    margin: 0;
    color: var(--subtle);
    line-height: 1.75;
}

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

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

.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 24px 28px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: #64748b;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 1040px) {
    .movie-grid,
    .rank-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .hero-mini-card:nth-child(n+4) {
        display: none;
    }

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

    .poster-large {
        width: min(330px, 100%);
    }
}

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

    .menu-toggle {
        display: block;
    }

    .nav-wrap {
        height: 62px;
        padding: 0 16px;
    }

    .brand-text {
        font-size: 1.16rem;
    }

    .hero-carousel,
    .hero-content {
        min-height: 720px;
    }

    .hero-content {
        padding: 84px 18px 210px;
    }

    .hero-strip {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
    }

    .hero-mini-card:nth-child(n+2) {
        display: none;
    }

    .hero-dots {
        bottom: 144px;
    }

    .content-section,
    .page-hero > div,
    .detail-hero-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .content-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

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

    .movie-grid,
    .feature-grid,
    .related-grid,
    .rank-grid,
    .category-grid,
    .category-overview-grid,
    .ranking-list {
        grid-template-columns: 1fr;
    }

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

    .category-collage {
        min-height: 220px;
    }

    .poster-link {
        height: 320px;
    }

    .feature-grid .poster-link {
        height: 300px;
    }

    .ranking-item {
        grid-template-columns: 42px 58px 1fr 18px;
    }

    .ranking-item img {
        width: 58px;
        height: 76px;
    }

    .detail-hero {
        min-height: 0;
    }

    .detail-hero-inner {
        min-height: 0;
        padding-top: 52px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .poster-large {
        height: 430px;
    }

    .player-shell,
    .movie-player {
        min-height: 240px;
    }

    .detail-main,
    .detail-side {
        padding: 24px;
    }
}
