:root {
    --color-ink: #431407;
    --color-text: #78350f;
    --color-muted: #a16207;
    --color-soft: #fef3c7;
    --color-paper: rgba(255, 251, 235, 0.86);
    --color-card: rgba(255, 255, 255, 0.82);
    --color-border: rgba(251, 191, 36, 0.34);
    --color-amber: #f59e0b;
    --color-gold: #eab308;
    --color-deep: #451a03;
    --shadow-soft: 0 22px 70px rgba(146, 64, 14, 0.16);
    --shadow-card: 0 16px 40px rgba(146, 64, 14, 0.14);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--color-text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(circle at 8% 4%, rgba(251, 191, 36, 0.25), transparent 34rem),
        radial-gradient(circle at 88% 8%, rgba(245, 158, 11, 0.18), transparent 30rem),
        linear-gradient(180deg, #fffbeb 0%, #fef3c7 42%, #fff7ed 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-body {
    min-height: 100vh;
    overflow-x: hidden;
}

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

.site-nav {
    position: fixed;
    z-index: 80;
    top: 0;
    left: 0;
    right: 0;
    transition: background 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

.site-nav.is-scrolled,
.site-nav.is-open {
    background: rgba(255, 251, 235, 0.86);
    box-shadow: 0 14px 42px rgba(146, 64, 14, 0.14);
    backdrop-filter: blur(18px);
}

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

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 210px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--color-amber), var(--color-gold));
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.35);
    transition: transform 0.25s ease;
}

.logo-link:hover .logo-mark {
    transform: rotate(10deg) scale(1.04);
}

.logo-title {
    display: block;
    font-size: 24px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #b45309, #eab308);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--color-ink);
    font-weight: 700;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-amber), var(--color-gold));
    transition: width 0.24s ease;
}

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

.nav-search {
    position: relative;
    width: min(280px, 32vw);
}

.nav-search input,
.search-large input,
.filter-input {
    width: 100%;
    border: 2px solid rgba(245, 158, 11, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--color-ink);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input {
    padding: 11px 44px 11px 18px;
}

.nav-search button,
.search-large button {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    border: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--color-amber), var(--color-gold));
    cursor: pointer;
}

.nav-search input:focus,
.search-large input:focus,
.filter-input:focus {
    border-color: var(--color-amber);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.13);
    background: rgba(255, 255, 255, 0.9);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--color-ink);
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--color-border);
    background: rgba(255, 251, 235, 0.94);
    backdrop-filter: blur(18px);
}

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

.mobile-panel-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 22px;
    display: grid;
    gap: 14px;
}

.mobile-panel a {
    font-weight: 800;
    color: var(--color-ink);
}

.page-main {
    padding-top: 100px;
}

.home-main {
    padding-top: 0;
}

.hero {
    position: relative;
    min-height: 720px;
    color: #fff;
    overflow: hidden;
    background: var(--color-deep);
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.68s ease, visibility 0.68s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.04);
    filter: saturate(1.04);
}

.hero-slide.is-active .hero-bg {
    animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1.02);
    }
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(23, 11, 2, 0.92) 0%, rgba(67, 20, 7, 0.74) 42%, rgba(23, 11, 2, 0.28) 100%),
        linear-gradient(0deg, rgba(23, 11, 2, 0.88) 0%, transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 720px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 380px;
    align-items: center;
    gap: 54px;
    padding-top: 92px;
    padding-bottom: 64px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff7ed;
    background: rgba(245, 158, 11, 0.86);
    font-weight: 900;
    box-shadow: 0 12px 34px rgba(245, 158, 11, 0.28);
}

.hero h1,
.hero h2 {
    margin: 18px 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: -0.07em;
}

.hero p {
    margin: 0;
    font-size: 19px;
    line-height: 1.75;
    color: rgba(255, 251, 235, 0.86);
}

.hero-meta,
.detail-meta,
.card-meta,
.rank-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-meta {
    margin: 22px 0 26px;
}

.badge,
.chip,
.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

.badge {
    padding: 7px 12px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-actions,
.section-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--color-amber), var(--color-gold));
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.32);
}

.btn-secondary {
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
}

.btn-ghost {
    color: var(--color-ink);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--color-border);
}

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

.hero-poster {
    position: relative;
    border-radius: 34px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(12px);
}

.hero-poster img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 26px;
}

.hero-poster-card {
    position: absolute;
    left: -18px;
    right: 18px;
    bottom: 28px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 251, 235, 0.92);
    color: var(--color-ink);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.hero-poster-card strong {
    display: block;
    font-size: 18px;
    color: var(--color-ink);
}

.hero-poster-card span {
    display: block;
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.5;
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

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

.hero-dot.is-active {
    width: 34px;
    background: var(--color-amber);
}

.hero-arrow {
    position: absolute;
    z-index: 4;
    top: 52%;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.34);
    transform: translateY(-1px);
}

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

.search-large {
    position: relative;
    max-width: 620px;
    margin-top: 28px;
}

.search-large input {
    height: 56px;
    padding: 0 62px 0 22px;
    background: rgba(255, 251, 235, 0.9);
}

.search-large button {
    width: 44px;
    height: 44px;
}

.section {
    padding: 70px 0;
}

.section.compact {
    padding: 38px 0;
}

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

.section-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    color: var(--color-ink);
    font-weight: 950;
    letter-spacing: -0.05em;
}

.section-desc {
    margin: 10px 0 0;
    max-width: 720px;
    color: var(--color-muted);
    line-height: 1.75;
}

.page-hero {
    position: relative;
    margin-top: 0;
    padding: 126px 0 56px;
    overflow: hidden;
    color: var(--color-ink);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 36%, rgba(245, 158, 11, 0.24), transparent 25rem),
        radial-gradient(circle at 78% 18%, rgba(234, 179, 8, 0.22), transparent 24rem);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.07em;
    font-weight: 950;
}

.page-hero p {
    margin: 16px 0 0;
    max-width: 760px;
    color: var(--color-muted);
    font-size: 18px;
    line-height: 1.76;
}

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-card);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 58px rgba(146, 64, 14, 0.2);
    border-color: rgba(245, 158, 11, 0.58);
}

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #92400e, #f59e0b);
}

.movie-poster img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

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

.poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72));
}

.quality-pill,
.score-pill {
    position: absolute;
    z-index: 1;
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.quality-pill {
    left: 12px;
    color: #fff;
    background: rgba(245, 158, 11, 0.92);
}

.score-pill {
    right: 12px;
    color: #78350f;
    background: rgba(255, 251, 235, 0.92);
}

.play-float {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    transform: translate(-50%, -50%) scale(0.8);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    opacity: 0;
    background: linear-gradient(135deg, var(--color-amber), var(--color-gold));
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card h3 {
    margin: 0 0 8px;
    color: var(--color-ink);
    font-size: 18px;
    line-height: 1.32;
    font-weight: 950;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.card-meta {
    gap: 8px;
    font-size: 13px;
    color: #92400e;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.tag {
    padding: 5px 9px;
    font-size: 12px;
    color: #92400e;
    background: #fef3c7;
}

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

.category-tile {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 24px;
    color: var(--color-ink);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(254, 243, 199, 0.84));
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -28px;
    bottom: -28px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(234, 179, 8, 0.34));
    transform: rotate(18deg);
}

.category-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 54px rgba(146, 64, 14, 0.19);
}

.category-tile h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: 23px;
    font-weight: 950;
}

.category-tile p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.rank-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.rank-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 30px rgba(146, 64, 14, 0.1);
}

.rank-no {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    font-weight: 950;
    background: linear-gradient(135deg, var(--color-amber), var(--color-gold));
}

.rank-thumb {
    width: 58px;
    height: 78px;
    border-radius: 14px;
    overflow: hidden;
    background: #f59e0b;
}

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

.rank-title {
    margin: 0 0 6px;
    color: var(--color-ink);
    font-weight: 950;
    line-height: 1.3;
}

.rank-meta {
    font-size: 13px;
    color: var(--color-muted);
}

.filters {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 26px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.filter-input {
    height: 48px;
    padding: 0 18px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(245, 158, 11, 0.34);
    border-radius: 999px;
    color: #92400e;
    background: #fff7ed;
    cursor: pointer;
    font-weight: 800;
}

.filter-btn.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--color-amber), var(--color-gold));
}

.detail-hero {
    padding: 120px 0 58px;
    color: #fff7ed;
    background: var(--color-deep);
    position: relative;
    overflow: hidden;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: blur(22px) saturate(1.08);
    transform: scale(1.08);
    opacity: 0.34;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23, 11, 2, 0.92), rgba(67, 20, 7, 0.66));
}

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

.detail-cover {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.34);
    background: #92400e;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 251, 235, 0.72);
    font-size: 14px;
    margin-bottom: 14px;
}

.breadcrumb a {
    color: #fde68a;
}

.detail-title {
    margin: 0 0 16px;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.03;
    letter-spacing: -0.07em;
    font-weight: 950;
}

.detail-intro {
    margin: 0 0 20px;
    max-width: 850px;
    color: rgba(255, 251, 235, 0.86);
    line-height: 1.78;
    font-size: 18px;
}

.detail-meta .badge {
    background: rgba(255, 255, 255, 0.13);
}

.player-section {
    padding: 54px 0;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #111827;
    box-shadow: 0 34px 80px rgba(67, 20, 7, 0.24);
}

.player-shell video {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    background: #111827;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.56));
    cursor: pointer;
    z-index: 4;
}

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

.player-play {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--color-amber), var(--color-gold));
    box-shadow: 0 20px 48px rgba(245, 158, 11, 0.38);
}

.article-card {
    border-radius: var(--radius-xl);
    padding: clamp(22px, 4vw, 42px);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.article-card h2 {
    margin: 0 0 14px;
    color: var(--color-ink);
    font-size: 28px;
    font-weight: 950;
}

.article-card p {
    margin: 0 0 18px;
    color: var(--color-text);
    line-height: 1.92;
    font-size: 17px;
}

.article-card p:last-child {
    margin-bottom: 0;
}

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

.side-panel {
    border-radius: var(--radius-xl);
    padding: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.side-panel h2 {
    margin: 0 0 16px;
    color: var(--color-ink);
    font-size: 22px;
    font-weight: 950;
}

.info-list {
    display: grid;
    gap: 12px;
}

.info-list div {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    color: var(--color-text);
    line-height: 1.55;
}

.info-list span:first-child {
    color: var(--color-muted);
    font-weight: 800;
}

.search-page-box {
    max-width: 780px;
    margin-top: 26px;
}

.search-results {
    display: grid;
    gap: 16px;
}

.search-result {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.search-result img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 16px;
}

.search-result h3 {
    margin: 0 0 8px;
    color: var(--color-ink);
    font-weight: 950;
    font-size: 21px;
}

.search-result p {
    margin: 0 0 10px;
    color: var(--color-muted);
    line-height: 1.65;
}

.empty-state {
    padding: 28px;
    border-radius: 24px;
    text-align: center;
    color: var(--color-muted);
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--color-border);
}

.site-footer {
    color: #fde68a;
    background: linear-gradient(180deg, #78350f, #451a03);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 28px;
    padding: 52px 0;
}

.site-footer h2,
.site-footer h3 {
    margin: 0 0 14px;
    color: #fef3c7;
    font-weight: 950;
}

.site-footer p,
.site-footer a {
    color: rgba(254, 243, 199, 0.82);
    line-height: 1.72;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(253, 230, 138, 0.16);
    padding: 18px 0;
    color: rgba(254, 243, 199, 0.72);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-poster {
        max-width: 340px;
    }

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

    .detail-grid,
    .rank-panel {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 820px) {
    .nav-links,
    .nav-search {
        display: none;
    }

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

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

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

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

    .hero-poster {
        display: none;
    }

    .hero-arrow {
        display: none;
    }

    .section-header,
    .filters {
        grid-template-columns: 1fr;
        display: grid;
        align-items: start;
    }

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

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

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

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

    .nav-inner {
        height: 70px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
        border-radius: 13px;
    }

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

    .logo-subtitle {
        display: none;
    }

    .hero h1,
    .hero h2,
    .page-hero h1,
    .detail-title {
        letter-spacing: -0.05em;
    }

    .hero p,
    .page-hero p,
    .detail-intro {
        font-size: 16px;
    }

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

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

    .rank-thumb {
        display: none;
    }

    .search-result {
        grid-template-columns: 72px minmax(0, 1fr);
    }

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