:root {
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --amber-100: #fef3c7;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
    --shadow-card: 0 14px 30px rgba(15, 23, 42, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--slate-900);
    background: linear-gradient(135deg, #fff1f2 0%, #ffffff 42%, #fffbeb 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

img.image-missing {
    opacity: 0;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(244, 63, 94, 0.12);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-600));
    box-shadow: 0 12px 22px rgba(225, 29, 72, 0.25);
    font-size: 16px;
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--rose-600), var(--pink-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    margin-top: 3px;
    color: var(--slate-500);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nav-link,
.mobile-link {
    color: var(--slate-700);
    font-weight: 650;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
    padding: 10px 14px;
}

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

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.inline-filter input,
.inline-filter select,
.search-panel input {
    border: 1px solid rgba(244, 63, 94, 0.18);
    border-radius: 999px;
    outline: none;
    color: var(--slate-900);
    background: rgba(255, 255, 255, 0.85);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-search input {
    width: 210px;
    padding: 10px 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.inline-filter input:focus,
.inline-filter select:focus,
.search-panel input:focus {
    border-color: var(--rose-500);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.header-search button,
.mobile-search button,
.search-panel button,
.inline-filter button,
.category-filter-row button {
    border: 0;
    cursor: pointer;
    font-weight: 750;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.search-panel button,
.inline-filter button {
    padding: 10px 16px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose-600), var(--pink-600));
}

.header-search button:hover,
.mobile-search button:hover,
.search-panel button:hover,
.inline-filter button:hover,
.btn-primary:hover,
.btn-ghost:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(225, 29, 72, 0.22);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--slate-100);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--slate-700);
    border-radius: 99px;
}

.mobile-nav {
    display: none;
    padding: 12px 16px 18px;
    border-top: 1px solid var(--slate-100);
    background: #ffffff;
}

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

.hero-carousel {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    margin-top: 68px;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.95), rgba(236, 72, 153, 0.92), rgba(245, 158, 11, 0.90));
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
    align-items: center;
    gap: 40px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0;
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    filter: saturate(1.1);
}

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

.hero-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 78% 38%, rgba(255, 255, 255, 0.20), transparent 28%), linear-gradient(0deg, rgba(255, 241, 242, 0.18), transparent 60%);
}

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

.hero-kicker,
.detail-kicker {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
}

.hero-kicker span,
.detail-kicker,
.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-content h1 span {
    color: #fde68a;
}

.hero-content p {
    max-width: 660px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 19px;
}

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

.hero-tags {
    margin-top: 24px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-actions,
.detail-info .btn-primary {
    margin-top: 30px;
}

.btn-primary,
.btn-ghost,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
}

.btn-primary {
    min-height: 48px;
    padding: 0 24px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose-600), var(--pink-600));
    box-shadow: 0 18px 34px rgba(225, 29, 72, 0.26);
}

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

.hero-actions .btn-primary {
    color: var(--rose-600);
    background: #ffffff;
}

.btn-ghost {
    min-height: 48px;
    padding: 0 24px;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
}

.hero-poster {
    position: relative;
    z-index: 2;
    justify-self: end;
    width: min(360px, 100%);
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(135deg, var(--rose-100), var(--amber-100));
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
    transform: rotate(2deg);
}

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

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

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero-dot.is-active {
    width: 34px;
    background: #ffffff;
}

.quick-search-panel,
.content-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.quick-search-panel {
    position: relative;
    z-index: 4;
    margin-top: -42px;
}

.search-panel {
    display: grid;
    grid-template-columns: 0.8fr 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(244, 63, 94, 0.16);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.search-panel strong {
    display: block;
    font-size: 20px;
    font-weight: 850;
}

.search-panel span {
    display: block;
    color: var(--slate-500);
    font-size: 14px;
}

.search-panel input {
    width: 100%;
    padding: 14px 18px;
}

.search-panel button {
    min-height: 50px;
    padding: 0 24px;
}

.content-section {
    padding: 70px 0;
}

.soft-section {
    width: 100%;
    padding-left: max(16px, calc((100% - 1180px) / 2));
    padding-right: max(16px, calc((100% - 1180px) / 2));
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.86), rgba(255, 255, 255, 0.92), rgba(255, 251, 235, 0.86));
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-icon {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    color: #ffffff;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-600));
    box-shadow: 0 16px 30px rgba(225, 29, 72, 0.20);
    font-weight: 900;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.15;
}

.section-heading p {
    margin: 4px 0 0;
    color: var(--slate-500);
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.86);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 63, 94, 0.28);
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.13);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose-100), var(--amber-100));
}

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

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

.poster-badge,
.poster-play {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(12px);
}

.poster-badge {
    top: 12px;
    left: 12px;
    min-width: 58px;
    height: 30px;
    font-size: 13px;
    font-weight: 800;
}

.poster-play {
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.2s ease, transform 0.2s ease;
    background: linear-gradient(135deg, var(--rose-600), var(--pink-600));
    box-shadow: 0 18px 34px rgba(225, 29, 72, 0.28);
}

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

.card-content {
    padding: 16px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--rose-600);
    font-size: 13px;
    font-weight: 800;
}

.card-meta span + span::before {
    content: "·";
    margin-right: 8px;
    color: var(--slate-400);
}

.card-content h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.card-content h3 a:hover {
    color: var(--rose-600);
}

.card-content p {
    display: -webkit-box;
    min-height: 44px;
    margin: 8px 0 12px;
    overflow: hidden;
    color: var(--slate-500);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row span {
    color: var(--rose-600);
    background: var(--rose-50);
}

.large-card .poster-link {
    aspect-ratio: 16 / 10;
}

.large-card .card-content h3 {
    font-size: 22px;
}

.two-column-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
    gap: 34px;
    align-items: stretch;
}

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

.rank-item,
.ranking-row {
    display: grid;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--slate-200);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-item {
    grid-template-columns: 44px 66px minmax(0, 1fr) auto;
}

.rank-item:hover,
.ranking-row:hover {
    transform: translateX(4px);
    border-color: rgba(244, 63, 94, 0.28);
}

.rank-num,
.ranking-index {
    display: inline-grid;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber-500), var(--rose-500));
}

.rank-num {
    width: 38px;
    height: 38px;
}

.rank-item img {
    width: 66px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--rose-100), var(--amber-100));
}

.rank-text,
.ranking-info {
    min-width: 0;
}

.rank-text strong,
.ranking-info strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 850;
}

.rank-text small,
.ranking-info small {
    display: block;
    overflow: hidden;
    color: var(--slate-500);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-item em,
.ranking-row em {
    color: var(--rose-600);
    font-style: normal;
    font-weight: 900;
}

.spotlight-card {
    position: relative;
    overflow: hidden;
    padding: 38px;
    color: #ffffff;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--rose-600), var(--pink-600), var(--amber-500));
    box-shadow: var(--shadow-soft);
}

.spotlight-card::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -90px;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.spotlight-card span {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-weight: 800;
}

.spotlight-card h2 {
    position: relative;
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.spotlight-card p {
    position: relative;
    color: rgba(255, 255, 255, 0.88);
}

.spotlight-card .btn-primary {
    position: relative;
    color: var(--rose-600);
    background: #ffffff;
}

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

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

.category-tile,
.category-overview-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.86);
    box-shadow: var(--shadow-card);
}

.category-tile {
    padding: 18px;
}

.tile-glow {
    position: absolute;
    inset: auto -30px -70px auto;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    opacity: 0.20;
    background: var(--tile-color, var(--rose-500));
}

.tile-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 18px;
}

.tile-thumbs img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--rose-100), var(--amber-100));
}

.category-tile h3,
.category-overview-card h2 {
    margin: 0;
}

.category-tile p,
.category-overview-card p {
    color: var(--slate-500);
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.12);
}

.tone-rose { --tile-color: #f43f5e; }
.tone-pink { --tile-color: #ec4899; }
.tone-amber { --tile-color: #f59e0b; }
.tone-emerald { --tile-color: #10b981; }
.tone-blue { --tile-color: #3b82f6; }
.tone-purple { --tile-color: #8b5cf6; }
.tone-orange { --tile-color: #f97316; }
.tone-cyan { --tile-color: #06b6d4; }
.tone-red { --tile-color: #ef4444; }
.tone-green { --tile-color: #22c55e; }

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

.page-hero {
    min-height: 320px;
    display: grid;
    align-items: center;
    gap: 28px;
    padding: 70px max(16px, calc((100% - 1180px) / 2));
    color: #ffffff;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.94), rgba(236, 72, 153, 0.92), rgba(245, 158, 11, 0.86));
}

.page-hero span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-weight: 800;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 62px);
    line-height: 1.08;
}

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

.slim-hero,
.search-hero,
.ranking-hero {
    min-height: 300px;
}

.inline-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    max-width: 960px;
}

.inline-filter input,
.inline-filter select {
    min-height: 48px;
    padding: 0 16px;
}

.inline-filter input {
    min-width: min(420px, 100%);
    flex: 1;
}

.inline-filter select {
    min-width: 150px;
}

.category-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.category-filter-row button {
    padding: 10px 16px;
    color: var(--slate-700);
    background: #ffffff;
    border: 1px solid var(--slate-200);
}

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

.category-overview-card {
    padding: 24px;
}

.category-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.text-link {
    min-height: 42px;
    padding: 0 16px;
    color: var(--rose-600);
    background: var(--rose-50);
}

.ranking-row {
    grid-template-columns: 54px 72px minmax(0, 1fr) auto;
}

.ranking-index {
    width: 42px;
    height: 42px;
}

.ranking-row img {
    width: 72px;
    height: 96px;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--rose-100), var(--amber-100));
}

.detail-hero {
    position: relative;
    min-height: 600px;
    color: #ffffff;
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(136, 19, 55, 0.82), rgba(245, 158, 11, 0.58)), var(--detail-bg);
    background-size: cover;
    background-position: center;
}

.detail-hero-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0 70px;
}

.breadcrumb,
.breadcrumb-sep {
    display: inline-flex;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
}

.breadcrumb:hover {
    color: #ffffff;
}

.breadcrumb-sep {
    margin-left: 8px;
    margin-right: 8px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(135deg, var(--rose-100), var(--amber-100));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

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

.detail-info h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.08;
}

.detail-one-line {
    max-width: 760px;
    margin: 22px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
}

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

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

.detail-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.player-section {
    padding-top: 44px;
    padding-bottom: 44px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #020617;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.player-shell video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.play-trigger {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.32), rgba(2, 6, 23, 0.62));
    cursor: pointer;
}

.play-trigger span {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rose-600), var(--pink-600));
    box-shadow: 0 20px 38px rgba(225, 29, 72, 0.32);
    font-size: 28px;
}

.play-trigger strong {
    font-size: 20px;
}

.player-shell.is-playing .play-trigger {
    display: none;
}

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

.detail-article,
.detail-side {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-card);
}

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

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

.detail-side dl {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px 14px;
    margin: 0;
}

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

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

.detail-side a {
    color: var(--rose-600);
}

.prev-next {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.prev-next a {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--rose-50);
    color: var(--rose-600);
    font-weight: 800;
}

[data-movie-card].is-hidden {
    display: none;
}

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

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

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

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

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

    .mobile-search {
        margin-top: 10px;
    }

    .mobile-search input {
        min-width: 0;
        flex: 1;
        padding: 11px 14px;
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 28px;
    }

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

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

    .movie-grid,
    .featured-grid,
    .related-grid,
    .category-grid,
    .two-column-section,
    .detail-content-grid,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(280px, 70vw);
    }
}

@media (max-width: 560px) {
    .brand-text small {
        display: none;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .hero-carousel {
        min-height: 720px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

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

    .content-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

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

    .rank-item {
        grid-template-columns: 38px 56px minmax(0, 1fr);
    }

    .rank-item em {
        display: none;
    }

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

    .ranking-row em {
        display: none;
    }

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

    .page-hero {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}
