:root {
    --green-950: #052e16;
    --green-900: #14532d;
    --green-800: #166534;
    --green-700: #15803d;
    --green-600: #16a34a;
    --green-500: #22c55e;
    --green-100: #dcfce7;
    --green-50: #f0fdf4;
    --yellow-300: #fde047;
    --gray-950: #030712;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.10);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, var(--green-50), #ffffff 42%, #ffffff);
    color: var(--gray-800);
    min-width: 320px;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
}

.top-nav {
    background: linear-gradient(90deg, var(--green-700), var(--green-900));
    color: var(--white);
    box-shadow: 0 12px 28px rgba(5, 46, 22, 0.22);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 0 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand-icon {
    font-size: 28px;
    line-height: 1;
}

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

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

.nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #bbf7d0;
    transform: translateY(-1px);
}

.nav-search {
    width: 240px;
    display: flex;
    align-items: center;
    background: rgba(20, 83, 45, 0.9);
    border: 1px solid rgba(187, 247, 208, 0.24);
    border-radius: 999px;
    padding: 3px 4px 3px 14px;
}

.nav-search input,
.mobile-search input,
.hero-search input,
.page-search input,
.filter-bar input,
.filter-bar select {
    border: 0;
    outline: 0;
}

.nav-search input {
    min-width: 0;
    width: 100%;
    color: var(--white);
    background: transparent;
}

.nav-search input::placeholder {
    color: #bbf7d0;
}

.nav-search button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: var(--green-900);
    background: var(--green-100);
    cursor: pointer;
    font-weight: 800;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    color: var(--white);
    background: rgba(20, 83, 45, 0.72);
    cursor: pointer;
}

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

.mobile-panel {
    display: none;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 18px;
}

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

.mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin: 10px 0 16px;
}

.mobile-search input {
    border-radius: 999px;
    padding: 11px 14px;
    color: var(--white);
    background: rgba(20, 83, 45, 0.9);
}

.mobile-search button,
.page-search button,
.hero-search button {
    border: 0;
    border-radius: 999px;
    color: var(--green-900);
    background: var(--white);
    font-weight: 800;
    cursor: pointer;
    padding: 0 18px;
}

.mobile-link {
    display: block;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.mobile-link.is-active {
    color: #bbf7d0;
}

.hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: linear-gradient(120deg, var(--green-900), var(--green-700) 45%, var(--green-950));
    color: var(--white);
}

.hero-light {
    position: absolute;
    border-radius: 999px;
    filter: blur(50px);
    opacity: 0.22;
    pointer-events: none;
    animation: pulseGlow 7s ease-in-out infinite;
}

.hero-light-one {
    width: 220px;
    height: 220px;
    left: 5%;
    top: 10%;
    background: var(--white);
}

.hero-light-two {
    width: 320px;
    height: 320px;
    right: 5%;
    bottom: 12%;
    background: var(--yellow-300);
    animation-delay: 1.5s;
}

.hero-slide {
    position: absolute;
    inset: 0;
    max-width: 1180px;
    margin: 0 auto;
    padding: 68px 20px 122px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
    gap: 54px;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-kicker {
    color: #bbf7d0;
    margin-bottom: 16px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(38px, 5.5vw, 70px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-summary {
    margin: 22px 0 0;
    max-width: 700px;
    color: #dcfce7;
    font-size: clamp(17px, 2.1vw, 23px);
    line-height: 1.8;
}

.hero-tags,
.detail-tags,
.page-chip-row,
.hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.hero-tags span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    color: var(--green-950);
    background: rgba(220, 252, 231, 0.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    padding: 0 24px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-light {
    color: var(--green-900);
    background: var(--white);
    box-shadow: 0 18px 38px rgba(5, 46, 22, 0.18);
}

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

.hero-cover {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 32px 80px rgba(3, 7, 18, 0.45);
    transform: rotate(1deg);
}

.hero-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.64));
}

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

.hero-cover:hover img {
    transform: scale(1.07);
}

.hero-cover-info {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: grid;
    gap: 5px;
}

.hero-cover-info strong {
    font-size: 26px;
}

.hero-cover-info em {
    font-style: normal;
    color: #dcfce7;
}

.hero-panel {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 44px;
    width: min(1140px, calc(100% - 40px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: minmax(260px, 430px) 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: rgba(5, 46, 22, 0.48);
    backdrop-filter: blur(16px);
}

.hero-search,
.page-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.hero-search input,
.page-search input {
    min-width: 0;
    border-radius: 999px;
    padding: 13px 18px;
    color: var(--gray-800);
    background: var(--white);
}

.hero-chip-row a,
.page-chip-row a {
    border-radius: 999px;
    padding: 9px 13px;
    font-weight: 700;
    color: #dcfce7;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-chip-row a:hover,
.page-chip-row a:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.hero-dots {
    position: absolute;
    z-index: 6;
    right: max(20px, calc((100vw - 1180px) / 2 + 20px));
    bottom: 132px;
    display: flex;
    gap: 9px;
}

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

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

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 70px;
    fill: var(--green-50);
}

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

.narrow-section {
    padding-top: 48px;
    padding-bottom: 48px;
}

.tint-section,
.rank-page-section {
    max-width: none;
    background: linear-gradient(90deg, rgba(220, 252, 231, 0.72), rgba(240, 253, 244, 0.92));
}

.tint-section > *,
.rank-page-section > * {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-heading h2 {
    margin: 6px 0 0;
    font-size: clamp(28px, 3.4vw, 42px);
    color: var(--gray-800);
    letter-spacing: -0.04em;
}

.section-kicker {
    color: var(--green-600);
}

.section-more {
    color: var(--green-700);
    font-weight: 800;
    white-space: nowrap;
}

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

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

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

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

.movie-card-link {
    height: 100%;
    display: grid;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-100), var(--green-700));
}

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

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

.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.54));
    transition: opacity 0.25s ease;
}

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

.poster-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    border-radius: 999px;
    padding: 5px 11px;
    color: var(--white);
    background: var(--green-600);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(22, 101, 52, 0.28);
}

.poster-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.32), transparent 60%);
    transform: translateX(-110%);
    transition: transform 0.55s ease;
}

.movie-card-link:hover .poster-shine {
    transform: translateX(110%);
}

.movie-card-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.movie-title {
    font-size: 18px;
    color: var(--gray-800);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.movie-card-link:hover .movie-title {
    color: var(--green-600);
}

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

.movie-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--gray-500);
    font-size: 12px;
}

.movie-meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-card-compact .movie-card-body {
    padding: 14px;
}

.movie-card-compact .movie-title {
    font-size: 16px;
}

.rank-section-home {
    padding-top: 52px;
}

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

.home-rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rank-item {
    display: grid;
    grid-template-columns: 54px 68px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.rank-number {
    color: var(--green-700);
    font-weight: 900;
    font-size: 22px;
    text-align: center;
}

.rank-item img {
    width: 68px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--green-100);
}

.rank-content {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.rank-content strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--gray-800);
}

.rank-content em {
    font-style: normal;
    color: var(--gray-500);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-meta {
    color: var(--gray-500);
    font-size: 13px;
    white-space: nowrap;
}

.cta-section {
    color: var(--white);
    background: linear-gradient(90deg, var(--green-700), var(--green-950));
    padding: 80px 20px;
    text-align: center;
}

.cta-section > div {
    max-width: 780px;
    margin: 0 auto;
}

.cta-section span {
    color: #bbf7d0;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.cta-section h2 {
    margin: 12px 0;
    font-size: clamp(30px, 4vw, 48px);
}

.cta-section p {
    color: #dcfce7;
    line-height: 1.9;
    margin-bottom: 28px;
}

.page-hero {
    color: var(--white);
    background: radial-gradient(circle at 20% 20%, rgba(253, 224, 71, 0.22), transparent 28%), linear-gradient(90deg, var(--green-700), var(--green-950));
}

.page-hero-inner,
.detail-breadcrumb-wrap,
.detail-layout {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.page-hero-inner {
    padding-top: 52px;
    padding-bottom: 58px;
}

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

.detail-breadcrumb-wrap .breadcrumb {
    color: var(--gray-600);
    margin-bottom: 0;
}

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

.detail-breadcrumb-wrap .breadcrumb a:hover {
    color: var(--green-600);
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 780px;
    color: #dcfce7;
    line-height: 1.8;
    font-size: 18px;
}

.page-chip-row {
    margin-top: 26px;
}

.page-search {
    margin-top: 24px;
    max-width: 620px;
}

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

.category-card {
    position: relative;
    min-height: 250px;
    display: block;
    overflow: hidden;
    border-radius: 26px;
    background: var(--green-900);
    box-shadow: var(--shadow-soft);
}

.category-card img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
}

.category-card-content {
    position: absolute;
    inset: auto 22px 22px 22px;
    display: grid;
    gap: 8px;
    color: var(--white);
}

.category-card-content strong {
    font-size: 28px;
}

.category-card-content em {
    font-style: normal;
    color: #dcfce7;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.category-samples span {
    border-radius: 999px;
    padding: 3px 9px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 170px 170px;
    gap: 14px;
    align-items: end;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.filter-bar label {
    display: grid;
    gap: 7px;
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 800;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--gray-800);
    background: var(--gray-100);
}

.empty-state {
    display: none;
    text-align: center;
    color: var(--gray-500);
    background: var(--white);
    border-radius: 22px;
    padding: 48px 20px;
    box-shadow: var(--shadow-soft);
}

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

.detail-breadcrumb-wrap {
    padding-top: 20px;
    padding-bottom: 12px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding-top: 18px;
    padding-bottom: 72px;
}

.detail-main {
    min-width: 0;
}

.player-card,
.detail-article,
.aside-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.movie-player {
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 8px;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--green-900);
    background: var(--white);
    font-size: 30px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.player-cover strong {
    font-size: 24px;
}

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

.detail-article {
    margin-top: 22px;
    padding: 30px;
}

.detail-article h1 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 44px);
    color: var(--gray-800);
    letter-spacing: -0.04em;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 20px;
}

.detail-meta span,
.detail-meta button {
    border-radius: 999px;
    padding: 7px 11px;
    background: var(--gray-100);
}

.detail-meta button {
    border: 0;
    color: var(--green-700);
    font-weight: 800;
    cursor: pointer;
}

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

.detail-tags span {
    color: var(--green-800);
    background: var(--green-100);
}

.detail-article section {
    margin-top: 28px;
}

.detail-article h2,
.aside-card h2,
.text-page h2 {
    margin: 0 0 12px;
    color: var(--gray-800);
}

.detail-article p,
.text-page p {
    color: var(--gray-700);
    line-height: 1.9;
    margin: 0;
}

.review-box {
    border-top: 1px solid var(--gray-200);
    padding-top: 24px;
}

.review-box p {
    border-radius: 18px;
    padding: 20px;
    background: var(--green-50);
    font-style: italic;
}

.detail-aside {
    display: grid;
    align-content: start;
    gap: 20px;
}

.aside-card {
    padding: 22px;
}

.poster-card {
    padding: 0;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--green-100);
}

.info-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.info-list div {
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 12px;
}

.info-list dt {
    color: var(--gray-500);
    font-size: 13px;
}

.info-list dd {
    margin: 4px 0 0;
    color: var(--gray-800);
    font-weight: 800;
}

.related-section {
    padding-top: 0;
}

.full-rank-list {
    max-width: 1180px;
}

.text-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 64px 20px;
}

.text-page article {
    padding: 34px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.text-page h2:not(:first-child) {
    margin-top: 28px;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.18;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

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

    .nav-search {
        margin-left: auto;
    }

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

    .hero-slide {
        grid-template-columns: 1fr 300px;
        gap: 34px;
    }

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

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

@media (max-width: 860px) {
    .nav-inner {
        gap: 14px;
    }

    .nav-search {
        display: none;
    }

    .hero {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: start;
        padding-top: 44px;
        gap: 28px;
    }

    .hero-cover {
        width: min(330px, 100%);
        justify-self: center;
        aspect-ratio: 4 / 3;
    }

    .hero-panel {
        grid-template-columns: 1fr;
        bottom: 34px;
    }

    .hero-dots {
        left: 20px;
        right: auto;
        bottom: 148px;
    }

    .home-rank-list {
        grid-template-columns: 1fr;
    }

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

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

    .detail-aside {
        grid-row: auto;
    }

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

@media (max-width: 620px) {
    .brand-text {
        font-size: 18px;
    }

    .content-section {
        padding: 46px 16px;
    }

    .page-hero-inner,
    .detail-breadcrumb-wrap,
    .detail-layout {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        min-height: 780px;
    }

    .hero-slide {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-panel {
        width: calc(100% - 28px);
        padding: 12px;
    }

    .hero-search,
    .page-search {
        grid-template-columns: 1fr;
    }

    .hero-search button,
    .page-search button {
        min-height: 42px;
    }

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

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

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

    .rank-meta {
        display: none;
    }

    .detail-article {
        padding: 22px;
    }

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

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

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 20px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
}

.site-footer h2,
.site-footer h3 {
    color: var(--white);
    margin: 0 0 14px;
}

.site-footer p {
    line-height: 1.8;
    margin: 0;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: var(--gray-300);
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--green-500);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 20px;
    text-align: center;
    color: var(--gray-300);
    font-size: 14px;
}
