:root {
    --amber-950: #451a03;
    --amber-900: #78350f;
    --amber-800: #92400e;
    --amber-700: #b45309;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-100: #fef3c7;
    --amber-50: #fffbeb;
    --orange-800: #9a3412;
    --orange-700: #c2410c;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(120, 53, 15, 0.14);
    --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.12);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--slate-900);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 28%, #fffaf0 100%);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-900), var(--orange-800), var(--amber-900));
    box-shadow: 0 12px 28px rgba(69, 26, 3, 0.22);
}

.header-inner {
    max-width: var(--container);
    height: 68px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: var(--amber-900);
    background: linear-gradient(135deg, #fff7ed, #fbbf24);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 8px 22px rgba(0, 0, 0, 0.18);
}

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

.brand-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

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

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

.desktop-nav a,
.nav-dropdown button {
    color: rgba(255, 255, 255, 0.88);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.nav-dropdown button:hover {
    color: #fde68a;
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
}

.dropdown-panel {
    position: absolute;
    top: 34px;
    left: 0;
    width: 220px;
    padding: 10px;
    display: grid;
    gap: 4px;
    color: var(--slate-900);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.18s ease;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    color: var(--slate-700);
    padding: 9px 12px;
    border-radius: 10px;
}

.dropdown-panel a:hover {
    color: var(--amber-900);
    background: var(--amber-50);
}

.header-search {
    width: 280px;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.header-search input {
    width: 100%;
    min-width: 0;
    color: var(--white);
    background: transparent;
    border: 0;
    outline: 0;
    padding: 0 8px 0 12px;
}

.header-search input::placeholder {
    color: var(--amber-100);
}

.header-search button,
.hero-search button,
.search-page-form button {
    border: 0;
    border-radius: 999px;
    color: var(--amber-950);
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.25);
}

.header-search button {
    padding: 6px 12px;
    font-size: 14px;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    max-width: var(--container);
    margin: 0 auto;
    padding: 10px 22px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-panel.is-open {
    display: grid;
    gap: 8px;
}

.mobile-panel a,
.mobile-panel .mobile-divider {
    padding: 10px 12px;
    border-radius: 12px;
}

.mobile-panel a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.mobile-panel .mobile-divider {
    color: #fde68a;
    font-weight: 800;
}

.mobile-panel form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.mobile-panel input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    padding: 10px 14px;
    outline: 0;
}

.mobile-panel button {
    border: 0;
    border-radius: 999px;
    color: var(--amber-950);
    background: #fde68a;
    font-weight: 800;
    padding: 0 16px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: radial-gradient(circle at 10% 10%, rgba(251, 191, 36, 0.32), transparent 34%), linear-gradient(115deg, var(--amber-900), var(--orange-700) 54%, var(--amber-800));
}

.hero-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.48;
    pointer-events: none;
}

.hero-glow-one {
    right: -90px;
    top: 40px;
    background: rgba(253, 230, 138, 0.22);
}

.hero-glow-two {
    left: -140px;
    bottom: -120px;
    background: rgba(255, 255, 255, 0.18);
}

.hero-inner {
    position: relative;
    max-width: var(--container);
    min-height: 640px;
    margin: 0 auto;
    padding: 82px 22px 72px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 46px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 6px 12px;
    border-radius: 999px;
    color: #78350f;
    background: #fde68a;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
    max-width: 670px;
}

.hero-search,
.search-page-form {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin-top: 28px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.hero-search input,
.search-page-form input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: 0;
    outline: 0;
    color: var(--white);
    background: transparent;
}

.hero-search input::placeholder,
.search-page-form input::placeholder {
    color: #ffedd5;
}

.hero-search button,
.search-page-form button {
    padding: 13px 22px;
}

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

.primary-action,
.secondary-action,
.category-panel-copy a,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-action,
.category-panel-copy a {
    color: var(--amber-950);
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.25);
}

.primary-action,
.secondary-action {
    padding: 12px 20px;
}

.secondary-action {
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.primary-action:hover,
.secondary-action:hover,
.category-panel-copy a:hover,
.section-more:hover {
    transform: translateY(-2px);
}

.hero-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-categories a,
.filter-pills button {
    color: var(--white);
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-categories a:hover,
.filter-pills button:hover,
.filter-pills button.is-active {
    color: var(--amber-950);
    background: #fde68a;
    transform: translateY(-1px);
}

.hero-featured {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 18px;
    min-height: 520px;
}

.hero-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--amber-950);
    box-shadow: 0 28px 58px rgba(69, 26, 3, 0.36);
    transform: translateZ(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:first-child {
    grid-row: span 2;
}

.hero-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 36px 76px rgba(69, 26, 3, 0.44);
}

.hero-card img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.hero-card-shade,
.poster-shade,
.detail-overlay,
.player-cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.76));
}

.hero-label {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--amber-950);
    background: #fde68a;
    font-size: 13px;
    font-weight: 900;
}

.hero-card-copy {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    display: grid;
    gap: 7px;
}

.hero-card-copy strong {
    font-size: clamp(20px, 2.5vw, 30px);
    line-height: 1.12;
}

.hero-card-copy em {
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-card-copy span {
    color: #fde68a;
    font-size: 14px;
}

.content-section,
.category-overview,
.podium-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 52px 22px 0;
}

.first-section {
    padding-top: 64px;
}

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

.section-head h2 {
    margin: 0;
    color: var(--slate-950);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
}

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

.section-more {
    color: var(--orange-700);
    padding: 9px 14px;
    background: var(--amber-50);
}

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.18);
}

.poster-box {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

.movie-card-compact .poster-box {
    aspect-ratio: 3 / 4;
}

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

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

.poster-shade {
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.movie-type,
.movie-year {
    position: absolute;
    top: 10px;
    padding: 5px 9px;
    border-radius: 8px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.movie-type {
    left: 10px;
    background: rgba(120, 53, 15, 0.88);
}

.movie-year {
    right: 10px;
    background: rgba(2, 6, 23, 0.64);
}

.movie-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--amber-900);
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: all 0.25s ease;
}

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

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

.movie-info strong {
    color: var(--slate-950);
    font-size: 17px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.movie-card:hover .movie-info strong {
    color: var(--amber-900);
}

.movie-info em {
    min-height: 44px;
    color: var(--slate-600);
    font-style: normal;
    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: 12px;
    color: var(--slate-500);
    font-size: 12px;
}

.movie-meta span:first-child {
    color: var(--amber-800);
    background: var(--amber-50);
    padding: 4px 8px;
    border-radius: 7px;
    font-weight: 800;
    white-space: nowrap;
}

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

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-row span {
    color: var(--slate-600);
    background: var(--slate-100);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 12px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(115deg, var(--amber-900), var(--orange-700), var(--amber-800));
}

.page-hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 76px 22px 70px;
}

.slim-hero .page-hero-inner,
.search-hero .page-hero-inner,
.ranking-hero .page-hero-inner {
    text-align: center;
}

.slim-hero .eyebrow,
.search-hero .eyebrow,
.ranking-hero .eyebrow {
    margin: 0 auto;
}

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

.category-panel {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 24px;
    align-items: stretch;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-soft);
    padding: 24px;
}

.category-panel-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 10px;
}

.category-panel-copy span {
    color: var(--amber-700);
    font-weight: 900;
}

.category-panel-copy h2 {
    margin: 0;
    font-size: 32px;
}

.category-panel-copy p {
    margin: 0;
    color: var(--slate-600);
}

.category-panel-copy a {
    width: max-content;
    margin-top: 8px;
    padding: 10px 16px;
}

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

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

.filter-pills {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-pills button {
    cursor: pointer;
}

.empty-state {
    display: none;
    margin-top: 22px;
    padding: 28px;
    text-align: center;
    color: var(--slate-600);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

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

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

.podium-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    color: var(--white);
    box-shadow: var(--shadow-card);
}

.podium-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.podium-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.82));
}

.podium-rank,
.podium-card strong,
.podium-card em {
    position: absolute;
    z-index: 1;
    left: 20px;
    right: 20px;
}

.podium-rank {
    top: 20px;
    width: max-content;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--amber-950);
    background: #fde68a;
    font-weight: 900;
}

.podium-card strong {
    bottom: 60px;
    font-size: 26px;
    line-height: 1.18;
}

.podium-card em {
    bottom: 28px;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 62px 94px 1fr;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ranking-number {
    color: var(--amber-600);
    font-size: 28px;
    font-weight: 900;
    text-align: center;
}

.ranking-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    background: var(--amber-50);
}

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

.ranking-copy {
    display: grid;
    gap: 4px;
}

.ranking-copy strong {
    font-size: 18px;
}

.ranking-copy em,
.ranking-copy span {
    color: var(--slate-600);
    font-style: normal;
}

.ranking-copy em {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.filter-bar {
    display: grid;
    grid-template-columns: 220px 220px 1fr;
    gap: 18px;
    align-items: end;
    padding: 20px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.filter-bar label {
    display: grid;
    gap: 8px;
    color: var(--slate-600);
    font-weight: 800;
}

.filter-bar select,
.filter-bar input {
    width: 100%;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    outline: 0;
    padding: 12px 14px;
    background: var(--amber-50);
}

.search-page-form {
    margin-left: auto;
    margin-right: auto;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-950);
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(18px) scale(1.1);
    opacity: 0.42;
}

.detail-overlay {
    background: linear-gradient(100deg, rgba(2, 6, 23, 0.95), rgba(120, 53, 15, 0.74));
}

.detail-inner {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: 38px 22px 58px;
}

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

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

.detail-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 34px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
    background: var(--amber-50);
}

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

.detail-copy h1 {
    max-width: 780px;
}

.detail-one-line {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.detail-meta span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 8px 12px;
}

.detail-tags span {
    color: var(--amber-950);
    background: #fde68a;
}

.player-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 42px 22px 0;
}

.player-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    background: var(--slate-950);
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.24);
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--slate-950);
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.big-play {
    position: relative;
    z-index: 3;
    width: 88px;
    height: 88px;
    border: 0;
    border-radius: 999px;
    color: var(--amber-950);
    background: rgba(255, 255, 255, 0.92);
    font-size: 34px;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
    transition: transform 0.2s ease, background 0.2s ease;
}

.big-play:hover {
    transform: scale(1.08);
    background: #fde68a;
}

.player-title {
    position: absolute;
    left: 24px;
    bottom: 22px;
    right: 24px;
    z-index: 3;
    font-size: clamp(22px, 4vw, 40px);
    font-weight: 900;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.42);
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
}

.article-main,
.article-side {
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.article-main h2,
.article-side h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.article-main p {
    margin: 0 0 26px;
    color: var(--slate-700);
    font-size: 17px;
}

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

.article-side dl {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px 14px;
    margin: 0;
}

.article-side dt {
    color: var(--slate-500);
    font-weight: 800;
}

.article-side dd {
    margin: 0;
    color: var(--slate-900);
}

.article-side a {
    color: var(--amber-700);
    font-weight: 800;
}

.rank-line {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
}

.rank-cover {
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16 / 10;
}

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

.rank-text {
    display: grid;
    gap: 3px;
}

.rank-text em {
    color: var(--slate-600);
    font-style: normal;
    font-size: 13px;
}

.site-footer {
    margin-top: 72px;
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-900), var(--orange-800), var(--amber-900));
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 44px 22px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
    gap: 34px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 10px;
}

.footer-brand p,
.footer-note p {
    margin: 0;
    color: var(--amber-100);
}

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

.footer-links strong,
.footer-note strong {
    color: var(--white);
    margin-bottom: 6px;
}

.footer-links a {
    color: var(--amber-100);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 22px 24px;
    color: var(--amber-100);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 14px;
}

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

    .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-featured {
        min-height: 460px;
    }

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

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

    .category-panel,
    .article-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

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

    .mobile-menu-button {
        display: inline-grid;
        place-items: center;
        margin-left: auto;
    }

    .header-inner {
        gap: 12px;
    }

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

    .hero-featured {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        min-height: 0;
    }

    .hero-card:first-child {
        grid-row: auto;
    }

    .hero-card img {
        height: 320px;
    }

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

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

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

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

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

    .ranking-item {
        grid-template-columns: 46px 76px 1fr;
        gap: 12px;
    }

    .ranking-number {
        font-size: 22px;
    }
}

@media (max-width: 560px) {
    .brand-title {
        font-size: 17px;
    }

    .brand-subtitle {
        display: none;
    }

    .brand {
        min-width: 0;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: 32px;
    }

    .hero-copy p,
    .page-hero p,
    .detail-one-line {
        font-size: 16px;
    }

    .hero-search,
    .search-page-form,
    .mobile-panel form {
        border-radius: 18px;
        align-items: stretch;
        flex-direction: column;
    }

    .hero-search button,
    .search-page-form button,
    .mobile-panel button {
        padding: 12px 16px;
    }

    .poster-grid,
    .compact-grid,
    .category-grid,
    .category-panel-grid,
    .podium-grid {
        grid-template-columns: 1fr;
    }

    .movie-info em {
        min-height: 0;
    }

    .article-main,
    .article-side {
        padding: 22px;
    }

    .player-wrap {
        border-radius: 18px;
    }

    .big-play {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}
