:root {
    --amber-50: #fffbeb;
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-200: #fed7aa;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --amber-500: #f59e0b;
    --yellow-200: #fef08a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
    --shadow-soft: 0 20px 45px rgba(234, 88, 12, 0.14);
    --shadow-card: 0 18px 40px rgba(17, 24, 39, 0.08);
    --radius-xl: 22px;
    --radius-2xl: 30px;
    --container: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-800);
    background: linear-gradient(135deg, var(--amber-50) 0%, var(--orange-50) 50%, #fefce8 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(254, 215, 170, 0.9);
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.08);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

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

.logo-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-400), var(--amber-500));
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.28);
}

.logo-title {
    display: block;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #b45309, var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-subtitle {
    display: block;
    margin-top: -4px;
    color: var(--gray-500);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    color: var(--gray-700);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--orange-600);
    background: var(--orange-50);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--gray-800);
    background: var(--orange-50);
    border-radius: 14px;
    cursor: pointer;
}

.nav-toggle span {
    position: relative;
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.nav-toggle span::before,
.nav-toggle span::after {
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    content: "";
    background: currentColor;
    border-radius: 999px;
    transition: transform 0.2s ease;
}

.nav-toggle span::before {
    top: -6px;
}

.nav-toggle span::after {
    top: 6px;
}

body.nav-open .nav-toggle span {
    background: transparent;
}

body.nav-open .nav-toggle span::before {
    transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span::after {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-400), var(--amber-500));
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.34), transparent 24%),
        radial-gradient(circle at 85% 10%, rgba(254, 240, 138, 0.34), transparent 22%),
        linear-gradient(90deg, rgba(127, 29, 29, 0.6), rgba(234, 88, 12, 0.46) 44%, rgba(17, 24, 39, 0.68));
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    filter: saturate(1.1) contrast(1.02);
}

.hero-ornament {
    position: absolute;
    z-index: 2;
    opacity: 0.24;
    pointer-events: none;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.16));
}

.hero-ornament.one {
    top: 48px;
    left: 9%;
    font-size: 76px;
}

.hero-ornament.two {
    top: 150px;
    right: 12%;
    font-size: 58px;
}

.hero-ornament.three {
    right: 30%;
    bottom: 64px;
    font-size: 68px;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 42px;
    align-items: center;
    min-height: 620px;
    padding: 82px 0 68px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.96);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    font-weight: 800;
}

.hero-title {
    margin: 0 0 18px;
    font-size: clamp(40px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-shadow: 0 18px 34px rgba(127, 29, 29, 0.22);
}

.hero-title span {
    color: var(--yellow-200);
}

.hero-text {
    max-width: 700px;
    margin: 0 0 26px;
    color: rgba(255, 247, 237, 0.94);
    font-size: clamp(17px, 2.2vw, 22px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 26px;
}

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

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

.btn-primary {
    color: var(--orange-600);
    background: var(--white);
    box-shadow: 0 18px 35px rgba(127, 29, 29, 0.18);
}

.btn-primary:hover {
    background: #fff7ed;
}

.btn-secondary {
    color: var(--white);
    background: rgba(194, 65, 12, 0.86);
    box-shadow: 0 18px 35px rgba(127, 29, 29, 0.16);
}

.btn-secondary:hover {
    background: rgba(154, 52, 18, 0.94);
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    max-width: 620px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    box-shadow: 0 18px 48px rgba(127, 29, 29, 0.12);
    backdrop-filter: blur(12px);
}

.hero-search input {
    width: 100%;
    min-width: 0;
    padding: 0 18px;
    color: var(--white);
    border: 0;
    outline: 0;
    background: transparent;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.82);
}

.hero-search button {
    min-height: 44px;
    padding: 0 20px;
    color: var(--orange-600);
    border: 0;
    background: var(--white);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 900;
}

.hero-card {
    position: relative;
    width: min(420px, 100%);
    justify-self: end;
    padding: 18px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-2xl);
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.28);
    backdrop-filter: blur(16px);
}

.hero-poster {
    overflow: hidden;
    aspect-ratio: 2 / 2.65;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 24px;
}

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

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

.hero-card-body {
    padding: 18px 4px 2px;
}

.hero-card-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.15;
}

.hero-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.hero-chip,
.tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    color: var(--orange-600);
    background: var(--orange-50);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hero-card .hero-chip {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
}

.hero-card-summary {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.82);
}

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

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

.hero-dot.is-active {
    width: 28px;
    background: var(--white);
}

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

.page-section.tight {
    padding-top: 38px;
}

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

.section-kicker {
    margin: 0 0 8px;
    color: var(--orange-500);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    color: var(--gray-900);
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-desc {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--gray-600);
}

.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    color: var(--orange-600);
    background: var(--white);
    border: 1px solid var(--orange-100);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.08);
    font-weight: 900;
    white-space: nowrap;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--orange-100);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.feature-item {
    padding: 22px;
    text-align: center;
    background: linear-gradient(180deg, var(--white), var(--orange-50));
    border-radius: 22px;
}

.feature-icon {
    margin-bottom: 8px;
    font-size: 34px;
}

.feature-item h3 {
    margin: 0 0 6px;
    color: var(--gray-900);
}

.feature-item p {
    margin: 0;
    color: var(--gray-600);
    font-size: 14px;
}

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

.category-card {
    display: flex;
    min-height: 162px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    background: linear-gradient(145deg, var(--white), var(--orange-50));
    border: 1px solid var(--orange-100);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-card strong {
    color: var(--gray-900);
    font-size: 20px;
}

.category-card p {
    margin: 10px 0 18px;
    color: var(--gray-600);
    font-size: 14px;
}

.category-card span {
    color: var(--orange-600);
    font-weight: 900;
}

.toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--orange-100);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.search-box {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    color: var(--gray-800);
    border: 1px solid var(--orange-100);
    outline: 0;
    background: var(--white);
    border-radius: 999px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.filter-chip {
    min-height: 42px;
    padding: 0 14px;
    color: var(--gray-700);
    border: 1px solid var(--orange-100);
    background: var(--white);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
}

.filter-chip.is-active,
.filter-chip:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-400), var(--amber-500));
}

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

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

.movie-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--orange-100);
    border-radius: 24px;
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    border-color: var(--orange-200);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

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

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

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

.poster-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    color: var(--white);
    background: rgba(234, 88, 12, 0.88);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.rating-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    color: #78350f;
    background: rgba(254, 240, 138, 0.92);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.movie-content {
    padding: 16px 16px 18px;
}

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 800;
}

.movie-title {
    margin: 0 0 8px;
    color: var(--gray-900);
    font-size: 18px;
    line-height: 1.25;
}

.movie-title a:hover {
    color: var(--orange-600);
}

.movie-desc {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    width: 100%;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-400), var(--amber-500));
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
}

.page-hero {
    padding: 64px 0 48px;
    background:
        radial-gradient(circle at 10% 10%, rgba(251, 146, 60, 0.22), transparent 26%),
        radial-gradient(circle at 90% 15%, rgba(245, 158, 11, 0.2), transparent 26%);
}

.page-hero-card {
    padding: 34px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--orange-100);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 700;
}

.breadcrumb a:hover {
    color: var(--orange-600);
}

.page-title {
    margin: 0 0 12px;
    color: var(--gray-900);
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.page-description {
    max-width: 780px;
    margin: 0;
    color: var(--gray-600);
    font-size: 18px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 78px 128px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--orange-100);
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.06);
}

.rank-number {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-400), var(--amber-500));
    border-radius: 18px;
    font-size: 20px;
    font-weight: 900;
}

.rank-poster {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    background: var(--orange-50);
}

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

.rank-info h2 {
    margin: 0 0 6px;
    color: var(--gray-900);
    font-size: 22px;
}

.rank-info p {
    margin: 0;
    color: var(--gray-600);
}

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

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background-image:
        linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(194, 65, 12, 0.72), rgba(249, 115, 22, 0.42)),
        var(--detail-image);
    background-position: center;
    background-size: cover;
}

.detail-hero .container {
    position: relative;
    z-index: 2;
}

.detail-hero::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: radial-gradient(circle at 75% 20%, rgba(254, 240, 138, 0.18), transparent 26%);
}

.detail-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 34px;
    align-items: end;
    min-height: 440px;
    padding: 64px 0;
}

.detail-title {
    max-width: 880px;
    margin: 0 0 16px;
    font-size: clamp(34px, 5.6vw, 70px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.detail-lead {
    max-width: 860px;
    margin: 0 0 24px;
    color: rgba(255, 247, 237, 0.92);
    font-size: 20px;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 10px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-2xl);
    box-shadow: 0 30px 70px rgba(17, 24, 39, 0.34);
}

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

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

.detail-card,
.side-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--orange-100);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.detail-card {
    overflow: hidden;
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--black);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.player-shell video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    object-fit: contain;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.5));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    padding-left: 6px;
    color: var(--orange-600);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.3);
    font-size: 34px;
}

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

.detail-body {
    padding: 28px;
}

.detail-body h2,
.detail-body h3,
.side-card h2,
.side-card h3 {
    margin: 0 0 14px;
    color: var(--gray-900);
}

.detail-body p {
    margin: 0 0 22px;
    color: var(--gray-700);
}

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

.meta-item {
    padding: 14px;
    background: linear-gradient(180deg, var(--orange-50), var(--white));
    border: 1px solid var(--orange-100);
    border-radius: 18px;
}

.meta-item span {
    display: block;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 900;
}

.meta-item strong {
    display: block;
    margin-top: 4px;
    color: var(--gray-900);
}

.review-box {
    padding: 22px;
    margin-top: 18px;
    background: linear-gradient(135deg, var(--orange-50), var(--amber-50));
    border: 1px solid var(--orange-100);
    border-radius: 22px;
}

.side-card {
    padding: 22px;
    align-self: start;
    position: sticky;
    top: 100px;
}

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

.side-movie {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.side-thumb {
    overflow: hidden;
    aspect-ratio: 1 / 1.25;
    border-radius: 14px;
    background: var(--orange-50);
}

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

.side-movie strong {
    display: block;
    color: var(--gray-900);
    line-height: 1.25;
}

.side-movie span {
    color: var(--gray-500);
    font-size: 13px;
}

.empty-result {
    display: none;
    padding: 42px;
    color: var(--gray-600);
    text-align: center;
    background: var(--white);
    border: 1px solid var(--orange-100);
    border-radius: var(--radius-2xl);
}

.empty-result.is-visible {
    display: block;
}

.site-footer {
    margin-top: 48px;
    color: var(--gray-700);
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(255, 237, 213, 0.92));
    border-top: 1px solid var(--orange-100);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 28px;
    padding: 44px 0;
}

.footer-brand p,
.footer-column p,
.footer-column a {
    color: var(--gray-600);
    font-size: 14px;
}

.footer-column h3 {
    margin: 0 0 14px;
    color: var(--gray-900);
    font-size: 16px;
}

.footer-column a {
    display: block;
    margin: 8px 0;
}

.footer-column a:hover {
    color: var(--orange-600);
}

.footer-bottom {
    padding: 18px 0;
    color: var(--gray-500);
    border-top: 1px solid var(--orange-100);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 1180px) {
    .movie-grid,
    .movie-grid.compact {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

@media (max-width: 920px) {
    .header-inner {
        min-height: 68px;
    }

    .site-nav {
        position: fixed;
        inset: 68px 16px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid var(--orange-100);
        border-radius: 24px;
        box-shadow: var(--shadow-card);
    }

    body.nav-open .site-nav {
        display: flex;
    }

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

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

    .hero-card {
        justify-self: start;
        width: min(360px, 100%);
    }

    .detail-poster {
        width: min(280px, 72vw);
    }

    .side-card {
        position: static;
    }

    .toolbar {
        grid-template-columns: 1fr;
    }

    .rank-item {
        grid-template-columns: 56px 96px minmax(0, 1fr);
    }

    .rank-meta {
        grid-column: 3;
        white-space: normal;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

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

    .logo-subtitle {
        display: none;
    }

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

    .hero-content {
        padding-top: 52px;
    }

    .hero-search {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .hero-search input {
        min-height: 44px;
    }

    .hero-search button {
        width: 100%;
    }

    .section-head {
        display: block;
    }

    .section-link {
        margin-top: 14px;
    }

    .feature-strip,
    .category-grid,
    .movie-grid,
    .movie-grid.compact,
    .meta-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .movie-grid {
        gap: 18px;
    }

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

    .rank-poster {
        grid-column: 1 / -1;
        order: -1;
    }

    .rank-info,
    .rank-meta {
        grid-column: 1 / -1;
    }

    .detail-body {
        padding: 20px;
    }
}
