:root {
    --color-orange: #f97316;
    --color-orange-dark: #ea580c;
    --color-pink: #ec4899;
    --color-yellow: #f59e0b;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-soft: #fff7ed;
    --color-border: rgba(249, 115, 22, 0.14);
    --shadow-card: 0 18px 45px rgba(249, 115, 22, 0.14);
    --shadow-hover: 0 28px 70px rgba(236, 72, 153, 0.22);
    --page-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--color-text);
    background:
        radial-gradient(circle at top left, rgba(251, 146, 60, 0.28), transparent 32rem),
        radial-gradient(circle at top right, rgba(244, 114, 182, 0.22), transparent 30rem),
        linear-gradient(135deg, #fff7ed 0%, #fdf2f8 46%, #fefce8 100%);
}

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: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.12);
}

.site-header-inner {
    width: min(100% - 32px, var(--page-width));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}

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

.site-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, #fb923c, #ec4899);
    box-shadow: 0 14px 30px rgba(236, 72, 153, 0.24);
    transition: transform 0.25s ease;
}

.site-brand:hover .site-brand-mark {
    transform: scale(1.08) rotate(-4deg);
}

.site-brand-text {
    display: grid;
    gap: 2px;
}

.site-brand-text strong {
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #f97316, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-brand-text small {
    color: var(--color-muted);
    font-size: 12px;
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-orange-dark);
    background: #ffedd5;
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    right: 0;
    top: 44px;
    width: 230px;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

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

.nav-dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #4b5563;
    font-size: 14px;
}

.nav-dropdown-panel a:hover {
    color: var(--color-orange-dark);
    background: #fff7ed;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #fff7ed;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-orange-dark);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    width: min(100% - 32px, var(--page-width));
    margin: 0 auto;
    padding: 0 0 16px;
}

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

.mobile-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: #4b5563;
    font-weight: 700;
}

.mobile-nav a:hover {
    color: var(--color-orange-dark);
    background: #fff7ed;
}

.mobile-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 8px;
}

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

.hero-slider {
    position: relative;
    min-height: 70vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.48fr);
    align-items: center;
    gap: 38px;
    width: min(100% - 32px, var(--page-width));
    margin: 0 auto;
    padding: 72px 0 82px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 0;
    width: 100vw;
    overflow: hidden;
    transform: translateX(-50%);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.86) 0%, rgba(17, 24, 39, 0.68) 48%, rgba(17, 24, 39, 0.22) 100%),
        linear-gradient(0deg, rgba(17, 24, 39, 0.88) 0%, transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 700px;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 12px;
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 900;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 7vw, 74px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero p {
    max-width: 680px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: #9a3412;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 800;
}

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

.hero-meta {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.hero-meta span,
.detail-meta span,
.movie-meta-line span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

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

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

.primary-button {
    color: #ffffff;
    background: linear-gradient(90deg, #f97316, #ec4899);
    box-shadow: 0 18px 34px rgba(236, 72, 153, 0.25);
}

.primary-button:hover,
.ghost-button:hover,
.outline-button:hover {
    transform: translateY(-2px);
}

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

.outline-button {
    color: var(--color-orange-dark);
    background: #ffffff;
    border: 1px solid #fed7aa;
}

.hero-poster {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 380px;
    justify-self: end;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.46);
    transform: rotate(2deg);
    transition: transform 0.25s ease;
}

.hero-poster:hover {
    transform: rotate(0) scale(1.02);
}

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

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 5;
    width: min(100% - 32px, var(--page-width));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-control,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-control {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    font-size: 28px;
    line-height: 1;
    backdrop-filter: blur(10px);
}

.hero-control:hover {
    background: rgba(249, 115, 22, 0.9);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 34px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-dot.is-active {
    background: linear-gradient(90deg, #f97316, #ec4899);
}

.section-wrap {
    width: min(100% - 32px, var(--page-width));
    margin: 0 auto;
    padding: 58px 0;
}

.home-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.home-intro h2,
.section-heading h2,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    letter-spacing: -0.05em;
    color: #111827;
}

.home-intro h2,
.section-heading h2 {
    font-size: clamp(30px, 5vw, 42px);
}

.home-intro p:not(.section-kicker),
.page-hero p,
.detail-one-line {
    color: var(--color-muted);
    line-height: 1.8;
}

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

.centered-heading {
    justify-content: center;
    text-align: center;
}

.section-heading a {
    color: var(--color-orange-dark);
    font-weight: 900;
}

.filter-panel {
    width: min(100% - 32px, var(--page-width));
    margin: 34px auto 0;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.search-field span {
    color: var(--color-orange-dark);
    font-size: 20px;
    font-weight: 900;
}

.search-field input,
.filter-selects select {
    border: 0;
    outline: 0;
    background: transparent;
    color: #374151;
}

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

.filter-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-selects select {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid #fed7aa;
    background: #ffffff;
}

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

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

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

.movie-card {
    min-width: 0;
}

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

.movie-card-link {
    display: block;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-poster-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.movie-poster-wrap img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.movie-card-mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.42);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.play-badge {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ec4899);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.movie-duration,
.movie-score {
    position: absolute;
    top: 10px;
    z-index: 2;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.movie-duration {
    right: 10px;
    background: rgba(249, 115, 22, 0.95);
}

.movie-score {
    left: 10px;
    background: rgba(17, 24, 39, 0.72);
}

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

.movie-card-title {
    min-height: 2.7em;
    margin: 0;
    color: #111827;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-link:hover .movie-card-title {
    color: var(--color-orange-dark);
}

.movie-card-desc {
    min-height: 3.2em;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta-line {
    color: var(--color-muted);
    font-size: 13px;
}

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

.category-tile,
.category-overview-card {
    position: relative;
    overflow: hidden;
    min-height: 172px;
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 26px;
    border-radius: 28px;
    color: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-card {
    min-height: 250px;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.category-tile span,
.category-overview-icon {
    font-size: 42px;
    line-height: 1;
}

.category-tile strong,
.category-overview-card strong {
    font-size: 22px;
}

.category-tile em,
.category-overview-card em {
    max-width: 96%;
    font-size: 14px;
    line-height: 1.7;
    font-style: normal;
    opacity: 0.9;
}

.category-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    align-items: end;
    min-height: 64px;
}

.category-preview img {
    aspect-ratio: 3 / 4;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.category-tile-0,
.category-tile-6 {
    background: linear-gradient(135deg, #fb923c, #f43f5e);
}

.category-tile-1,
.category-tile-7 {
    background: linear-gradient(135deg, #ec4899, #ef4444);
}

.category-tile-2,
.category-tile-8 {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.category-tile-3,
.category-tile-9 {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.category-tile-4,
.category-tile-10 {
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
}

.category-tile-5,
.category-tile-11 {
    background: linear-gradient(135deg, #10b981, #f59e0b);
}

.ranking-section {
    background: rgba(255, 255, 255, 0.44);
}

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

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

.ranking-item {
    display: grid;
    grid-template-columns: 52px 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 108px;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(249, 115, 22, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ranking-number {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #f97316, #ec4899);
}

.ranking-item:nth-child(1) .ranking-number {
    background: linear-gradient(135deg, #facc15, #f97316);
}

.ranking-item:nth-child(2) .ranking-number {
    background: linear-gradient(135deg, #d1d5db, #6b7280);
}

.ranking-item:nth-child(3) .ranking-number {
    background: linear-gradient(135deg, #fdba74, #ea580c);
}

.ranking-item img {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    object-fit: cover;
}

.ranking-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.ranking-copy strong,
.ranking-copy em,
.ranking-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-copy strong {
    color: #111827;
    font-size: 16px;
}

.ranking-copy em {
    color: var(--color-muted);
    font-size: 13px;
    font-style: normal;
}

.ranking-copy span {
    color: var(--color-orange-dark);
    font-size: 12px;
    font-weight: 800;
}

.ranking-arrow {
    color: var(--color-orange-dark);
    font-size: 30px;
}

.ranking-tools {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.sort-button {
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    color: #4b5563;
    background: #ffffff;
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.1);
}

.sort-button.is-active,
.sort-button:hover {
    color: #ffffff;
    background: linear-gradient(90deg, #f97316, #ec4899);
}

.page-hero {
    width: min(100% - 32px, var(--page-width));
    margin: 34px auto 0;
    display: grid;
    min-height: 300px;
    align-items: center;
    padding: 52px;
    border-radius: 34px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.76), rgba(236, 72, 153, 0.34)),
        linear-gradient(135deg, #f97316, #ec4899, #f59e0b);
    box-shadow: var(--shadow-hover);
}

.page-hero h1 {
    color: #ffffff;
    font-size: clamp(38px, 7vw, 66px);
}

.page-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
}

.compact-hero {
    min-height: 260px;
}

.category-hero {
    min-height: 340px;
}

.detail-layout {
    width: min(100% - 32px, var(--page-width));
    margin: 0 auto;
    padding-top: 28px;
}

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

.breadcrumb a {
    color: var(--color-orange-dark);
    font-weight: 800;
}

.player-section {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.24);
    background: #111827;
}

.movie-player {
    position: relative;
    background: #000000;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(0, 0, 0, 0.38);
    cursor: pointer;
}

.movie-player.is-playing .player-overlay {
    display: none;
}

.player-start-button {
    width: 86px;
    height: 86px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding-left: 5px;
    font-size: 34px;
    background: linear-gradient(135deg, #f97316, #ec4899);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
}

.player-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 999px;
    border: 4px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
    display: none;
}

.movie-player.is-loading .player-loading {
    display: block;
}

.player-message {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 5;
    transform: translateX(-50%);
    max-width: min(560px, 90%);
    padding: 10px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.86);
    display: none;
}

.player-message:not(:empty) {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 30px;
    align-items: start;
    padding: 42px 0 0;
}

.detail-copy,
.detail-poster-card {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
}

.detail-copy {
    padding: 34px;
}

.detail-copy h1 {
    font-size: clamp(34px, 6vw, 58px);
}

.detail-copy h2 {
    margin: 34px 0 12px;
    font-size: 26px;
}

.detail-copy p {
    color: #4b5563;
    line-height: 1.9;
}

.detail-one-line {
    font-size: 18px;
}

.detail-meta {
    margin: 20px 0;
    color: #4b5563;
}

.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff7ed;
    font-weight: 800;
}

.detail-tags {
    margin-top: 18px;
}

.detail-poster-card {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
    padding: 18px;
}

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

.related-section {
    width: 100%;
}

.filter-status {
    color: var(--color-muted);
    font-size: 14px;
}

.site-footer {
    margin-top: 60px;
    color: #ffffff;
    background: linear-gradient(90deg, #ea580c, #db2777, #d97706);
}

.site-footer-inner {
    width: min(100% - 32px, var(--page-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 30px;
    padding: 42px 0;
}

.footer-intro strong {
    display: block;
    margin-bottom: 12px;
    font-size: 22px;
}

.footer-intro p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: start;
    justify-content: flex-end;
}

.footer-links a {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.footer-bottom {
    width: min(100% - 32px, var(--page-width));
    margin: 0 auto;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

@media (max-width: 1180px) {
    .movie-grid,
    .featured-grid,
    .all-movie-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .mobile-menu-button {
        display: block;
    }

    .hero,
    .hero-slider {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 48px 0 90px;
    }

    .hero-poster {
        justify-self: start;
        width: min(280px, 76vw);
    }

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

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

    .movie-grid,
    .featured-grid,
    .all-movie-grid,
    .category-grid,
    .category-overview-grid,
    .ranking-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-intro,
    .section-heading,
    .site-footer-inner,
    .detail-main {
        grid-template-columns: 1fr;
        display: grid;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .detail-poster-card {
        position: static;
    }
}

@media (max-width: 560px) {
    .site-brand-text strong {
        font-size: 19px;
    }

    .site-brand-text small {
        display: none;
    }

    .hero,
    .hero-slider {
        min-height: 720px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
    }

    .hero-controls {
        bottom: 18px;
    }

    .movie-grid,
    .featured-grid,
    .all-movie-grid,
    .category-grid,
    .category-overview-grid,
    .ranking-grid {
        grid-template-columns: 1fr;
    }

    .ranking-item {
        grid-template-columns: 42px 66px minmax(0, 1fr);
    }

    .ranking-arrow {
        display: none;
    }

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

    .detail-copy {
        padding: 24px;
    }
}
