:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --orange-500: #f97316;
    --text: #1f2937;
    --muted: #6b7280;
    --soft: rgba(255, 255, 255, 0.82);
    --card-border: rgba(253, 230, 138, 0.55);
    --shadow: 0 16px 40px rgba(146, 64, 14, 0.14);
    --shadow-strong: 0 26px 70px rgba(92, 36, 6, 0.24);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    background:
        radial-gradient(circle at 12% 8%, rgba(251, 191, 36, 0.24), transparent 24rem),
        radial-gradient(circle at 88% 18%, rgba(249, 115, 22, 0.16), transparent 28rem),
        linear-gradient(180deg, #fff7ed 0%, #fffaf0 46%, #fff 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(253, 230, 138, 0.8);
    box-shadow: 0 10px 30px rgba(146, 64, 14, 0.08);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 72px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fff;
    font-weight: 900;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600), var(--orange-500));
    box-shadow: 0 12px 28px rgba(217, 119, 6, 0.32);
    animation: logoFloat 6s ease-in-out infinite;
}

.logo-text {
    font-size: 24px;
    background: linear-gradient(90deg, var(--amber-700), #ca8a04, #ea580c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.nav-link {
    padding: 9px 12px;
    color: #4b5563;
    font-weight: 700;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--amber-700);
    background: var(--amber-100);
    transform: translateY(-1px);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 2px solid var(--amber-200);
    border-radius: 999px;
    padding: 4px;
}

.header-search input,
.mobile-search input {
    width: 220px;
    border: 0;
    outline: 0;
    padding: 8px 10px 8px 14px;
    background: transparent;
}

.header-search button,
.mobile-search button,
.primary-button,
.ghost-button,
.pill-link {
    border: 0;
    cursor: pointer;
    font-weight: 800;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.primary-button,
.pill-link {
    color: #fff;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600), var(--orange-500));
    box-shadow: 0 12px 28px rgba(217, 119, 6, 0.24);
}

.header-search button,
.mobile-search button {
    padding: 8px 16px;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
}

.primary-button:hover,
.ghost-button:hover,
.pill-link:hover,
.header-search button:hover,
.mobile-search button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 38px rgba(217, 119, 6, 0.28);
}

.ghost-button {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(12px);
}

.ghost-button.amber {
    color: var(--amber-700);
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--amber-200);
}

.mobile-menu-button {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--amber-100);
    color: var(--amber-700);
    font-size: 24px;
    font-weight: 900;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--amber-200);
}

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

.mobile-nav-inner {
    display: grid;
    gap: 10px;
    padding: 14px 0 18px;
}

.mobile-search input {
    width: 100%;
}

.hero-slider {
    position: relative;
    height: 640px;
    overflow: hidden;
    background: #111827;
}

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

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

.hero-slide.active .hero-image {
    animation: heroZoom 9s ease-in-out forwards;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.5) 48%, rgba(17, 24, 39, 0.08)),
        linear-gradient(0deg, rgba(255, 247, 237, 0.95), transparent 30%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(680px, 100%);
    color: #fff;
    animation: contentFloat 6s ease-in-out infinite;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    margin: 0 0 14px;
    padding: 7px 14px;
    color: var(--amber-200);
    font-weight: 900;
    border: 1px solid rgba(252, 211, 77, 0.38);
    border-radius: 999px;
    background: rgba(146, 64, 14, 0.24);
    backdrop-filter: blur(10px);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 660px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 2.1vw, 24px);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.hero-tags a,
.hero-tags span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 13px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.22);
    border: 1px solid rgba(252, 211, 77, 0.34);
    backdrop-filter: blur(8px);
}

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

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

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

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

.category-strip {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: -46px;
}

.mini-category,
.category-card,
.movie-card,
.ranking-panel,
.detail-card,
.poster-card,
.side-card,
.filter-panel,
.search-panel,
.page-hero {
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--soft);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.mini-category {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 88px;
    padding: 20px;
    color: var(--text);
    font-size: 18px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mini-category span,
.category-number,
.rank-number,
.ranking-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600), var(--orange-500));
    box-shadow: 0 10px 22px rgba(217, 119, 6, 0.24);
}

.mini-category span {
    width: 42px;
    height: 42px;
    border-radius: 999px;
}

.mini-category:hover,
.category-card:hover,
.movie-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-strong);
}

.page-section {
    margin: 80px 0;
}

.inner-page {
    padding-top: 36px;
    padding-bottom: 72px;
}

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

.section-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-heading h2,
.ranking-panel h2,
.side-card h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, var(--amber-700), #ca8a04, #ea580c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-icon {
    font-size: 30px;
}

.section-more {
    color: var(--amber-700);
    font-weight: 900;
}

.section-more span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.section-more:hover span {
    transform: translateX(4px);
}

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

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

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

.movie-card {
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #451a03, #92400e);
}

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

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

.card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent 60%);
    transition: opacity 0.25s ease;
}

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

.play-badge,
.card-tag {
    position: absolute;
    z-index: 2;
}

.play-badge {
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600), var(--orange-500));
    box-shadow: 0 18px 36px rgba(217, 119, 6, 0.28);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-tag {
    right: 14px;
    top: 14px;
    padding: 5px 11px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.88);
}

.card-body {
    padding: 18px;
}

.card-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 54px;
    color: #111827;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.42;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.card-title:hover {
    color: var(--amber-700);
}

.card-meta,
.card-summary,
.rank-meta,
.ranking-info em {
    color: var(--muted);
}

.card-meta {
    margin: 10px 0 7px;
    font-size: 14px;
    font-weight: 700;
}

.card-summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    min-height: 44px;
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card-wide {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 0;
    min-height: 136px;
}

.movie-card-wide .card-cover {
    height: 100%;
    min-height: 136px;
    aspect-ratio: auto;
    border-radius: 0;
}

.movie-card-wide .card-title {
    min-height: auto;
    font-size: 18px;
}

.movie-card-wide .card-summary {
    margin-bottom: 12px;
}

.pill-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
}

.two-column-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    align-items: start;
}

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

.ranking-panel {
    padding: 24px;
}

.rank-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.rank-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 60px;
    padding: 10px;
    border-radius: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
    background: rgba(254, 243, 199, 0.82);
    transform: translateX(3px);
}

.rank-number {
    width: 40px;
    height: 40px;
    border-radius: 999px;
}

.rank-title {
    overflow: hidden;
    color: #111827;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-meta {
    grid-column: 2;
    margin-top: -12px;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.category-card {
    display: grid;
    gap: 12px;
    min-height: 190px;
    padding: 24px;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-number {
    width: 52px;
    height: 52px;
    border-radius: 18px;
}

.category-card h2 {
    margin: 4px 0 0;
    font-size: 24px;
}

.category-card p {
    margin: 0;
    color: var(--muted);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

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

.page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 34px;
    background:
        radial-gradient(circle at 90% 10%, rgba(251, 191, 36, 0.22), transparent 22rem),
        rgba(255, 255, 255, 0.82);
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.05em;
    background: linear-gradient(90deg, var(--amber-700), #ca8a04, #ea580c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-hero p:last-child {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.compact-hero .hero-kicker {
    color: var(--amber-700);
    background: var(--amber-100);
    border-color: var(--amber-200);
}

.filter-panel,
.search-panel {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 14px;
    margin: 28px 0 0;
    padding: 18px;
}

.search-panel {
    grid-template-columns: 2fr 1fr 1fr auto;
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: #92400e;
    font-size: 13px;
    font-weight: 900;
}

.filter-panel input,
.filter-panel select,
.search-panel input,
.search-panel select {
    min-height: 46px;
    width: 100%;
    border: 2px solid var(--amber-200);
    border-radius: 999px;
    outline: 0;
    padding: 0 15px;
    background: #fff;
}

.filter-panel input:focus,
.filter-panel select:focus,
.search-panel input:focus,
.search-panel select:focus {
    border-color: var(--amber-400);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.12);
}

.search-panel button {
    min-height: 46px;
    padding: 0 22px;
    color: #fff;
    font-weight: 900;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600), var(--orange-500));
    cursor: pointer;
}

.empty-state {
    padding: 58px 24px;
    text-align: center;
    color: var(--muted);
}

.empty-state h2 {
    margin: 0 0 10px;
    color: #111827;
}

.ranking-layout {
    grid-template-columns: minmax(0, 1fr) 430px;
}

.ranking-scroll {
    display: grid;
    gap: 10px;
    max-height: 980px;
    overflow: auto;
    padding-right: 4px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 44px 86px 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-row:hover {
    background: var(--amber-100);
    transform: translateX(3px);
}

.ranking-index {
    width: 38px;
    height: 38px;
    border-radius: 999px;
}

.ranking-row img {
    width: 86px;
    height: 54px;
    object-fit: cover;
    border-radius: 12px;
    background: #451a03;
}

.ranking-info {
    display: grid;
    min-width: 0;
}

.ranking-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-info em {
    overflow: hidden;
    font-size: 13px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #050505;
    box-shadow: var(--shadow-strong);
}

.movie-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050505;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background:
        radial-gradient(circle, rgba(251, 191, 36, 0.25), transparent 18rem),
        rgba(0, 0, 0, 0.48);
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    padding-left: 6px;
    color: #fff;
    font-size: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600), var(--orange-500));
    box-shadow: 0 18px 48px rgba(217, 119, 6, 0.38);
    animation: pulseGlow 2.8s ease-in-out infinite;
}

.detail-card {
    padding: 28px;
}

.detail-card h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.detail-meta,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    color: var(--amber-700);
    font-size: 14px;
    font-weight: 900;
    border-radius: 999px;
    background: var(--amber-100);
}

.one-line {
    margin: 22px 0;
    padding: 18px;
    color: #78350f;
    font-size: 18px;
    font-weight: 800;
    border-radius: 18px;
    background: #fffbeb;
}

.tag-list {
    margin-bottom: 28px;
}

.tag-list span {
    color: var(--amber-700);
    background: #fff7ed;
    border-color: var(--amber-200);
}

.detail-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 12px;
    color: #111827;
    font-size: 24px;
}

.detail-card h2::before {
    content: "";
    width: 5px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--amber-400), var(--orange-500));
}

.detail-card p {
    color: #374151;
    font-size: 17px;
}

.detail-side {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 96px;
}

.poster-card,
.side-card {
    padding: 18px;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 18px;
    background: #451a03;
}

.primary-button.full {
    width: 100%;
    margin-top: 16px;
}

.side-recommend .movie-card-wide {
    grid-template-columns: 118px 1fr;
}

.side-recommend .movie-card-wide .card-cover {
    min-height: 92px;
}

.side-recommend .card-body {
    padding: 12px;
}

.side-recommend .card-summary,
.side-recommend .pill-link {
    display: none;
}

.site-footer {
    color: #fff;
    background: linear-gradient(135deg, #78350f, #92400e 45%, #c2410c);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px;
    padding: 56px 0 40px;
}

.footer-logo {
    margin-bottom: 14px;
    font-size: 24px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
    color: #fff;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--amber-200);
    font-size: 18px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(253, 230, 138, 0.22);
    padding: 18px 0;
    text-align: center;
    font-size: 14px;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-4px) rotate(6deg);
    }
}

@keyframes contentFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

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

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 18px 48px rgba(217, 119, 6, 0.38);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 24px 64px rgba(217, 119, 6, 0.5);
    }
}

@media (max-width: 1080px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

    .two-column-section,
    .ranking-layout,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-side {
        position: static;
    }
}

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

    .header-inner {
        min-height: 64px;
    }

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

    .hero-slider {
        height: 590px;
    }

    .hero-copy h1 {
        font-size: 44px;
    }

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

    .category-strip,
    .category-grid,
    .movie-grid,
    .home-grid,
    .category-movie-grid,
    .filter-panel,
    .search-panel {
        grid-template-columns: 1fr;
    }

    .page-section {
        margin: 54px 0;
    }

    .page-hero {
        display: grid;
        padding: 24px;
    }

    .movie-card-wide {
        grid-template-columns: 128px 1fr;
    }

    .movie-card-wide .card-cover {
        min-height: 120px;
    }

    .card-body {
        padding: 14px;
    }

    .ranking-row {
        grid-template-columns: 38px 72px 1fr;
    }

    .ranking-row img {
        width: 72px;
        height: 46px;
    }

    .detail-card,
    .ranking-panel {
        padding: 20px;
    }

    .player-play {
        width: 72px;
        height: 72px;
        font-size: 28px;
    }
}
