* {
    box-sizing: border-box;
}

:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-400: #f59e0b;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-soft: 0 18px 45px rgba(217, 119, 6, 0.12);
    --shadow-card: 0 10px 28px rgba(31, 41, 55, 0.10);
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 251, 235, 0.94);
    border-bottom: 1px solid rgba(253, 230, 138, 0.85);
    box-shadow: 0 6px 22px rgba(217, 119, 6, 0.10);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    max-width: 1280px;
    height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--amber-600), var(--orange-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.26);
    transition: transform 0.28s ease;
}

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

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

.nav-link {
    position: relative;
    color: var(--gray-700);
    font-weight: 650;
    transition: color 0.24s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    transition: width 0.24s ease;
}

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

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

.top-search {
    width: 310px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--amber-200);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.top-search input,
.mobile-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 11px 15px;
    background: transparent;
    color: var(--gray-800);
}

.top-search button,
.mobile-search button {
    border: 0;
    padding: 10px 16px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--amber-100);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--gray-800);
}

.mobile-panel {
    padding: 16px 24px 22px;
    border-top: 1px solid var(--amber-200);
    background: rgba(255, 255, 255, 0.95);
}

.mobile-panel a {
    display: block;
    padding: 12px 0;
    color: var(--gray-700);
    font-weight: 700;
}

.mobile-search {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--amber-200);
    border-radius: 999px;
    background: var(--gray-50);
}

.hero {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    background: #111827;
}

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

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.10));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1180px, calc(100% - 48px));
    transform: translate(-50%, -50%);
    color: #ffffff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--amber-400);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.eyebrow::before {
    content: "★";
    font-size: 18px;
}

.hero h1 {
    max-width: 740px;
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.hero p {
    max-width: 720px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(18px, 2vw, 23px);
}

.hero-tags,
.detail-meta,
.tag-row,
.list-meta,
.meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.detail-meta span,
.tag-row span,
.list-meta span,
.meta-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    white-space: nowrap;
}

.hero-tags span {
    padding: 8px 14px;
    color: #ffffff;
    background: rgba(245, 158, 11, 0.78);
    backdrop-filter: blur(10px);
}

.hero-actions,
.detail-info .primary-btn {
    margin-top: 28px;
}

.primary-btn,
.ghost-btn,
.text-link,
.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    border-radius: 999px;
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.primary-btn {
    padding: 13px 28px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.32);
}

.ghost-btn {
    margin-left: 12px;
    padding: 12px 24px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover,
.section-link:hover {
    transform: translateY(-2px);
}

.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.46);
    transform: translateY(-50%);
    transition: background 0.24s ease, transform 0.24s ease;
}

.hero-nav:hover {
    background: rgba(0, 0, 0, 0.72);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dots button {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.55);
    transition: width 0.24s ease, background 0.24s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: var(--amber-400);
}

.hero-rail {
    position: absolute;
    right: max(26px, calc((100% - 1180px) / 2));
    bottom: 72px;
    z-index: 3;
    display: grid;
    width: min(420px, 34vw);
    gap: 12px;
}

.hero-thumb {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    transition: transform 0.24s ease, background 0.24s ease;
}

.hero-thumb:hover {
    transform: translateX(-4px);
    background: rgba(0, 0, 0, 0.56);
}

.hero-thumb img {
    width: 62px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.hero-thumb span {
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-strip {
    max-width: 1180px;
    margin: -28px auto 0;
    position: relative;
    z-index: 4;
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    border: 1px solid rgba(253, 230, 138, 0.86);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
}

.quick-strip a {
    padding: 14px 12px;
    text-align: center;
    color: var(--amber-700, #b45309);
    font-weight: 800;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--amber-50), #ffffff);
    transition: transform 0.24s ease, background 0.24s ease;
}

.quick-strip a:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--amber-100), #ffffff);
}

.content-section,
.page-main,
.detail-main {
    width: min(1180px, calc(100% - 42px));
    margin: 0 auto;
}

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

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

.section-heading h2 {
    margin: 0;
    color: var(--gray-800);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--gray-600);
}

.section-link,
.text-link {
    color: var(--amber-600);
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(31, 41, 55, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    height: 252px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-100), var(--orange-100));
}

.movie-card-compact .poster-link {
    height: 210px;
}

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

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

.poster-link::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 58%);
    transition: opacity 0.28s ease;
}

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

.type-badge,
.year-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.type-badge {
    top: 12px;
    right: 12px;
    background: rgba(245, 158, 11, 0.90);
}

.year-badge {
    left: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.64);
}

.rank-badge {
    top: 12px;
    left: 12px;
    min-width: 34px;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
}

.card-body {
    padding: 17px;
}

.card-body h3 {
    margin: 0 0 8px;
    color: var(--gray-800);
    font-size: 17px;
    line-height: 1.35;
}

.card-body h3 a:hover {
    color: var(--amber-600);
}

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

.movie-card-compact .card-body p {
    display: none;
}

.meta-row {
    justify-content: space-between;
    color: var(--gray-500);
    font-size: 12px;
}

.meta-row span:first-child {
    padding: 5px 9px;
    color: var(--amber-600);
    background: var(--amber-50);
}

.soft-card,
.gradient-card {
    margin-top: 54px;
    padding: 34px;
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.soft-card {
    background: rgba(255, 255, 255, 0.82);
}

.gradient-card {
    background: linear-gradient(135deg, #faf5ff, #fdf2f8);
}

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

.category-tile {
    position: relative;
    min-height: 184px;
    overflow: hidden;
    border-radius: 22px;
    background: #000000;
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.12);
}

.category-tile img {
    width: 100%;
    height: 100%;
    min-height: 184px;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 0.38s ease, opacity 0.38s ease;
}

.category-tile:hover img {
    opacity: 0.56;
    transform: scale(1.07);
}

.category-tile span,
.category-tile small {
    position: absolute;
    left: 18px;
    right: 18px;
    color: #ffffff;
}

.category-tile span {
    bottom: 58px;
    font-size: 20px;
    font-weight: 900;
}

.category-tile small {
    bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.35;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

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

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

.list-item {
    display: flex;
    gap: 15px;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(31, 41, 55, 0.06);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.list-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.list-item img {
    width: 124px;
    height: 82px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--amber-100);
}

.list-item h3 {
    margin: 0 0 7px;
    color: var(--gray-800);
    font-size: 16px;
    line-height: 1.35;
}

.list-item p {
    margin: 0 0 8px;
    color: var(--gray-600);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    margin-right: 7px;
    color: #ffffff;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.list-meta span {
    padding: 4px 8px;
    color: var(--amber-600);
    font-size: 12px;
    background: var(--amber-50);
}

.page-main,
.detail-main {
    padding-top: 28px;
}

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

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

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 264px;
    display: flex;
    align-items: center;
    padding: 44px;
    border-radius: 30px;
    color: #ffffff;
    background-image: linear-gradient(135deg, rgba(17, 24, 39, 0.92), rgba(217, 119, 6, 0.72)), var(--page-bg, linear-gradient(135deg, #111827, #92400e));
    background-position: center;
    background-size: cover;
    box-shadow: var(--shadow-soft);
}

.page-hero h1 {
    max-width: 760px;
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.page-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
}

.filter-panel {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 26px;
    padding: 18px;
    border: 1px solid rgba(253, 230, 138, 0.85);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 26px rgba(217, 119, 6, 0.08);
}

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

.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid var(--amber-200);
    outline: none;
    padding: 12px 13px;
    border-radius: 14px;
    color: var(--gray-800);
    background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--amber-400);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.is-hidden-by-filter {
    display: none !important;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    padding: 20px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.08);
}

.category-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--amber-100);
}

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

.category-overview-card h2 {
    margin: 0 0 8px;
    color: var(--gray-800);
}

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

.detail-hero {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 34px;
    align-items: center;
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 237, 0.86));
    box-shadow: var(--shadow-soft);
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(31, 41, 55, 0.18);
}

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

.detail-info h1 {
    margin: 0 0 16px;
    color: var(--gray-900);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-line {
    max-width: 760px;
    margin: 0 0 20px;
    color: var(--gray-600);
    font-size: 19px;
}

.detail-meta span {
    padding: 8px 13px;
    color: var(--amber-700, #b45309);
    font-weight: 700;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px var(--amber-200);
}

.tag-row {
    margin-top: 18px;
}

.tag-row span {
    padding: 7px 12px;
    color: var(--gray-700);
    background: var(--amber-50);
}

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

.player-section h2 {
    margin: 0 0 18px;
    color: var(--gray-800);
    font-size: clamp(26px, 4vw, 36px);
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    background: #000000;
    box-shadow: 0 22px 52px rgba(17, 24, 39, 0.28);
}

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

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.20), rgba(0, 0, 0, 0.72));
    transition: opacity 0.24s ease, visibility 0.24s 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;
    padding-left: 6px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 32px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.36);
}

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

.detail-text {
    padding: 34px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(31, 41, 55, 0.08);
}

.detail-text h2 {
    margin: 0 0 12px;
    color: var(--gray-800);
}

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

.detail-text p {
    margin: 0;
    color: var(--gray-700);
    font-size: 17px;
}

.site-footer {
    margin-top: 70px;
    border-top: 1px solid rgba(253, 230, 138, 0.85);
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.96));
}

.footer-grid {
    width: min(1180px, calc(100% - 42px));
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 34px;
}

.footer-brand {
    margin-bottom: 14px;
}

.site-footer p {
    margin: 0;
    color: var(--gray-600);
}

.site-footer h3 {
    margin: 0 0 14px;
    color: var(--gray-800);
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.site-footer a:hover {
    color: var(--amber-600);
}

.footer-bottom {
    padding: 18px;
    text-align: center;
    color: var(--gray-500);
    border-top: 1px solid rgba(253, 230, 138, 0.76);
}

@media (max-width: 1080px) {
    .top-search {
        display: none;
    }

    .hero-rail {
        display: none;
    }

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

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

    .two-column,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

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

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

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-wrap {
        height: 66px;
        padding: 0 18px;
    }

    .brand {
        font-size: 18px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .hero {
        min-height: 76vh;
    }

    .hero-content {
        width: calc(100% - 38px);
    }

    .hero-tags span {
        padding: 7px 11px;
    }

    .hero-nav {
        display: none;
    }

    .quick-strip {
        width: min(100% - 24px, 720px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-section,
    .page-main,
    .detail-main {
        width: min(100% - 28px, 720px);
    }

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

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

    .poster-link,
    .movie-card-compact .poster-link {
        height: 220px;
    }

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

    .page-hero {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .detail-hero {
        grid-template-columns: 1fr;
        padding: 24px;
    }

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

@media (max-width: 540px) {
    .hero-actions {
        display: grid;
        gap: 10px;
        width: min(100%, 320px);
    }

    .ghost-btn {
        margin-left: 0;
    }

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

    .poster-link,
    .movie-card-compact .poster-link {
        height: 280px;
    }

    .soft-card,
    .gradient-card,
    .detail-text {
        padding: 22px;
        border-radius: 22px;
    }

    .list-item {
        align-items: flex-start;
    }

    .list-item img {
        width: 94px;
        height: 72px;
    }

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