:root {
    --color-stone-50: #fafaf9;
    --color-stone-100: #f5f5f4;
    --color-stone-200: #e7e5e4;
    --color-stone-300: #d6d3d1;
    --color-stone-400: #a8a29e;
    --color-stone-500: #78716c;
    --color-stone-600: #57534e;
    --color-stone-700: #44403c;
    --color-stone-800: #292524;
    --color-stone-900: #1c1917;
    --color-amber-50: #fffbeb;
    --color-amber-100: #fef3c7;
    --color-amber-200: #fde68a;
    --color-amber-400: #fbbf24;
    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
    --color-amber-700: #b45309;
    --shadow-sm: 0 1px 2px rgba(41, 37, 36, 0.06);
    --shadow-md: 0 8px 20px rgba(41, 37, 36, 0.10);
    --shadow-lg: 0 18px 45px rgba(41, 37, 36, 0.16);
    --shadow-xl: 0 28px 70px rgba(41, 37, 36, 0.22);
    --radius-lg: 18px;
    --radius-xl: 24px;
    --header-height: 78px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--color-stone-800);
    background: linear-gradient(180deg, var(--color-stone-50) 0%, #ffffff 44%, var(--color-stone-100) 100%);
}

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

img {
    background: var(--color-stone-200);
}

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(214, 211, 209, 0.72);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
    border-color: rgba(214, 211, 209, 0.9);
    box-shadow: var(--shadow-md);
}

.navbar {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--color-amber-600), var(--color-amber-700));
    box-shadow: 0 10px 28px rgba(217, 119, 6, 0.28);
}

.brand-text strong,
.brand-text span {
    display: block;
}

.brand-text strong {
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-stone-900);
}

.brand-text span {
    margin-top: 3px;
    font-size: 12px;
    color: var(--color-stone-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    position: relative;
    font-weight: 700;
    color: var(--color-stone-700);
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--color-amber-600);
    transition: width 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--color-amber-600);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-search,
.search-box {
    position: relative;
}

.nav-search input,
.search-box input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid var(--color-stone-300);
    border-radius: 999px;
    color: var(--color-stone-800);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
    width: 250px;
    padding: 11px 18px 11px 42px;
}

.search-box input {
    padding: 15px 20px 15px 50px;
}

.nav-search input:focus,
.search-box input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--color-amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-stone-400);
    pointer-events: none;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: var(--color-stone-700);
    background: var(--color-stone-100);
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--color-stone-200);
    padding: 16px 0 18px;
}

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

.mobile-panel a {
    display: block;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 700;
    color: var(--color-stone-700);
}

.mobile-panel a:hover {
    color: var(--color-amber-600);
    background: var(--color-stone-100);
}

.hero-carousel {
    position: relative;
    height: 600px;
    overflow: hidden;
    color: #ffffff;
    background: var(--color-stone-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.85s ease;
}

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 24%, rgba(245, 158, 11, 0.28), transparent 34%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 0.20) 100%);
}

.hero-content {
    position: absolute;
    inset: auto 0 0;
    padding: 0 0 78px;
}

.hero-copy {
    max-width: 780px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    background: var(--color-amber-500);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.32);
}

.hero-copy h1,
.hero-copy h2 {
    margin: 18px 0 16px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
    line-height: 1.72;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.76);
}

.hero-meta li {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.primary-button,
.secondary-button,
.soft-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    padding: 0 24px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
    color: #ffffff;
    background: var(--color-amber-500);
    box-shadow: 0 16px 34px rgba(245, 158, 11, 0.32);
}

.primary-button:hover {
    transform: translateY(-2px);
    background: var(--color-amber-600);
    box-shadow: 0 22px 42px rgba(245, 158, 11, 0.36);
}

.secondary-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.secondary-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.soft-button {
    color: var(--color-amber-700);
    background: var(--color-amber-100);
}

.soft-button:hover {
    color: #ffffff;
    background: var(--color-amber-600);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

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

.section {
    padding: 70px 0;
}

.section-alt {
    background: var(--color-stone-50);
}

.section-white {
    background: #ffffff;
}

.section-gradient {
    background: linear-gradient(180deg, var(--color-stone-50), var(--color-stone-100));
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--color-amber-600);
    font-weight: 900;
}

.section-title {
    margin: 0;
    color: var(--color-stone-800);
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-desc {
    max-width: 780px;
    margin: 12px 0 0;
    color: var(--color-stone-600);
    line-height: 1.8;
}

.view-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-amber-600);
    font-weight: 800;
}

.view-more:hover {
    color: var(--color-amber-700);
}

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

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(231, 229, 228, 0.92);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    border-color: rgba(245, 158, 11, 0.36);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.movie-poster {
    position: relative;
    height: 236px;
    overflow: hidden;
    background: var(--color-stone-200);
}

.movie-card.large .movie-poster {
    height: 332px;
}

.movie-card.small .movie-poster {
    height: 150px;
}

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

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

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

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

.card-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    color: var(--color-amber-600);
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.badge,
.year-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.badge {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background: rgba(41, 37, 36, 0.78);
}

.year-badge {
    right: 12px;
    bottom: 12px;
    padding: 5px 10px;
    background: rgba(217, 119, 6, 0.86);
}

.movie-info {
    padding: 16px;
}

.movie-info h3 {
    margin: 0 0 9px;
    color: var(--color-stone-800);
    font-size: 17px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.movie-card:hover .movie-info h3 {
    color: var(--color-amber-600);
}

.movie-info p {
    margin: 0 0 12px;
    color: var(--color-stone-600);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--color-stone-500);
    font-size: 12px;
}

.movie-meta-inline span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    border-radius: var(--radius-xl);
    color: #ffffff;
    background: var(--color-stone-900);
    box-shadow: var(--shadow-md);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.55s ease, opacity 0.25s ease;
}

.category-card:hover img {
    opacity: 0.68;
    transform: scale(1.08);
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12));
}

.category-card-body {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: 22px;
}

.category-card h2,
.category-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.category-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 66px 78px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--color-stone-200);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rank-row:hover {
    border-color: rgba(245, 158, 11, 0.36);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.rank-no {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    color: var(--color-amber-700);
    font-weight: 900;
    background: var(--color-amber-100);
}

.rank-row:nth-child(-n+3) .rank-no {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-amber-500), var(--color-amber-700));
}

.rank-thumb {
    width: 78px;
    height: 98px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--color-stone-200);
}

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

.rank-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--color-stone-800);
}

.rank-body p {
    margin: 0;
    color: var(--color-stone-600);
    line-height: 1.6;
}

.rank-score {
    min-width: 96px;
    text-align: right;
    color: var(--color-amber-700);
    font-weight: 900;
}

.page-hero {
    padding: 72px 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 14%, rgba(251, 191, 36, 0.32), transparent 28%),
        linear-gradient(135deg, var(--color-amber-600), var(--color-amber-700));
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 820px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.8;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

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

.filter-section {
    padding: 42px 0 76px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 180px 180px auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--color-stone-200);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(14px);
}

.filter-panel input,
.filter-panel select {
    height: 48px;
    padding: 0 16px;
    border-radius: 14px;
}

.filter-panel button {
    height: 48px;
    border: 0;
    border-radius: 14px;
    padding: 0 18px;
    color: #ffffff;
    font-weight: 800;
    background: var(--color-amber-600);
}

.filter-empty {
    display: none;
    margin: 44px auto 0;
    max-width: 520px;
    border-radius: var(--radius-xl);
    padding: 34px;
    text-align: center;
    color: var(--color-stone-600);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

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

.detail-hero {
    position: relative;
    padding: 62px 0;
    color: #ffffff;
    background: var(--color-stone-900);
    overflow: hidden;
}

.detail-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.26;
    filter: blur(3px) saturate(1.05);
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(245, 158, 11, 0.28), transparent 30%),
        linear-gradient(90deg, rgba(28, 25, 23, 0.97), rgba(28, 25, 23, 0.76));
}

.detail-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    background: var(--color-stone-700);
    box-shadow: var(--shadow-xl);
}

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

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.6vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-one-line {
    margin: 0 0 24px;
    max-width: 780px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 19px;
    line-height: 1.78;
}

.detail-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.detail-facts li,
.tag-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border-radius: 999px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 800;
}

.detail-facts li {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(12px);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 26px;
}

.tag-chip {
    color: var(--color-amber-700);
    background: var(--color-amber-100);
}

.player-section {
    padding: 58px 0 34px;
    background: #ffffff;
}

.player-shell {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--color-stone-900);
    box-shadow: var(--shadow-xl);
}

.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    background: #000000;
}

.player-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.18));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-circle {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    margin: 0 auto 18px;
    border-radius: 999px;
    color: var(--color-amber-600);
    font-size: 34px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
    transform: scale(1);
    transition: transform 0.2s ease;
}

.player-cover:hover .play-circle {
    transform: scale(1.06);
}

.player-cover strong {
    display: block;
    font-size: clamp(22px, 3vw, 36px);
    line-height: 1.2;
}

.player-cover span:last-child {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
}

.detail-content {
    padding: 36px 0 76px;
    background: #ffffff;
}

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

.article-card,
.side-card {
    border: 1px solid var(--color-stone-200);
    border-radius: var(--radius-xl);
    padding: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.article-card h2,
.side-card h2,
.side-card h3 {
    margin: 0 0 16px;
    font-size: 26px;
    color: var(--color-stone-800);
}

.article-card p {
    margin: 0 0 22px;
    color: var(--color-stone-700);
    font-size: 17px;
    line-height: 1.9;
}

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

.side-link {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    border-radius: 16px;
    padding: 9px;
    background: var(--color-stone-50);
    transition: background 0.2s ease, transform 0.2s ease;
}

.side-link:hover {
    background: var(--color-amber-50);
    transform: translateX(3px);
}

.side-link img {
    width: 72px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
}

.side-link strong {
    display: block;
    margin-bottom: 6px;
    color: var(--color-stone-800);
    line-height: 1.4;
}

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

.search-hero {
    padding: 76px 0 44px;
    background: linear-gradient(180deg, #ffffff, var(--color-stone-50));
}

.search-panel {
    max-width: 820px;
    margin: 28px 0 0;
}

.search-submit {
    position: absolute;
    top: 6px;
    right: 6px;
    height: calc(100% - 12px);
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    color: #ffffff;
    font-weight: 800;
    background: var(--color-amber-600);
}

.search-status {
    margin: 0 0 24px;
    color: var(--color-stone-600);
    font-weight: 700;
}

.site-footer {
    color: var(--color-stone-300);
    background: linear-gradient(180deg, var(--color-stone-800), var(--color-stone-900));
}

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

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
}

.footer-brand span {
    display: block;
    margin-top: 3px;
    color: var(--color-stone-400);
    font-size: 12px;
}

.site-footer p {
    margin: 0;
    color: var(--color-stone-400);
    line-height: 1.8;
}

.footer-col h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.footer-col a {
    display: block;
    margin: 9px 0;
    color: var(--color-stone-400);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
    color: var(--color-amber-400);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(120, 113, 108, 0.32);
    padding: 22px 0;
    color: var(--color-stone-500);
    font-size: 14px;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

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

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

    .movie-grid.featured,
    .content-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 880px) {
    :root {
        --header-height: 66px;
    }

    .nav-links,
    .nav-search {
        display: none;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .brand {
        min-width: auto;
    }

    .hero-carousel {
        height: 520px;
    }

    .hero-content {
        padding-bottom: 68px;
    }

    .hero-arrow {
        display: none;
    }

    .section {
        padding: 48px 0;
    }

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

    .movie-grid,
    .movie-grid.compact,
    .movie-grid.featured,
    .category-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .movie-poster,
    .movie-card.large .movie-poster {
        height: 228px;
    }

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

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

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

    .rank-row {
        grid-template-columns: 44px 64px 1fr;
    }

    .rank-score {
        grid-column: 3;
        text-align: left;
    }
}

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

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text span {
        display: none;
    }

    .hero-carousel {
        height: 500px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-meta {
        gap: 8px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button,
    .secondary-button,
    .soft-button {
        width: 100%;
    }

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

    .movie-poster,
    .movie-card.large .movie-poster {
        height: 310px;
    }

    .rank-row {
        grid-template-columns: 38px 58px 1fr;
        gap: 10px;
        padding: 10px;
    }

    .rank-thumb {
        width: 58px;
        height: 76px;
    }

    .rank-body h3 {
        font-size: 16px;
    }

    .rank-body p {
        display: none;
    }

    .detail-hero {
        padding: 42px 0;
    }

    .player-frame {
        min-height: 210px;
    }

    .article-card,
    .side-card {
        padding: 22px;
    }

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

    .footer-bottom .container {
        align-items: flex-start;
        flex-direction: column;
    }
}
