:root {
    --sand-50: #fffaf2;
    --sand-100: #f8efe2;
    --sand-200: #eadfce;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --pink-500: #ec4899;
    --desert-500: #d97706;
    --shadow-sand: 0 18px 40px rgba(120, 83, 39, 0.12);
    --shadow-desert: 0 24px 60px rgba(225, 29, 72, 0.18);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--stone-800);
    background: var(--sand-50);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

main {
    min-height: 70vh;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    transition: background 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled,
body:not(.home-page) .site-header {
    background: rgba(255, 250, 242, 0.95);
    box-shadow: 0 10px 36px rgba(68, 64, 60, 0.08);
    backdrop-filter: blur(18px);
}

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

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

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-500), var(--purple-600));
    box-shadow: 0 16px 34px rgba(225, 29, 72, 0.28);
    font-size: 18px;
    line-height: 1;
}

.logo-text {
    display: grid;
    gap: 0;
}

.logo-text strong {
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--rose-600), var(--purple-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text small {
    color: var(--stone-600);
    font-size: 12px;
}

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

.nav-link {
    position: relative;
    color: var(--stone-700);
    font-size: 14px;
    font-weight: 650;
    transition: color 180ms ease;
    white-space: nowrap;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--rose-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 12px 30px rgba(68, 64, 60, 0.08);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-button span {
    width: 19px;
    height: 2px;
    border-radius: 99px;
    background: var(--stone-700);
}

.mobile-nav {
    display: none;
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 250, 242, 0.98);
    box-shadow: var(--shadow-sand);
    backdrop-filter: blur(18px);
}

.mobile-nav .nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
}

.mobile-nav .nav-link::after {
    display: none;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.is-active {
    background: var(--rose-50);
}

.hero-carousel {
    position: relative;
    min-height: 720px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-600), var(--purple-600) 55%, var(--pink-500));
    overflow: hidden;
}

.hero-light {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    filter: blur(70px);
    pointer-events: none;
}

.hero-light.one {
    top: 80px;
    left: 6%;
}

.hero-light.two {
    right: 4%;
    bottom: 80px;
}

.hero-slides {
    position: relative;
    min-height: 720px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    background-size: cover;
    background-position: center;
    transition: opacity 650ms ease, transform 650ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 25, 23, 0.88), rgba(28, 25, 23, 0.48), rgba(28, 25, 23, 0.62));
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(var(--container), calc(100% - 32px));
    min-height: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 58px;
    padding: 112px 0 72px;
}

.hero-copy {
    max-width: 760px;
}

.hero-badge,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.eyebrow {
    color: var(--rose-600);
    background: var(--rose-50);
    backdrop-filter: none;
}

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

.hero-copy p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

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

.hero-tags span,
.card-tags span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

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

.button-primary,
.button-secondary,
.section-more,
.category-open,
.search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    border: 0;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary,
.search-button {
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose-500), var(--purple-600));
    box-shadow: 0 18px 32px rgba(225, 29, 72, 0.28);
}

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

.button-primary:hover,
.button-secondary:hover,
.section-more:hover,
.category-open:hover,
.search-button:hover {
    transform: translateY(-2px);
}

.hero-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 680px);
    margin-top: 30px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
    padding: 0 14px;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.hero-panel {
    border-radius: 28px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(22px);
    box-shadow: 0 30px 90px rgba(28, 25, 23, 0.22);
}

.hero-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.16);
}

.hero-poster img {
    height: 100%;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.92);
    font-size: 20px;
}

.hero-panel h3 {
    margin: 18px 0 8px;
    font-size: 22px;
}

.hero-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.hero-controls {
    position: absolute;
    z-index: 4;
    right: max(16px, calc((100vw - var(--container)) / 2));
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-arrow,
.hero-dot {
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 18px;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    opacity: 0.55;
}

.hero-dot.is-active {
    width: 28px;
    opacity: 1;
    background: #ffffff;
}

.section {
    padding: 72px 0;
}

.section.is-white {
    background: #ffffff;
}

.section.is-soft {
    background: linear-gradient(135deg, var(--stone-50), var(--stone-100));
}

.section.is-tint {
    background: linear-gradient(135deg, var(--rose-50), #f5f3ff);
}

.section.is-dark {
    color: #ffffff;
    background: var(--stone-900);
}

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

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

.section-heading h1,
.section-heading h2 {
    margin: 12px 0 0;
    color: var(--stone-800);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section.is-dark .section-heading h2,
.section.is-dark .section-heading p {
    color: #ffffff;
}

.section-heading p {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--stone-600);
}

.section-more,
.category-open {
    color: var(--rose-600);
    background: var(--rose-50);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: -96px;
    position: relative;
    z-index: 6;
}

.featured-grid .featured-card:first-child {
    grid-column: 1 / -1;
    min-height: 360px;
}

.featured-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-sand);
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-desert);
}

.featured-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(28, 25, 23, 0.68), transparent 50%);
}

.featured-content {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 30px;
    color: #ffffff;
}

.featured-content h2 {
    margin: 12px 0 10px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.1;
}

.featured-content p {
    max-width: 780px;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.84);
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.featured-play,
.cover-play {
    position: absolute;
    display: grid;
    place-items: center;
    border-radius: 999px;
}

.featured-play {
    z-index: 3;
    top: 24px;
    right: 24px;
    width: 62px;
    height: 62px;
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(28, 25, 23, 0.2);
}

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

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

.movie-rail {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 0 18px;
    scroll-snap-type: x mandatory;
}

.movie-rail .movie-card {
    width: 310px;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sand);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.card-link {
    display: block;
    height: 100%;
}

.card-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    background: var(--stone-200);
}

.card-cover img {
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

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

.cover-type {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 9px;
    border-radius: 7px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose-500), var(--purple-600));
    font-size: 12px;
    font-weight: 750;
}

.cover-play {
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
}

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

.card-body {
    padding: 18px;
}

.card-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.card-tags span,
.detail-tags span {
    color: var(--rose-600);
    background: var(--rose-50);
}

.featured-tags span {
    color: #ffffff;
    background: rgba(244, 63, 94, 0.85);
}

.card-body h2,
.card-body h3 {
    margin: 12px 0 8px;
    color: var(--stone-800);
    font-size: 18px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--stone-500);
    font-size: 12px;
}

.card-meta span:first-child {
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--stone-100);
    color: var(--stone-700);
}

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

.category-tile {
    padding: 22px;
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sand);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-desert);
}

.category-tile h2,
.category-tile h3 {
    margin: 0 0 10px;
    color: var(--stone-800);
    font-size: 20px;
}

.category-tile p {
    margin: 0 0 18px;
    color: var(--stone-600);
    font-size: 14px;
}

.category-open {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 14px;
}

.page-hero {
    padding: 138px 0 74px;
    color: #ffffff;
    background: radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.25), transparent 28%), linear-gradient(135deg, var(--rose-600), var(--purple-600) 58%, var(--pink-500));
}

.page-hero .container {
    display: grid;
    gap: 18px;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

.filter-panel {
    width: min(var(--container), calc(100% - 32px));
    margin: -36px auto 42px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sand);
    position: relative;
    z-index: 4;
}

.filter-search {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--stone-50);
    color: var(--stone-600);
    font-weight: 800;
}

.filter-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--stone-800);
}

.filter-groups {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.filter-row > span {
    min-width: 42px;
    color: var(--stone-600);
    font-size: 13px;
    font-weight: 800;
}

.filter-row button {
    border: 0;
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--stone-700);
    background: var(--stone-100);
    font-size: 13px;
    font-weight: 750;
}

.filter-row button.is-active,
.filter-row button:hover {
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose-500), var(--purple-600));
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 70px 128px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-sand);
}

.rank-number {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rose-500), var(--purple-600));
    font-weight: 900;
}

.ranking-cover {
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: var(--stone-200);
}

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

.ranking-info h2 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.25;
}

.ranking-info p {
    margin: 0;
    color: var(--stone-600);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ranking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 10px;
    color: var(--stone-500);
    font-size: 13px;
}

.ranking-action {
    min-width: 104px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--rose-600);
    background: var(--rose-50);
    font-weight: 800;
    text-align: center;
}

.detail-hero {
    padding: 118px 0 60px;
    color: #ffffff;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 28%), linear-gradient(135deg, var(--stone-900), #3b0764 65%, #881337);
}

.detail-layout {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.34);
}

.player-video {
    aspect-ratio: 16 / 9;
    height: auto;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 14px;
    width: 100%;
    border: 0;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    transition: opacity 220ms ease, visibility 220ms ease;
    z-index: 4;
}

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

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.36));
}

.player-cover-inner {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
}

.player-cover-title {
    font-size: clamp(20px, 4vw, 34px);
    font-weight: 900;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.play-icon-large {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--rose-600);
    background: rgba(255, 255, 255, 0.94);
    font-size: 30px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.detail-side {
    display: grid;
    gap: 18px;
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

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

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

.detail-info p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.84);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 750;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

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

.article-content {
    width: min(900px, calc(100% - 32px));
    margin: 0 auto;
}

.article-content h2 {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.2;
}

.article-content p {
    margin: 0 0 18px;
    color: var(--stone-700);
    font-size: 17px;
}

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

.no-results {
    display: none;
    padding: 32px;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--stone-600);
    background: #ffffff;
    box-shadow: var(--shadow-sand);
}

.no-results.is-visible {
    display: block;
}

.site-footer {
    color: var(--stone-300);
    background: var(--stone-900);
}

.footer-inner {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0;
    display: grid;
    grid-template-columns: minmax(0, 2fr) 1fr 1fr;
    gap: 40px;
}

.footer-logo .logo-text strong {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.footer-logo .logo-text small {
    color: var(--stone-300);
}

.footer-brand p {
    max-width: 560px;
    margin: 18px 0 0;
    color: var(--stone-300);
}

.footer-column h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 15px;
}

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

.footer-column a {
    color: var(--stone-300);
    font-size: 14px;
}

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

.footer-bottom {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--stone-500);
    font-size: 13px;
    text-align: center;
}

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

    .mobile-menu-button {
        display: inline-flex;
    }

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

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

    .hero-panel {
        max-width: 480px;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .header-inner {
        height: 64px;
    }

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

    .logo-text strong {
        font-size: 19px;
    }

    .logo-text small {
        display: none;
    }

    .hero-carousel,
    .hero-slides,
    .hero-content {
        min-height: 760px;
    }

    .hero-content {
        padding: 94px 0 78px;
        gap: 30px;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .hero-search {
        border-radius: 22px;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-controls {
        right: 16px;
        bottom: 18px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        margin-top: -58px;
    }

    .featured-grid .featured-card:first-child,
    .featured-card {
        min-height: 260px;
    }

    .section {
        padding: 54px 0;
    }

    .section-heading {
        display: grid;
        align-items: start;
    }

    .movie-grid,
    .movie-grid.three,
    .category-strip,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .ranking-item {
        grid-template-columns: 48px 94px minmax(0, 1fr);
        gap: 12px;
    }

    .ranking-action {
        grid-column: 2 / -1;
        width: fit-content;
    }

    .rank-number {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .detail-hero {
        padding-top: 92px;
    }

    .detail-side {
        grid-row: 1;
    }

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

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