:root {
    --red: #ef4444;
    --red-dark: #dc2626;
    --pink: #ec4899;
    --pink-dark: #db2777;
    --orange: #f97316;
    --mint: #10b981;
    --cool: #06b6d4;
    --ink: #111827;
    --muted: #6b7280;
    --soft: #fff1f2;
    --line: #fee2e2;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: linear-gradient(135deg, #fff1f2 0%, #fdf2f8 42%, #ffffff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body.is-menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(254, 202, 202, 0.6);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(248, 113, 113, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.brand-mark {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--red), var(--pink));
    box-shadow: 0 14px 28px rgba(236, 72, 153, 0.26);
}

.brand-text {
    font-size: 1.35rem;
    background: linear-gradient(90deg, var(--red-dark), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    position: relative;
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 3px;
    content: "";
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red), var(--pink));
    opacity: 0;
    transform: translateY(4px);
    transition: 0.2s ease;
}

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

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

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

.header-search input,
.mobile-search input,
.quick-search input,
.search-panel input,
.search-panel select {
    width: 100%;
    border: 1px solid #fecaca;
    border-radius: 999px;
    outline: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 230px;
    padding: 10px 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.quick-search input:focus,
.search-panel input:focus,
.search-panel select:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.14);
}

.header-search button,
.mobile-search button,
.quick-search button,
.search-panel button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(90deg, var(--red), var(--pink));
    box-shadow: 0 12px 25px rgba(236, 72, 153, 0.22);
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    background: #fff1f2;
    cursor: pointer;
}

.mobile-menu-button span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--red-dark);
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-panel nav {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 14px;
    color: #374151;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.72);
}

.mobile-link.is-active {
    color: var(--red-dark);
    background: #ffe4e6;
}

.hero-carousel {
    position: relative;
    height: 640px;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    filter: saturate(1.08);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 30%, rgba(236, 72, 153, 0.38), transparent 30%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.72) 48%, rgba(17, 24, 39, 0.22));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1180px, calc(100% - 32px));
    transform: translate(-50%, -50%);
}

.eyebrow,
.section-kicker {
    margin: 0 0 12px;
    color: var(--red-dark);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-content .eyebrow {
    color: #fecdd3;
}

.hero-content h1 {
    max-width: 720px;
    margin: 0 0 20px;
    font-size: clamp(2.7rem, 7vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-summary {
    max-width: 680px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}

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

.hero-tags span,
.card-tags span,
.tag-links a,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.hero-actions,
.page-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--red), var(--pink));
    box-shadow: 0 20px 38px rgba(236, 72, 153, 0.34);
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(10px);
}

.btn-light {
    color: var(--red-dark);
    background: #ffffff;
    border: 1px solid #fecaca;
}

.hero-controls {
    position: absolute;
    right: 50%;
    bottom: 28px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
}

.hero-arrow {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.38);
    cursor: pointer;
    backdrop-filter: blur(8px);
    font-size: 2rem;
    line-height: 1;
}

.hero-dots {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px;
}

.hero-dot {
    min-width: 120px;
    max-width: 180px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    color: rgba(255, 255, 255, 0.86);
    text-overflow: ellipsis;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
}

.hero-dot.is-active {
    color: #ffffff;
    background: linear-gradient(90deg, var(--red), var(--pink));
}

.quick-search-section {
    position: relative;
    z-index: 2;
    margin-top: -46px;
    padding: 0 16px;
}

.section-inner,
.content-section,
.split-section,
.detail-layout {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.quick-search-card {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 430px);
    gap: 28px;
    align-items: center;
    border: 1px solid #fecaca;
    border-radius: 28px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.quick-search-card h2 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.quick-search-card p {
    margin: 0;
    color: var(--muted);
}

.quick-search input {
    padding: 14px 18px;
}

.quick-search button {
    min-width: 112px;
    padding: 14px 20px;
}

.content-section,
.split-section {
    padding: 72px 0;
}

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

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

.section-heading.small {
    margin-bottom: 18px;
}

.section-heading h2,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted);
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(254, 202, 202, 0.74);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(236, 72, 153, 0.42);
    box-shadow: 0 26px 48px rgba(236, 72, 153, 0.18);
}

.card-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #fee2e2, #fdf2f8);
}

.card-poster img,
.detail-poster img,
.category-tile img,
.list-card figure img,
.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.movie-card:hover .card-poster img,
.category-tile:hover img,
.list-card:hover figure img {
    transform: scale(1.08);
}

.card-poster::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 42%, rgba(17, 24, 39, 0.72));
}

.card-poster figcaption,
.card-year {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 10px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(8px);
}

.card-poster figcaption {
    top: 12px;
    left: 12px;
}

.card-year {
    right: 12px;
    bottom: 12px;
}

.card-body {
    padding: 18px;
}

.card-body h2 {
    display: -webkit-box;
    min-height: 56px;
    margin: 8px 0;
    overflow: hidden;
    color: var(--ink);
    font-size: 1.12rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-body p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    display: flex;
    gap: 8px;
    color: var(--red-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

.card-meta span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-tags span,
.tag-links a {
    color: var(--red-dark);
    background: #fff1f2;
}

.category-section {
    padding: 72px 16px;
    background: linear-gradient(135deg, #fff1f2, #fdf2f8 52%, #ffffff);
}

.category-grid,
.category-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.category-tile {
    position: relative;
    min-height: 238px;
    overflow: hidden;
    border: 1px solid #fecaca;
    border-radius: 26px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(248, 113, 113, 0.12);
}

.category-tile img {
    position: absolute;
    right: -20px;
    bottom: -34px;
    width: 140px;
    height: 190px;
    border-radius: 18px;
    opacity: 0.24;
    transform: rotate(7deg);
}

.category-icon {
    display: inline-grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 16px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--red), var(--pink));
}

.category-tile strong,
.category-overview-card h2 {
    display: block;
    margin: 0 0 8px;
    font-size: 1.24rem;
}

.category-tile em {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--red-dark);
    font-style: normal;
    font-weight: 900;
}

.category-tile p,
.category-overview-card p {
    margin: 0;
    color: var(--muted);
}

.split-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}

.panel {
    border: 1px solid rgba(254, 202, 202, 0.74);
    border-radius: 28px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(17, 24, 39, 0.08);
}

.panel-pink {
    background: linear-gradient(135deg, #fff7f7, #ffffff);
}

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

.ranking-list.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.list-card a {
    display: grid;
    grid-template-columns: auto 92px 1fr;
    gap: 14px;
    align-items: center;
    border: 1px solid rgba(254, 202, 202, 0.68);
    border-radius: 18px;
    padding: 12px;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.list-card a:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(236, 72, 153, 0.14);
}

.rank-no {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--red), var(--pink));
}

.list-card figure {
    width: 92px;
    height: 58px;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #ffe4e6;
}

.list-card h2 {
    margin: 0 0 4px;
    overflow: hidden;
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-card p {
    display: -webkit-box;
    margin: 0 0 6px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.86rem;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.list-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #9ca3af;
    font-size: 0.78rem;
    font-weight: 700;
}

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

.movie-card.is-compact .card-body h2 {
    min-height: auto;
    font-size: 1rem;
}

.movie-card.is-compact .card-body p,
.movie-card.is-compact .card-tags {
    display: none;
}

.cta-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 80px;
    border-radius: 34px;
    padding: 54px;
    color: #ffffff;
    text-align: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.28), transparent 24%),
        linear-gradient(135deg, var(--red), var(--pink));
    box-shadow: var(--shadow);
}

.cta-section .section-kicker {
    color: #ffe4e6;
}

.cta-section h2 {
    max-width: 860px;
    margin: 0 auto 24px;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.18;
}

.page-hero {
    padding: 86px 16px;
    background: linear-gradient(135deg, #fff1f2, #fdf2f8 52%, #ffffff);
}

.ranking-hero {
    background: linear-gradient(135deg, #fef2f2, #fff7ed 58%, #ffffff);
}

.search-hero {
    background: linear-gradient(135deg, #fff1f2, #f0f9ff 58%, #ffffff);
}

.page-hero-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.page-hero p:not(.section-kicker) {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.count-label {
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--red-dark);
    font-weight: 900;
    background: #fff1f2;
}

.category-overview-card {
    border: 1px solid #fecaca;
    border-radius: 26px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.07);
}

.category-overview-card strong {
    display: inline-block;
    margin-top: 12px;
    color: var(--red-dark);
}

.category-overview-card ul {
    margin: 18px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid #fee2e2;
    list-style: none;
}

.category-overview-card li + li {
    margin-top: 8px;
}

.category-overview-card li a {
    display: block;
    overflow: hidden;
    color: #4b5563;
    font-size: 0.92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 42px;
}

.page-button,
.page-number,
.page-ellipsis {
    display: inline-grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #fecaca;
    border-radius: 13px;
    padding: 0 14px;
    color: #374151;
    font-weight: 900;
    background: #ffffff;
}

.page-number.is-current {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--red), var(--pink));
}

.ranking-subheading {
    margin-top: 56px;
}

.search-panel {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 32px;
    border: 1px solid #fecaca;
    border-radius: 26px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 35px rgba(17, 24, 39, 0.08);
}

.search-panel input,
.search-panel select {
    height: 48px;
    padding: 0 16px;
}

.search-empty {
    margin: 52px auto;
    text-align: center;
}

.search-empty h2 {
    margin-bottom: 8px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 68px 16px;
    color: #ffffff;
    background: #111827;
}

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

.detail-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 28%, rgba(236, 72, 153, 0.36), transparent 28%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.78));
}

.detail-inner {
    position: relative;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: center;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 5px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: linear-gradient(135deg, #fee2e2, #fdf2f8);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

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

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

.detail-copy h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 5.2rem);
}

.detail-copy .section-kicker {
    color: #fecdd3;
}

.detail-one-line {
    max-width: 820px;
    margin: 18px 0 20px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.16rem;
}

.detail-meta span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding: 58px 0 84px;
}

.player-section,
.text-card,
.side-card {
    border: 1px solid rgba(254, 202, 202, 0.74);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
}

.player-section {
    overflow: hidden;
    padding: 0;
    background: #000000;
}

.movie-player {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.movie-player video {
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #111827;
}

.player-cover::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.28), rgba(17, 24, 39, 0.74));
}

.play-circle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 999px;
    color: var(--red-dark);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
    font-size: 2.2rem;
    text-indent: 6px;
}

.player-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.text-card,
.side-card {
    margin-top: 22px;
    padding: 28px;
}

.text-card h2,
.side-card h2 {
    margin: 0 0 16px;
    font-size: 1.4rem;
}

.text-card p {
    margin: 0;
    color: #374151;
    font-size: 1.02rem;
}

.info-list {
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
}

.info-list div {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #fee2e2;
}

.info-list dt {
    color: var(--muted);
    font-weight: 900;
}

.info-list dd {
    margin: 0;
}

.detail-side {
    position: relative;
}

.side-card {
    position: sticky;
    top: 96px;
}

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

.side-list .movie-card {
    border-radius: 18px;
}

.side-list .card-poster {
    display: none;
}

.side-list .card-body {
    padding: 14px;
}

.side-list .card-body h2 {
    min-height: auto;
    margin: 4px 0;
    font-size: 1rem;
}

.side-list .card-body p,
.side-list .card-tags {
    display: none;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1f2937);
}

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

.brand-footer .brand-text {
    color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.footer-brand p,
.footer-column p {
    color: #9ca3af;
}

.footer-column h2 {
    margin: 0 0 14px;
    color: #fecdd3;
    font-size: 1.05rem;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li + li {
    margin-top: 8px;
}

.footer-column a:hover {
    color: #fda4af;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding: 18px;
    color: #9ca3af;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

img.image-error {
    opacity: 0;
}

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

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

    body.is-menu-open .mobile-panel {
        display: block;
    }

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

    .split-section,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .side-card {
        position: static;
    }

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

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

    .brand-text {
        font-size: 1.12rem;
    }

    .hero-carousel {
        height: 610px;
    }

    .hero-content {
        top: 46%;
    }

    .hero-controls {
        align-items: flex-end;
    }

    .hero-dots {
        max-width: calc(100vw - 130px);
    }

    .quick-search-card,
    .detail-inner,
    .search-panel {
        grid-template-columns: 1fr;
    }

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

    .movie-grid,
    .mini-grid,
    .category-grid,
    .category-overview-grid,
    .ranking-list.two-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-section,
    .content-section {
        padding: 48px 0;
    }

    .list-card a {
        grid-template-columns: auto 74px 1fr;
    }

    .list-card figure {
        width: 74px;
        height: 52px;
    }

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

    .cta-section {
        padding: 34px 20px;
    }
}

@media (max-width: 520px) {
    .movie-grid,
    .mini-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .page-actions,
    .detail-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .detail-copy h1 {
        font-size: 2.4rem;
    }

    .info-list div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}
