@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&family=Noto+Serif+SC:wght@500;600;700&display=swap");

:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-600: #ea580c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 4px 18px rgba(17, 24, 39, 0.08);
    --shadow-md: 0 14px 34px rgba(17, 24, 39, 0.12);
    --shadow-lg: 0 24px 60px rgba(17, 24, 39, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--gray-800);
    background: linear-gradient(180deg, var(--amber-50), var(--orange-50) 34%, #ffffff 100%);
}

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

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

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;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96));
    border-bottom: 1px solid var(--amber-200);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #ffffff;
    font-size: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.32);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--gray-800);
}

.brand-subtitle {
    margin-top: 4px;
    color: var(--gray-600);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.nav-link,
.nav-search {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 15px;
    color: var(--gray-700);
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--amber-700);
    background: rgba(245, 158, 11, 0.12);
}

.nav-search {
    color: #ffffff;
    background: var(--amber-600);
    box-shadow: 0 10px 22px rgba(217, 119, 6, 0.22);
}

.nav-search:hover {
    background: var(--amber-700);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.12);
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--gray-800);
    border-radius: 99px;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: var(--gray-900);
}

.hero-stage,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 5s ease;
}

.hero-slide.is-active .hero-image {
    transform: scale(1);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 50%, rgba(245, 158, 11, 0.35), transparent 34%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.78)),
        linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    min-height: 620px;
    padding: 112px 0 86px;
}

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

.hero-meta,
.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.95);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 18px 0 16px;
    max-width: 780px;
    font-family: "Noto Serif SC", "Noto Sans SC", serif;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-shadow: 0 16px 42px rgba(0, 0, 0, 0.36);
}

.hero-copy h2 + h2 {
    margin-top: -6px;
    font-size: clamp(28px, 4vw, 44px);
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

.hero-tags,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 12px;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

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

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

.btn-primary {
    color: #ffffff;
    background: var(--amber-600);
    box-shadow: 0 16px 32px rgba(217, 119, 6, 0.28);
}

.btn-primary:hover {
    background: var(--amber-700);
}

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

.btn-outline {
    color: var(--amber-700);
    background: #ffffff;
    border: 1px solid var(--amber-200);
}

.btn-outline:hover {
    background: var(--amber-50);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: #ffffff;
    font-size: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero-prev {
    left: 24px;
    transform: translateY(-50%);
}

.hero-next {
    right: 24px;
    transform: translateY(-50%);
}

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

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

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

.home-search {
    margin-top: -40px;
    position: relative;
    z-index: 4;
}

.search-banner {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 460px);
    gap: 24px;
    align-items: center;
    padding: 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
}

.search-banner h2,
.section-title h2,
.page-hero h1,
.detail-info-card h1 {
    margin: 0;
    color: var(--gray-800);
    letter-spacing: -0.03em;
}

.search-banner p,
.section-title p,
.page-hero p {
    margin: 8px 0 0;
    color: var(--gray-600);
    line-height: 1.8;
}

.quick-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.quick-search input,
.filter-controls input,
.filter-controls select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    color: var(--gray-800);
    border: 1px solid var(--amber-200);
    border-radius: 13px;
    background: #ffffff;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

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

.quick-search button {
    min-height: 46px;
    padding: 0 20px;
    color: #ffffff;
    border: 0;
    border-radius: 13px;
    background: var(--amber-600);
}

.section {
    padding: 72px 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.72), rgba(255, 255, 255, 0.94));
}

.section-title {
    margin-bottom: 28px;
}

.section-title span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--amber-700);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.section-title h2 {
    font-size: clamp(28px, 4vw, 42px);
}

.row-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.row-title > a {
    color: var(--amber-700);
    font-weight: 700;
}

.featured-card {
    display: grid;
    grid-template-columns: minmax(280px, 44%) 1fr;
    gap: 0;
    overflow: hidden;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.featured-media {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: var(--gray-900);
}

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

.featured-media:hover img {
    transform: scale(1.06);
}

.featured-media span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    color: #ffffff;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.92);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    transform: translate(-50%, -50%);
}

.featured-content {
    padding: clamp(24px, 5vw, 48px);
}

.featured-content h2 {
    margin: 20px 0 14px;
    color: var(--gray-800);
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.15;
}

.featured-content p {
    color: var(--gray-600);
    line-height: 1.85;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-cover-link {
    display: block;
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gray-900);
}

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

.movie-card:hover .movie-cover img {
    transform: scale(1.1);
}

.cover-shade {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(0, 0, 0, 0.42);
    transition: opacity 0.25s ease;
}

.movie-card:hover .cover-shade {
    opacity: 1;
}

.card-type {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 9px;
    color: #ffffff;
    font-size: 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
}

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: #ffffff;
    opacity: 0;
    border-radius: 999px;
    background: var(--amber-600);
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card-body h3 {
    min-height: 52px;
    margin: 0 0 10px;
    color: var(--gray-800);
    font-size: 18px;
    line-height: 1.45;
}

.movie-card-body h3 a:hover,
.rank-info h3 a:hover,
.featured-content h2 a:hover {
    color: var(--amber-700);
}

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

.movie-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    color: var(--gray-700);
    font-size: 12px;
    border-radius: 999px;
    background: var(--gray-100);
}

.tag-list {
    margin-top: 14px;
}

.tag-list span {
    color: var(--gray-700);
    background: var(--amber-50);
    border: 1px solid var(--amber-200);
}

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

.category-tile a {
    display: block;
    min-height: 230px;
    padding: 24px;
    border: 1px solid var(--amber-200);
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff, var(--amber-50));
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.category-tile a:hover {
    transform: translateY(-4px);
    border-color: var(--amber-500);
    box-shadow: var(--shadow-md);
}

.tile-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
}

.category-tile h3 {
    margin: 0 0 10px;
    color: var(--gray-800);
    font-size: 22px;
}

.category-tile p,
.tile-links {
    color: var(--gray-600);
    line-height: 1.7;
}

.tile-links {
    margin-top: 14px;
    font-size: 13px;
}

.tile-links a {
    display: inline;
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--amber-700);
}

.rank-grid,
.latest-grid,
.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ranking-list {
    margin-top: 28px;
}

.rank-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    align-items: stretch;
    overflow: hidden;
    padding: 12px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.rank-cover {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: var(--gray-900);
}

.rank-cover img {
    width: 100%;
    height: 100%;
    min-height: 112px;
    object-fit: cover;
}

.rank-info {
    position: relative;
    min-width: 0;
    padding: 3px 0;
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 28px;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 999px;
    background: var(--amber-600);
}

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

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

.page-hero {
    padding: 54px 0 42px;
}

.page-hero-soft {
    background: linear-gradient(135deg, var(--amber-50), var(--orange-50));
    border-bottom: 1px solid var(--amber-200);
}

.page-hero-dark {
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 20%, rgba(245, 158, 11, 0.28), transparent 30%),
        linear-gradient(135deg, var(--gray-900), #3f2b16);
}

.page-hero-dark h1,
.page-hero-dark p,
.page-hero-dark .breadcrumb {
    color: #ffffff;
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
}

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

.breadcrumb a {
    color: var(--amber-700);
    font-weight: 700;
}

.filter-panel {
    padding: 24px;
    border: 1px solid var(--amber-200);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.filter-head {
    margin-bottom: 18px;
}

.filter-head h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.filter-head p {
    margin: 0;
    color: var(--gray-600);
}

.filter-controls {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(150px, 1fr));
    gap: 14px;
}

.filter-controls label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.filter-controls label span {
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 700;
}

.filter-status {
    min-height: 22px;
    margin: 16px 0 0;
    color: var(--amber-700);
    font-weight: 700;
}

.category-movie-grid {
    margin-top: 30px;
}

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

.category-overview-list {
    display: grid;
    gap: 34px;
}

.category-overview-block {
    padding: 26px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.category-overview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.category-overview-head h2 {
    margin: 0 0 8px;
    font-size: 30px;
}

.category-overview-head p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.8;
}

.movie-card-compact .movie-card-body h3 {
    min-height: auto;
    font-size: 16px;
}

.movie-card-compact .movie-card-body p {
    min-height: auto;
}

.detail-hero {
    padding: 32px 0 72px;
    background: linear-gradient(180deg, var(--amber-50), #ffffff 30%);
}

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

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

.player-card,
.detail-info-card,
.side-panel {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

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

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

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #000000;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.62));
}

.player-button {
    position: absolute;
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    color: #ffffff;
    font-size: 28px;
    border-radius: 999px;
    background: var(--amber-600);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    transition: transform 0.2s ease, background 0.2s ease;
}

.player-cover:hover .player-button {
    transform: scale(1.06);
    background: var(--amber-700);
}

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

.detail-info-card {
    padding: clamp(22px, 4vw, 36px);
}

.detail-meta {
    margin-bottom: 18px;
}

.detail-info-card h1 {
    margin-bottom: 16px;
    font-size: clamp(32px, 5vw, 50px);
    line-height: 1.14;
}

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

.detail-info-card section {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.detail-info-card h2,
.side-panel h2 {
    margin: 0 0 12px;
    color: var(--gray-800);
    font-size: 22px;
}

.detail-info-card p {
    margin: 0;
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.95;
    text-align: justify;
}

.lead-text {
    font-size: 19px !important;
    font-weight: 700;
}

.detail-side {
    display: grid;
    align-content: start;
    gap: 22px;
}

.side-panel {
    padding: 22px;
}

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

.side-movie-list .movie-card {
    border: 1px solid var(--gray-100);
    box-shadow: none;
}

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

.side-category {
    background: linear-gradient(135deg, #ffffff, var(--amber-50));
}

.side-category p {
    margin: 0 0 16px;
    color: var(--gray-600);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    padding: 44px 0;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
}

.site-footer p {
    max-width: 620px;
    margin: 0;
    line-height: 1.8;
}

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

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

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

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

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

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

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

@media (max-width: 820px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--amber-200);
        border-radius: 18px;
        background: #ffffff;
        box-shadow: var(--shadow-md);
    }

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

    .nav-link,
    .nav-search {
        justify-content: flex-start;
    }

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

    .hero-arrow {
        display: none;
    }

    .search-banner,
    .featured-card,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .rank-grid,
    .latest-grid,
    .ranking-list {
        grid-template-columns: 1fr;
    }

    .row-title,
    .category-overview-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    .brand-name {
        font-size: 18px;
    }

    .brand-subtitle {
        display: none;
    }

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

    .hero-content {
        padding: 92px 0 70px;
    }

    .hero-copy p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

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

    .movie-grid,
    .compact-grid,
    .category-grid,
    .filter-controls,
    .detail-side {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 48px 0;
    }

    .rank-card {
        grid-template-columns: 118px 1fr;
    }

    .player-button {
        width: 66px;
        height: 66px;
    }
}
