:root {
    --red-50: #fff1f2;
    --red-100: #ffe4e6;
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --red-800: #991b1b;
    --orange-500: #f97316;
    --pink-500: #ec4899;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 22px 55px rgba(15, 23, 42, 0.22);
    --radius-xl: 1.25rem;
    --radius-2xl: 1.75rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-800);
    background: var(--gray-50);
    font-family: 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,
video {
    display: block;
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 4px solid var(--red-600);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 24px;
}

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

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--red-600), var(--red-800));
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(220, 38, 38, 0.34);
}

.brand-text strong,
.footer-brand strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.05;
    background: linear-gradient(90deg, var(--red-600), var(--red-800));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small,
.footer-brand small {
    display: block;
    color: var(--gray-500);
    font-size: 0.78rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 700;
    color: var(--gray-700);
}

.desktop-nav > a,
.nav-dropdown > button {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--gray-700);
    font-weight: 700;
    padding: 10px 0;
}

.desktop-nav > a::after,
.nav-dropdown > button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--red-600), var(--red-700));
    transition: transform 0.25s ease;
}

.desktop-nav > a:hover,
.nav-dropdown > button:hover {
    color: var(--red-600);
}

.desktop-nav > a:hover::after,
.nav-dropdown:hover > button::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: -16px;
    display: grid;
    width: 210px;
    padding: 10px;
    border: 1px solid rgba(220, 38, 38, 0.10);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.22s ease;
}

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

.nav-dropdown-panel a {
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--gray-700);
    font-size: 0.92rem;
}

.nav-dropdown-panel a:hover {
    color: var(--red-600);
    background: linear-gradient(90deg, var(--red-50), var(--red-100));
}

.header-search {
    display: flex;
    align-items: center;
    width: min(310px, 26vw);
    border: 2px solid var(--gray-200);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search:focus-within {
    border-color: var(--red-600);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10);
}

.header-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 9px 12px 9px 18px;
    background: transparent;
}

.header-search button,
.hero-search button {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--red-600), var(--red-700));
    font-weight: 800;
    padding: 10px 18px;
}

.mobile-menu-button {
    display: none;
    border: 0;
    border-radius: 12px;
    background: var(--red-50);
    color: var(--red-700);
    font-weight: 800;
    padding: 10px 14px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

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

.mobile-nav a,
.mobile-nav form {
    padding: 8px 0;
}

.mobile-nav form {
    display: flex;
    gap: 8px;
}

.mobile-nav input {
    min-width: 0;
    flex: 1;
    border: 2px solid var(--gray-200);
    border-radius: 999px;
    padding: 10px 14px;
}

.mobile-nav button {
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--red-600);
    padding: 10px 16px;
}

.hero-carousel {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #7f1d1d, #b91c1c 40%, #f97316);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(127, 29, 29, 0.94), rgba(185, 28, 28, 0.72), rgba(17, 24, 39, 0.38)),
        var(--hero-image);
    background-position: center;
    background-size: cover;
    transform: scale(1.05);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 24%),
        linear-gradient(0deg, var(--gray-50), transparent 22%);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 56px;
    padding-top: 76px;
    padding-bottom: 120px;
}

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

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.7rem, 7vw, 5.9rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.hero-copy p {
    max-width: 680px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.28rem);
}

.hero-meta,
.detail-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-meta span,
.detail-meta-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-weight: 700;
    padding: 6px 12px;
    backdrop-filter: blur(10px);
}

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

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

.primary-button {
    color: #fff;
    background: linear-gradient(135deg, var(--orange-500), var(--pink-500));
    box-shadow: 0 16px 36px rgba(249, 115, 22, 0.34);
}

.ghost-button {
    border: 2px solid rgba(255, 255, 255, 0.88);
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(8px);
}

.ghost-light-button {
    border: 2px solid var(--red-600);
    color: var(--red-700);
    background: #fff;
}

.primary-button:hover,
.ghost-button:hover,
.ghost-light-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.hero-search {
    display: flex;
    width: min(650px, 100%);
    margin-top: 34px;
    border: 2px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
    backdrop-filter: blur(14px);
}

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

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

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.20);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-poster:hover img {
    transform: scale(1.07);
}

.hero-poster span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    border-radius: 999px;
    color: #fff;
    background: rgba(220, 38, 38, 0.90);
    padding: 9px 14px;
    font-weight: 900;
}

.hero-controls {
    position: absolute;
    right: 0;
    bottom: 34px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.hero-controls > button,
.hero-dot {
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(12px);
}

.hero-controls > button {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 2rem;
    line-height: 1;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    padding: 0;
    transition: width 0.22s ease, background 0.22s ease;
}

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

.section-block {
    padding: 72px 0;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    color: var(--gray-800);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.15;
}

.section-heading p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--gray-500);
}

.featured-band {
    background: linear-gradient(135deg, var(--red-50), var(--red-100), var(--red-50));
}

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

.category-tile,
.category-cover {
    position: relative;
    display: grid;
    min-height: 150px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    box-shadow: var(--shadow-soft);
    isolation: isolate;
    padding: 22px;
}

.category-tile::before,
.category-cover::before,
.page-hero.category-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--tile-image);
    background-position: center;
    background-size: cover;
    filter: saturate(0.9);
    transform: scale(1.06);
}

.category-tile::after,
.category-cover::after,
.page-hero.category-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.86), rgba(17, 24, 39, 0.76));
}

.category-tile span,
.category-cover span {
    font-size: 1.35rem;
    font-weight: 900;
}

.category-tile strong,
.category-cover strong {
    margin-top: auto;
    font-size: 1rem;
}

.category-tile em {
    font-style: normal;
    opacity: 0.84;
}

.category-tile:hover,
.category-cover:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--shadow-strong);
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

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

.movie-card-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-frame {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--red-100), var(--gray-200));
}

.movie-card-compact .poster-frame {
    aspect-ratio: 1 / 1;
}

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

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

.poster-frame.missing-image::after,
.hero-poster.missing-image::after,
.detail-poster.missing-image::after {
    content: "影视封面";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--red-700);
    font-weight: 900;
    background: linear-gradient(135deg, var(--red-100), #fff);
}

.poster-frame figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
    padding: 34px 12px 12px;
    color: #fff;
    font-size: 0.8rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.play-float {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(249, 115, 22, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    transition: 0.25s ease;
    backdrop-filter: blur(8px);
}

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

.category-pill,
.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange-500), var(--pink-500));
    font-size: 0.76rem;
    font-weight: 900;
    padding: 5px 10px;
}

.rank-badge {
    position: static;
    background: rgba(220, 38, 38, 0.92);
}

.movie-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
}

.movie-card-body h3 {
    margin: 0;
    color: var(--gray-900);
    font-size: 1.12rem;
    line-height: 1.28;
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 3.1em;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--gray-600);
    font-size: 0.92rem;
}

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    color: var(--gray-500);
    font-size: 0.84rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-list span {
    border-radius: 999px;
    color: var(--red-700);
    background: var(--red-50);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 9px;
}

.compact-tags span:nth-child(n+4) {
    display: none;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 76px 120px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: 0.22s ease;
}

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

.ranking-number {
    display: grid;
    height: 100%;
    min-height: 108px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--red-600), var(--red-800));
    font-size: 2rem;
    font-weight: 950;
}

.ranking-item img {
    width: 120px;
    height: 92px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--red-100);
}

.ranking-info {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 12px 16px 12px 0;
}

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

.ranking-info em {
    color: var(--gray-600);
    font-style: normal;
}

.ranking-info small {
    color: var(--gray-500);
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--red-800), var(--red-600), var(--orange-500));
    isolation: isolate;
}

.compact-hero .container,
.category-page-hero .container {
    padding-top: 76px;
    padding-bottom: 76px;
}

.page-hero span {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    padding: 6px 12px;
    font-weight: 900;
}

.page-hero h1 {
    max-width: 820px;
    margin: 16px 0 12px;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1;
}

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

.filter-panel {
    display: grid;
    gap: 18px;
    margin-bottom: 26px;
    border: 1px solid var(--gray-200);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: 18px;
}

.filter-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) minmax(0, 2fr);
    gap: 16px;
}

.filter-search,
.filter-selects label {
    display: grid;
    gap: 7px;
    color: var(--gray-600);
    font-size: 0.86rem;
    font-weight: 800;
}

.filter-search input,
.filter-selects select {
    width: 100%;
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    outline: 0;
    background: #fff;
    padding: 11px 13px;
}

.filter-search input:focus,
.filter-selects select:focus {
    border-color: var(--red-600);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10);
}

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

.filter-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: var(--gray-600);
}

.filter-status button {
    border: 0;
    border-radius: 999px;
    color: var(--red-700);
    background: var(--red-50);
    font-weight: 900;
    padding: 8px 13px;
}

.empty-result {
    margin-top: 28px;
    border: 1px dashed var(--red-600);
    border-radius: 18px;
    color: var(--red-700);
    background: var(--red-50);
    padding: 22px;
    text-align: center;
    font-weight: 900;
}

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

.category-overview-card {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.category-cover {
    min-height: 190px;
    border-radius: 0;
}

.category-overview-body {
    padding: 20px;
}

.category-overview-body h2 {
    margin: 0 0 10px;
}

.category-overview-body p {
    margin: 0 0 14px;
    color: var(--gray-600);
}

.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-links a {
    border-radius: 999px;
    color: var(--red-700);
    background: var(--red-50);
    font-size: 0.82rem;
    padding: 5px 10px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--gray-900);
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--detail-image);
    background-position: center;
    background-size: cover;
    filter: blur(14px) saturate(0.8);
    transform: scale(1.08);
    opacity: 0.48;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.95), rgba(127, 29, 29, 0.78), rgba(17, 24, 39, 0.62));
}

.detail-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 44px;
    align-items: center;
    padding-top: 78px;
    padding-bottom: 78px;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 6px solid rgba(255, 255, 255, 0.18);
    border-radius: 26px;
    background: var(--red-100);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

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

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

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

.detail-copy h1 {
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 5rem);
    line-height: 1.02;
}

.detail-copy p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
}

.player-section {
    padding-bottom: 38px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #050505;
    box-shadow: var(--shadow-strong);
    aspect-ratio: 16 / 9;
}

.player-shell video {
    width: 100%;
    height: 100%;
    background: #000;
}

.play-trigger {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 0;
    color: #fff;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.42), rgba(0, 0, 0, 0.78));
    text-align: center;
}

.play-trigger span {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange-500), var(--pink-500));
    box-shadow: 0 20px 42px rgba(249, 115, 22, 0.35);
    font-size: 2.4rem;
}

.play-trigger strong {
    font-size: 1.5rem;
}

.play-trigger em {
    color: rgba(255, 255, 255, 0.75);
    font-style: normal;
}

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

.player-message {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: none;
    border-radius: 14px;
    color: #fff;
    background: rgba(17, 24, 39, 0.78);
    padding: 12px 14px;
    font-size: 0.9rem;
}

.player-message.is-visible {
    display: block;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
    padding-bottom: 38px;
}

.detail-article,
.detail-side-card,
.text-page {
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.detail-article h2,
.detail-side-card h2,
.text-page h2 {
    margin: 0 0 14px;
    color: var(--gray-900);
}

.detail-article p,
.text-page p {
    color: var(--gray-600);
    font-size: 1.02rem;
}

.detail-side-card dl {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px 16px;
    margin: 0;
}

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

.detail-side-card dd {
    min-width: 0;
    margin: 0;
    color: var(--gray-800);
}

.site-footer {
    margin-top: 48px;
    color: #e5e7eb;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-top: 46px;
    padding-bottom: 38px;
}

.footer-grid h3 {
    margin: 0 0 14px;
    color: #fff;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
    color: #aeb6c2;
}

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

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 18px 16px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

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

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

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

    .hero-poster {
        display: none;
    }

    .movie-grid.three-cols,
    .movie-grid.four-cols,
    .category-grid,
    .category-overview-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-main,
    .detail-content-grid {
        grid-template-columns: 1fr;
    }

    .filter-selects {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        min-height: 70px;
    }

    .brand-text strong {
        font-size: 1.05rem;
    }

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

    .hero-content {
        padding-top: 54px;
        padding-bottom: 110px;
    }

    .hero-copy h1,
    .detail-copy h1 {
        letter-spacing: -0.03em;
    }

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

    .hero-search input,
    .hero-search button {
        width: 100%;
    }

    .movie-grid.three-cols,
    .movie-grid.four-cols,
    .category-grid,
    .category-overview-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .filter-status {
        align-items: flex-start;
        flex-direction: column;
    }

    .ranking-item {
        grid-template-columns: 54px 82px minmax(0, 1fr);
        gap: 10px;
    }

    .ranking-number {
        min-height: 88px;
        font-size: 1.35rem;
    }

    .ranking-item img {
        width: 82px;
        height: 72px;
    }

    .detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

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

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

    .section-block {
        padding: 48px 0;
    }
}
