:root {
    --bg: #fff7ed;
    --bg-soft: #fff1f2;
    --paper: #ffffff;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: rgba(248, 113, 113, 0.18);
    --orange: #f97316;
    --orange-dark: #ea580c;
    --pink: #ec4899;
    --rose: #fb7185;
    --amber: #f59e0b;
    --shadow: 0 20px 45px rgba(127, 29, 29, 0.12);
    --shadow-soft: 0 12px 28px rgba(127, 29, 29, 0.10);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(249, 115, 22, 0.15), transparent 30%),
        radial-gradient(circle at 86% 12%, rgba(236, 72, 153, 0.14), transparent 28%),
        linear-gradient(135deg, #fff7ed 0%, #fff1f2 52%, #fffbeb 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 247, 237, 0.92);
    border-bottom: 1px solid rgba(249, 115, 22, 0.12);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.08);
}

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

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

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    border-radius: 14px;
    box-shadow: 0 12px 25px rgba(236, 72, 153, 0.25);
}

.brand-text {
    font-size: 24px;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    -webkit-background-clip: text;
    color: transparent;
}

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

.nav-link {
    position: relative;
    padding: 8px 0;
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--pink));
    border-radius: 999px;
    transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
    border: 1px solid rgba(249, 115, 22, 0.22);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
    width: 210px;
    padding: 11px 14px;
    border-radius: 999px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13);
    background: #ffffff;
}

.header-search button,
.mobile-search button,
.filter-panel button,
.primary-btn,
.ghost-btn,
.ghost-dark-btn,
.section-more {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.primary-btn {
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

.header-search button,
.mobile-search button {
    padding: 10px 16px;
}

.primary-btn,
.ghost-btn,
.ghost-dark-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
}

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

.ghost-dark-btn {
    color: var(--orange-dark);
    background: #ffffff;
    border: 1px solid rgba(249, 115, 22, 0.28);
}

.header-search button:hover,
.mobile-search button:hover,
.primary-btn:hover,
.ghost-btn:hover,
.ghost-dark-btn:hover,
.section-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(249, 115, 22, 0.24);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--orange-dark);
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    padding: 0 16px 18px;
    border-top: 1px solid rgba(249, 115, 22, 0.12);
}

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

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

.mobile-search input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 999px;
}

.hero {
    width: min(1240px, calc(100% - 32px));
    margin: 28px auto 0;
}

.hero-title-block {
    max-width: 760px;
    margin-bottom: 22px;
}

.hero-title-block span,
.page-hero span,
.detail-kicker,
.hero-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.hero-title-block h1,
.page-hero h1,
.detail-copy h1 {
    margin: 14px 0 12px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero-title-block p,
.page-hero p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.hero-stage {
    position: relative;
    height: 530px;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 30px 70px rgba(127, 29, 29, 0.22);
    background: #111827;
}

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

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.62) 46%, rgba(15, 23, 42, 0.12) 100%),
        radial-gradient(circle at 18% 20%, rgba(249, 115, 22, 0.36), transparent 34%);
}

.hero-copy {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(650px, 72%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 68px;
    color: #ffffff;
}

.hero-copy h2 {
    margin: 18px 0 14px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

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

.hero-tags,
.detail-meta,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

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

.hero-tags span,
.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 800;
}

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

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

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

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

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

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

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

.quick-panel,
.content-section {
    width: min(1240px, calc(100% - 32px));
    margin: 34px auto 0;
}

.quick-inner {
    display: grid;
    grid-template-columns: minmax(240px, 360px) 1fr;
    gap: 22px;
    align-items: center;
    padding: 24px;
    border: 1px solid rgba(249, 115, 22, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.quick-inner h2,
.section-head h2,
.rank-title h2,
.info-card h2,
.watch-card h2,
.side-card h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.04em;
}

.quick-inner p,
.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip,
.tag-row span {
    display: inline-flex;
    padding: 10px 15px;
    color: var(--orange-dark);
    background: #ffffff;
    border: 1px solid rgba(249, 115, 22, 0.18);
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.08);
}

.chip:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--pink));
}

.content-section {
    padding: 18px 0;
}

.section-head,
.rank-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.section-more,
.rank-title a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    color: var(--orange-dark);
    background: #ffffff;
    border: 1px solid rgba(249, 115, 22, 0.18);
}

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

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

.movie-card {
    min-width: 0;
}

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.poster-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(236, 72, 153, 0.2));
}

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

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

.poster-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 52%;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.66));
}

.card-badge,
.year-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    border-radius: 999px;
}

.card-badge,
.rank-badge {
    top: 12px;
    left: 12px;
    padding: 7px 11px;
    background: linear-gradient(135deg, var(--orange), var(--pink));
}

.rank-badge {
    min-width: 36px;
    text-align: center;
}

.year-badge {
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(10px);
}

.card-body {
    padding: 18px;
}

.card-body h2 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -0.03em;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.compact .card-body h2 {
    font-size: 18px;
    -webkit-line-clamp: 2;
}

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

.card-meta span {
    color: #6b7280;
    background: #fff7ed;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}

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

.category-tile {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: 28px;
    background: #111827;
    box-shadow: var(--shadow-soft);
    isolation: isolate;
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
    transition: transform 0.5s ease;
}

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

.category-glow {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.86)),
        radial-gradient(circle at 22% 22%, rgba(249, 115, 22, 0.46), transparent 34%);
    z-index: 1;
}

.category-copy {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    color: #ffffff;
}

.category-copy strong {
    display: block;
    margin-bottom: 8px;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.category-copy em {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    line-height: 1.6;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.rank-panel,
.side-card,
.watch-card,
.info-card,
.category-overview-card {
    border: 1px solid rgba(249, 115, 22, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.rank-panel {
    padding: 22px;
}

.sticky-rank,
.detail-aside .side-card {
    position: sticky;
    top: 92px;
}

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

.mini-card {
    position: relative;
    display: grid;
    grid-template-columns: 98px 1fr auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 10px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(127, 29, 29, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(127, 29, 29, 0.12);
}

.mini-card img {
    width: 98px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
    background: #fff7ed;
}

.mini-info {
    min-width: 0;
}

.mini-info strong {
    display: block;
    margin-bottom: 6px;
    overflow: hidden;
    color: #111827;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-info em {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-rank {
    display: grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    border-radius: 999px;
    font-weight: 900;
}

.page-hero {
    width: min(1240px, calc(100% - 32px));
    margin: 28px auto 0;
    padding: clamp(42px, 7vw, 78px);
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.35), transparent 26%),
        linear-gradient(135deg, rgba(249, 115, 22, 0.94), rgba(236, 72, 153, 0.92));
    color: #ffffff;
    box-shadow: var(--shadow);
}

.page-hero span {
    color: var(--orange-dark);
    background: rgba(255, 255, 255, 0.92);
}

.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.95fr) 1.05fr;
    gap: 18px;
    padding: 18px;
}

.category-preview {
    display: grid;
    gap: 12px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid rgba(249, 115, 22, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-soft);
}

.search-filter {
    grid-template-columns: minmax(220px, 1.2fr) minmax(160px, 0.7fr) minmax(150px, 0.6fr) minmax(150px, 0.8fr) auto;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 15px;
}

.filter-panel button {
    min-height: 46px;
    padding: 0 18px;
    color: var(--orange-dark);
    background: #ffffff;
    border: 1px solid rgba(249, 115, 22, 0.22);
}

.no-results {
    display: none;
    padding: 28px;
    margin-bottom: 22px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed rgba(249, 115, 22, 0.26);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
}

.no-results.is-visible {
    display: block;
}

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

.detail-backdrop {
    position: absolute;
    inset: 0;
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) saturate(1.1);
    transform: scale(1.05);
    opacity: 0.62;
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 24, 39, 0.64), rgba(17, 24, 39, 0.94)),
        radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.36), transparent 32%);
}

.detail-container {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 64px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

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

.detail-grid {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 42px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

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

.detail-copy h1 {
    max-width: 900px;
}

.detail-line {
    max-width: 850px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 20px;
    line-height: 1.8;
}

.detail-copy .tag-row {
    margin: 22px 0 26px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-row span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.20);
    box-shadow: none;
}

.detail-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    margin-top: -74px;
    position: relative;
    z-index: 4;
}

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

.watch-card,
.info-card,
.side-card {
    padding: 24px;
}

.watch-card h2,
.info-card h2,
.side-card h2 {
    margin-bottom: 18px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
}

.player-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: #ffffff;
    background: #111827;
}

.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.66));
}

.player-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-round {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    padding-left: 5px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    border-radius: 999px;
    font-size: 36px;
    box-shadow: 0 18px 34px rgba(236, 72, 153, 0.35);
}

.player-cover strong {
    position: absolute;
    z-index: 2;
    left: 24px;
    bottom: 22px;
    right: 24px;
    overflow: hidden;
    text-align: left;
    font-size: clamp(22px, 3vw, 36px);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-card p {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.9;
}

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

.hidden-by-filter {
    display: none !important;
}

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

.footer-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 34px;
    padding: 46px 0 34px;
}

.footer-brand {
    color: #ffffff;
    font-size: 26px;
}

.footer-inner p {
    max-width: 460px;
    line-height: 1.8;
}

.footer-inner h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 18px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.footer-links a {
    color: #d1d5db;
}

.footer-links a:hover {
    color: #ffffff;
}

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

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

    .menu-toggle {
        display: block;
    }

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

    .split-section,
    .detail-section,
    .ranking-layout {
        grid-template-columns: 1fr;
    }

    .sticky-rank,
    .detail-aside .side-card {
        position: static;
    }

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

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

    .hero-copy {
        width: 100%;
        padding: 42px 28px;
        justify-content: end;
    }

    .hero-shade {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.90));
    }

    .hero-arrow {
        top: auto;
        bottom: 18px;
        transform: none;
    }

    .hero-arrow:hover {
        transform: scale(1.04);
    }

    .hero-dots {
        bottom: 78px;
    }

    .quick-inner,
    .detail-grid,
    .category-overview-card,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .movie-grid,
    .small-grid,
    .category-list-grid,
    .search-grid,
    .ranking-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-filter,
    .filter-panel {
        grid-template-columns: 1fr;
    }

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

    .detail-section {
        margin-top: -34px;
    }
}

@media (max-width: 560px) {
    .header-inner,
    .hero,
    .quick-panel,
    .content-section,
    .page-hero,
    .detail-container,
    .footer-inner {
        width: min(100% - 22px, 1240px);
    }

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

    .hero-title-block h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: 34px;
    }

    .hero-stage {
        height: 560px;
        border-radius: 24px;
    }

    .hero-copy h2 {
        font-size: 34px;
    }

    .hero-copy p,
    .hero-title-block p,
    .page-hero p,
    .detail-line {
        font-size: 16px;
    }

    .movie-grid,
    .small-grid,
    .category-list-grid,
    .search-grid,
    .ranking-grid,
    .category-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 34px 24px;
        border-radius: 24px;
    }

    .detail-grid {
        gap: 24px;
    }

    .mini-card {
        grid-template-columns: 86px 1fr auto;
    }

    .mini-card img {
        width: 86px;
        height: 58px;
    }
}
