:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-300: #fcd34d;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-500: #f97316;
    --orange-700: #c2410c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(120, 53, 15, 0.14);
    --shadow-card: 0 14px 34px rgba(15, 23, 42, 0.10);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-900);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 34%, #fffaf0 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button, input, select {
    font: inherit;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.95), rgba(255, 247, 237, 0.95));
    border-bottom: 1px solid rgba(245, 158, 11, 0.20);
    backdrop-filter: blur(18px);
}

.nav-inner {
    width: min(1220px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo, .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--amber-600);
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
    font-size: 13px;
}

.site-logo span:last-child {
    font-size: 21px;
    background: linear-gradient(90deg, var(--amber-600), var(--orange-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

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

.menu-button {
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.10);
    cursor: pointer;
}

.menu-button span {
    width: 18px;
    height: 2px;
    background: var(--amber-600);
    border-radius: 10px;
}

.site-main {
    min-height: 70vh;
    padding-top: 68px;
}

.hero-section {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 16% 18%, rgba(252, 211, 77, 0.45), transparent 32%),
        radial-gradient(circle at 84% 20%, rgba(249, 115, 22, 0.28), transparent 30%),
        linear-gradient(135deg, #fffbeb 0%, #fff7ed 48%, #ffffff 100%);
}

.float-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.62;
    animation: floatOrb 12s ease-in-out infinite;
}

.orb-one {
    width: 140px;
    height: 140px;
    top: 120px;
    left: 9%;
    background: rgba(245, 158, 11, 0.28);
}

.orb-two {
    width: 210px;
    height: 210px;
    bottom: 80px;
    right: 7%;
    background: rgba(249, 115, 22, 0.18);
    animation-delay: 1.5s;
}

.orb-three {
    width: 90px;
    height: 90px;
    top: 48%;
    right: 32%;
    background: rgba(252, 211, 77, 0.25);
    animation-delay: 2.8s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(18px, -20px, 0) scale(1.08); }
}

.hero-slider {
    position: relative;
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    z-index: 2;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
    align-items: center;
    gap: 54px;
    min-height: 560px;
}

.hero-slide.is-active {
    display: grid;
    animation: heroFade 0.55s ease;
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.eyebrow, .section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    color: var(--amber-700);
    background: rgba(254, 243, 199, 0.85);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-copy h1 {
    margin: 24px 0 18px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: -0.07em;
    background: linear-gradient(90deg, var(--amber-600), var(--orange-700), #ca8a04);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    width: min(720px, 100%);
    margin: 0 0 28px;
    color: var(--gray-700);
    font-size: 20px;
    line-height: 1.8;
}

.hero-tags, .detail-tags, .tag-row, .card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span, .detail-tags span, .tag-row span, .card-badges span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    color: var(--amber-700);
    background: rgba(254, 243, 199, 0.86);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-actions, .page-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.primary-button, .ghost-button, .text-button, .section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button {
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.32);
}

.ghost-button {
    color: var(--amber-700);
    background: rgba(255, 255, 255, 0.78);
    border: 2px solid rgba(245, 158, 11, 0.42);
}

.ghost-button.light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.38);
}

.primary-button:hover, .ghost-button:hover, .text-button:hover, .section-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(245, 158, 11, 0.24);
}

.hero-art {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 36px;
    box-shadow: 0 32px 70px rgba(120, 53, 15, 0.26);
    transform: rotate(2deg);
}

.hero-art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.68));
}

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

.hero-art:hover img {
    transform: scale(1.06);
}

.hero-play, .poster-play, .featured-poster span, .ranking-poster span {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(245, 158, 11, 0.86);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.hero-play {
    left: 28px;
    bottom: 28px;
    width: 74px;
    height: 74px;
    font-size: 30px;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.28);
    cursor: pointer;
    transition: width 0.22s ease, background 0.22s ease;
}

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

.section-wrap {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 76px 0;
}

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

.section-heading.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-heading.plain {
    align-items: center;
}

.section-heading h2, .page-hero h1, .detail-copy h1 {
    margin: 10px 0 8px;
    color: var(--gray-900);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-heading p, .page-hero p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.8;
}

.section-link, .text-button {
    color: var(--amber-700);
    background: rgba(254, 243, 199, 0.74);
}

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

.featured-card, .movie-card, .category-overview-card, .ranking-card, .detail-article, .detail-side, .rank-panel {
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(245, 158, 11, 0.12);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.featured-card {
    display: grid;
    grid-template-rows: auto 1fr;
    transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.featured-card:hover, .movie-card:hover, .category-tile:hover, .ranking-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(120, 53, 15, 0.18);
}

.featured-poster {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.featured-poster img, .poster-link img, .ranking-poster img, .compact-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-poster:hover img, .poster-link:hover img, .ranking-poster:hover img {
    transform: scale(1.06);
}

.featured-poster::after, .poster-link::after, .ranking-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.56));
}

.featured-poster span {
    left: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
}

.featured-copy, .card-body {
    padding: 20px;
}

.featured-copy h2, .card-body h2 {
    margin: 14px 0 9px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 900;
}

.featured-copy h2 a:hover, .card-body h2 a:hover, .ranking-info h2 a:hover {
    color: var(--amber-600);
}

.featured-copy p, .card-body p, .ranking-info p {
    margin: 0 0 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

.warm-panel {
    padding: 76px 16px;
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.72), rgba(255, 237, 213, 0.74));
}

.category-grid {
    width: min(1220px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.category-tile {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    padding: 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-600), var(--orange-500));
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 42px rgba(194, 65, 12, 0.18);
    transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.tile-glow {
    position: absolute;
    right: -24px;
    top: -24px;
    width: 92px;
    height: 92px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.category-tile strong, .category-tile small, .category-tile em {
    position: relative;
    z-index: 1;
    display: block;
}

.category-tile strong {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 950;
}

.category-tile small {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
}

.category-tile em {
    margin-top: 18px;
    font-style: normal;
    font-size: 13px;
    opacity: 0.88;
}

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

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

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

.movie-card {
    transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.poster-play {
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.poster-year {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 5px 10px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.60);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.card-body h2 {
    display: -webkit-box;
    min-height: 55px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-body p {
    display: -webkit-box;
    min-height: 71px;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    color: var(--gray-500);
    font-size: 13px;
}

.card-meta span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.card-meta strong, .ranking-score {
    color: var(--amber-600);
    font-size: 22px;
    font-weight: 950;
}

.rank-panel {
    position: sticky;
    top: 92px;
    padding: 24px;
}

.rank-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.rank-head span {
    color: var(--amber-600);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-size: 12px;
}

.rank-head h2 {
    margin: 4px 0 0;
    font-size: 25px;
}

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

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

.rank-row {
    display: grid;
    grid-template-columns: 42px 64px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 251, 235, 0.78);
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.rank-no {
    color: var(--amber-600);
    font-weight: 950;
}

.rank-row img {
    width: 64px;
    height: 82px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-title {
    font-weight: 900;
}

.rank-row small {
    grid-column: 3 / 4;
    color: var(--gray-500);
}

.page-main {
    padding-top: 68px;
}

.page-hero {
    position: relative;
    width: min(1220px, calc(100% - 32px));
    margin: 34px auto 0;
    overflow: hidden;
    padding: 76px 54px;
    color: var(--white);
    background:
        radial-gradient(circle at 12% 18%, rgba(252, 211, 77, 0.35), transparent 32%),
        linear-gradient(135deg, #92400e, #f97316 55%, #f59e0b);
    border-radius: 36px;
    box-shadow: 0 28px 70px rgba(120, 53, 15, 0.24);
}

.page-hero h1, .page-hero p {
    color: var(--white);
}

.page-hero p {
    width: min(780px, 100%);
    font-size: 18px;
}

.page-hero .section-kicker {
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

.category-overview-grid {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0 86px;
    display: grid;
    gap: 22px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    padding: 28px;
}

.category-overview-copy span {
    color: var(--amber-600);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.category-overview-copy h2 {
    margin: 10px 0;
    font-size: 30px;
}

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

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

.compact-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    min-height: 190px;
    color: var(--white);
    background: var(--gray-900);
}

.compact-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.78));
}

.compact-card img {
    position: absolute;
    inset: 0;
}

.compact-card div {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
}

.compact-card strong, .compact-card small {
    display: block;
}

.compact-card small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.72);
}

.compact-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 9px;
    background: rgba(245, 158, 11, 0.92);
    border-radius: 999px;
    font-weight: 900;
}

.filter-shell {
    display: grid;
    gap: 28px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 170px 170px;
    gap: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
}

.wide-filter {
    grid-template-columns: minmax(260px, 1fr) 170px 170px 170px;
}

.filter-bar input, .filter-bar select {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    color: var(--gray-900);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    outline: none;
}

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

.filter-empty {
    display: none;
    margin: 0;
    padding: 18px;
    color: var(--amber-700);
    background: rgba(254, 243, 199, 0.72);
    border-radius: 18px;
    font-weight: 800;
}

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

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

.ranking-card {
    display: grid;
    grid-template-columns: 150px 1fr 90px;
    gap: 22px;
    align-items: center;
    padding: 18px;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.ranking-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 18px;
}

.ranking-poster span {
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%);
}

.ranking-number {
    color: var(--amber-600);
    font-size: 14px;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.ranking-info h2 {
    margin: 6px 0 10px;
    font-size: 26px;
}

.ranking-score {
    justify-self: end;
    font-size: 34px;
}

.detail-main {
    padding-top: 68px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 630px;
    display: flex;
    align-items: center;
    color: var(--white);
    background: #2b1607;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    filter: blur(12px);
    transform: scale(1.06);
}

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

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 20%, rgba(245, 158, 11, 0.28), transparent 30%),
        linear-gradient(90deg, rgba(22, 10, 3, 0.94), rgba(22, 10, 3, 0.66) 54%, rgba(22, 10, 3, 0.86));
}

.detail-layout {
    position: relative;
    z-index: 1;
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 46px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 700;
}

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

.detail-copy h1 {
    color: var(--white);
    font-size: clamp(42px, 6vw, 78px);
}

.detail-one-line {
    width: min(820px, 100%);
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
    line-height: 1.8;
}

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

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

.player-section {
    width: min(1220px, calc(100% - 32px));
    margin: -90px auto 0;
    position: relative;
    z-index: 2;
}

.player-frame {
    position: relative;
    overflow: hidden;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.38);
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    color: var(--white);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.66));
    border: 0;
    cursor: pointer;
}

.player-overlay.is-hidden {
    display: none;
}

.big-play {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    border-radius: 999px;
    box-shadow: 0 20px 45px rgba(249, 115, 22, 0.42);
    font-size: 32px;
}

.player-overlay strong {
    max-width: 80%;
    text-align: center;
    font-size: 24px;
}

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

.detail-article, .detail-side {
    padding: 30px;
}

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

.detail-article p {
    margin: 0 0 28px;
    color: var(--gray-700);
    line-height: 2;
    font-size: 17px;
}

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

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

.detail-side dd {
    margin: 0;
    color: var(--gray-900);
    font-weight: 700;
}

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

.site-footer {
    color: var(--white);
    background: linear-gradient(135deg, #78350f, #9a3412 55%, #7c2d12);
}

.footer-inner {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
}

.footer-logo {
    color: var(--white);
    font-size: 22px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.footer-column {
    display: grid;
    gap: 10px;
    align-content: start;
}

.footer-column h2 {
    margin: 0 0 6px;
    color: var(--amber-300);
    font-size: 18px;
}

.footer-column a, .footer-column span {
    color: rgba(255, 255, 255, 0.78);
}

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

.footer-bottom {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 26px;
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
}

@media (max-width: 1100px) {
    .featured-grid, .home-grid, .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

    .rank-panel {
        position: static;
    }
}

@media (max-width: 860px) {
    .menu-button {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 16px 16px;
        background: rgba(255, 251, 235, 0.98);
        border-bottom: 1px solid rgba(245, 158, 11, 0.18);
    }

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

    .nav-link {
        padding: 13px 16px;
        border-radius: 14px;
    }

    .hero-section {
        min-height: auto;
        padding: 70px 0 84px;
    }

    .hero-slide, .hero-slide.is-active {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 34px;
    }

    .hero-art {
        width: min(360px, 100%);
        margin: 0 auto;
        transform: none;
    }

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

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

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

    .category-overview-card, .ranking-card, .detail-layout, .footer-inner {
        grid-template-columns: 1fr;
    }

    .ranking-score {
        justify-self: start;
    }

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

    .page-hero {
        padding: 54px 28px;
        border-radius: 28px;
    }

    .detail-hero {
        padding: 54px 0 130px;
    }

    .detail-poster {
        width: min(300px, 100%);
    }
}

@media (max-width: 560px) {
    .nav-inner, .hero-slider, .section-wrap, .page-hero, .category-overview-grid, .player-section, .detail-layout, .footer-inner, .footer-bottom {
        width: min(100% - 24px, 1220px);
    }

    .site-logo span:last-child {
        font-size: 17px;
    }

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

    .featured-grid, .movie-grid, .home-grid, .related-grid, .category-grid, .compact-list {
        grid-template-columns: 1fr;
    }

    .section-wrap {
        padding: 52px 0;
    }

    .hero-dots {
        bottom: 26px;
    }

    .player-section {
        margin-top: -66px;
    }

    .player-frame {
        border-radius: 20px;
    }

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