:root {
    color-scheme: light;
    --bg: #fffaf0;
    --surface: #ffffff;
    --surface-soft: #fff7e6;
    --text: #1f2937;
    --muted: #6b7280;
    --line: rgba(217, 119, 6, 0.18);
    --brand: #d97706;
    --brand-dark: #b45309;
    --brand-hot: #ef4444;
    --brand-orange: #f97316;
    --brand-yellow: #f59e0b;
    --shadow: 0 18px 45px rgba(120, 53, 15, 0.12);
    --shadow-strong: 0 28px 70px rgba(120, 53, 15, 0.2);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 10%, rgba(251, 191, 36, 0.18), transparent 34rem),
        linear-gradient(135deg, rgba(255, 251, 235, 0.88), #ffffff 36%, rgba(254, 243, 199, 0.7));
}

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

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

img.is-missing {
    opacity: 0;
}

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 30px rgba(146, 64, 14, 0.08);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    width: min(1200px, calc(100% - 32px));
    min-height: 76px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.site-logo__mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-hot), var(--brand-orange));
    box-shadow: 0 12px 26px rgba(239, 68, 68, 0.26);
}

.site-logo__text strong {
    display: block;
    font-size: 23px;
    line-height: 1;
    background: linear-gradient(90deg, #dc2626, #ea580c, #d97706);
    background-clip: text;
    color: transparent;
}

.site-logo__text small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

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

.site-nav a {
    position: relative;
    padding: 8px 2px;
    font-weight: 700;
    color: #374151;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--brand);
    transition: width 0.24s ease;
}

.site-nav a:hover {
    color: var(--brand);
}

.site-nav a:hover::after {
    width: 100%;
}

.header-search {
    position: relative;
    width: min(290px, 28vw);
}

.header-search input {
    width: 100%;
    border: 1px solid rgba(217, 119, 6, 0.24);
    border-radius: 999px;
    padding: 11px 46px 11px 18px;
    outline: none;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.header-search input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.header-search button {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--brand-yellow));
    cursor: pointer;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    color: var(--text);
    background: var(--surface-soft);
    cursor: pointer;
}

.mobile-panel {
    display: none;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
}

.mobile-panel.is-open {
    display: grid;
    gap: 8px;
}

.mobile-panel a {
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
}

.mobile-panel a:hover {
    background: var(--surface-soft);
    color: var(--brand);
}

.hero {
    position: relative;
    min-height: clamp(560px, 75vh, 780px);
    overflow: hidden;
    background: #111827;
}

.hero__slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 390px);
    align-items: center;
    gap: clamp(24px, 6vw, 78px);
    width: min(1200px, calc(100% - 32px));
    margin-inline: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transform: translateY(18px);
}

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

.hero-slide__bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 0;
    width: 100vw;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #111827, #78350f);
}

.hero-slide__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.58) 52%, rgba(17, 24, 39, 0.72)),
        linear-gradient(0deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.18));
}

.hero-slide__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: blur(2px) saturate(1.2);
    transform: scale(1.04);
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.hero-slide__eyebrow,
.detail-label {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #fff7ed;
    background: rgba(245, 158, 11, 0.22);
    border: 1px solid rgba(251, 191, 36, 0.34);
    backdrop-filter: blur(8px);
    font-weight: 800;
}

.hero-slide h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: clamp(44px, 8vw, 86px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero-slide p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.8;
}

.hero-slide__tags,
.detail-tags,
.movie-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-slide__tags {
    margin-top: 22px;
}

.hero-slide__tags span,
.detail-tags span,
.movie-card__tags span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-slide__tags span,
.detail-tags span {
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-hot), var(--brand-orange), var(--brand-yellow));
    box-shadow: 0 16px 30px rgba(249, 115, 22, 0.32);
}

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

.hero-slide__poster {
    position: relative;
    z-index: 2;
    aspect-ratio: 2 / 3;
    min-height: 420px;
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(135deg, #451a03, #f59e0b);
    box-shadow: var(--shadow-strong);
}

.hero-slide__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.hero-slide__poster span {
    position: absolute;
    left: 22px;
    bottom: 22px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(8px);
    font-weight: 900;
}

.hero-slide__poster:hover img {
    transform: scale(1.08);
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: width 0.22s ease, background 0.22s ease;
}

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

.quick-cats {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-top: -48px;
}

.category-card {
    position: relative;
    min-height: 150px;
    overflow: hidden;
    border-radius: 22px;
    padding: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #92400e, #f59e0b);
    box-shadow: var(--shadow);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
    transition: transform 0.35s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.1));
}

.category-card span,
.category-card strong,
.category-card small {
    position: relative;
    z-index: 1;
    display: block;
}

.category-card span {
    font-size: 22px;
    font-weight: 900;
}

.category-card strong {
    margin-top: 8px;
    font-size: 13px;
    color: #fde68a;
}

.category-card small {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}

.category-card:hover img {
    transform: scale(1.1);
}

.section-block {
    margin-top: 70px;
}

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

.section-heading span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

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

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

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

.movie-grid--compact,
.movie-grid--dense {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(217, 119, 6, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 28px rgba(120, 53, 15, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.36);
    box-shadow: var(--shadow);
}

.movie-card__cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.2;
    overflow: hidden;
    background:
        radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.38), transparent 12rem),
        linear-gradient(135deg, #7c2d12, #f59e0b);
}

.movie-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.42s ease;
}

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

.movie-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.38), transparent 56%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .movie-card__cover::after {
    opacity: 1;
}

.movie-card__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: auto;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(245, 158, 11, 0.92);
    opacity: 0;
    transform: scale(0.78);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .movie-card__play {
    opacity: 1;
    transform: scale(1);
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 18px rgba(239, 68, 68, 0.28);
}

.movie-card__body {
    padding: 16px;
}

.movie-card__meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.movie-card__meta span,
.detail-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.1);
}

.movie-card h3 {
    margin: 11px 0 8px;
    font-size: 18px;
    line-height: 1.34;
}

.movie-card h3 a:hover {
    color: var(--brand);
}

.movie-card p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 12px;
    overflow: hidden;
    color: #5b6472;
    font-size: 14px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card__tags span {
    color: #92400e;
    background: #fff7ed;
}

.movie-card--compact .movie-card__body {
    padding: 12px;
}

.movie-card--compact h3 {
    font-size: 15px;
}

.movie-card--compact p {
    min-height: 38px;
    font-size: 12px;
}

.two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.two-columns--rank {
    grid-template-columns: 360px minmax(0, 1fr);
}

.rank-panel {
    border: 1px solid rgba(217, 119, 6, 0.14);
    border-radius: 26px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.rank-panel--sticky {
    position: sticky;
    top: 100px;
}

.rank-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.rank-panel__head h2 {
    margin: 0;
    font-size: 22px;
}

.rank-panel__head a,
.text-link {
    color: var(--brand);
    font-weight: 900;
}

.rank-list {
    display: grid;
    gap: 8px;
}

.rank-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border-radius: 15px;
    background: #fffaf0;
}

.rank-row:hover {
    background: #fef3c7;
}

.rank-row__num {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-hot), var(--brand-yellow));
    font-weight: 900;
}

.rank-row__title {
    overflow: hidden;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-row__meta {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.page-hero {
    padding: 66px 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.22), transparent 28rem),
        linear-gradient(135deg, #b45309, #ef4444, #f59e0b);
}

.page-hero--rank {
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.24), transparent 28rem),
        linear-gradient(135deg, #581c87, #db2777, #f97316);
}

.page-hero--search {
    background:
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.18), transparent 28rem),
        linear-gradient(135deg, #0f766e, #2563eb, #f59e0b);
}

.page-hero--category {
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.2), transparent 24rem),
        linear-gradient(135deg, #7c2d12, #d97706, #f59e0b);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb a::after {
    content: "/";
    margin-left: 8px;
    color: currentColor;
    opacity: 0.55;
}

.breadcrumb--light {
    color: rgba(255, 255, 255, 0.82);
}

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

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

.page-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.page-hero__stats span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.filter-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid rgba(217, 119, 6, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 38px rgba(120, 53, 15, 0.08);
}

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

.filter-panel input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(217, 119, 6, 0.24);
    border-radius: 999px;
    padding: 13px 18px;
    outline: none;
}

.filter-panel input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.filter-panel button {
    border: none;
    border-radius: 999px;
    padding: 0 18px;
    color: #ffffff;
    background: var(--brand);
    cursor: pointer;
}

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

.filter-panel__links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #92400e;
    background: #fff7ed;
    font-weight: 800;
}

.filter-panel__links small {
    color: var(--muted);
}

.result-count,
.search-summary {
    margin-bottom: 18px;
    color: var(--muted);
    font-weight: 800;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
    border: 1px solid rgba(217, 119, 6, 0.14);
    border-radius: 24px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 34px rgba(120, 53, 15, 0.08);
}

.category-overview-card__image {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, #7c2d12, #f59e0b);
}

.category-overview-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overview-card span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
}

.category-overview-card h2 {
    margin: 6px 0 8px;
    font-size: 20px;
}

.category-overview-card p {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--muted);
    line-height: 1.6;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.search-page-form {
    display: flex;
    gap: 12px;
    max-width: 760px;
    margin-top: 28px;
}

.search-page-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    padding: 15px 20px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    outline: none;
    backdrop-filter: blur(8px);
}

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

.search-page-form button {
    border: none;
    border-radius: 999px;
    padding: 0 24px;
    color: #0f172a;
    background: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.detail-page {
    background: linear-gradient(180deg, #111827 0, #111827 680px, transparent 680px);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 38px 0 54px;
    color: #ffffff;
}

.detail-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #111827, #7c2d12);
}

.detail-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.62)),
        linear-gradient(0deg, #111827, rgba(17, 24, 39, 0.3));
}

.detail-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
    filter: blur(2px) saturate(1.18);
    transform: scale(1.04);
}

.detail-hero__inner {
    position: relative;
    z-index: 1;
}

.detail-hero__content {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: clamp(24px, 5vw, 58px);
    align-items: center;
}

.detail-hero__poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(135deg, #7c2d12, #f59e0b);
    box-shadow: var(--shadow-strong);
}

.detail-hero__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero__poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(8px);
    font-weight: 900;
}

.detail-hero h1 {
    max-width: 880px;
    margin: 0 0 18px;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.detail-hero p {
    max-width: 860px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
    line-height: 1.8;
}

.detail-meta {
    margin-bottom: 18px;
}

.detail-meta span {
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.14);
}

.detail-tags {
    margin-bottom: 24px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
    margin-top: 34px;
}

.detail-main,
.detail-side {
    display: grid;
    gap: 22px;
}

.player-card,
.content-card,
.side-card {
    border: 1px solid rgba(217, 119, 6, 0.14);
    border-radius: 26px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.player-card h2,
.content-card h2,
.side-card h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.content-card p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.9;
}

.video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 22px;
    background: #000000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.video-player__cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    color: #ffffff;
    background:
        radial-gradient(circle at 50% 45%, rgba(245, 158, 11, 0.16), transparent 17rem),
        rgba(0, 0, 0, 0.38);
    cursor: pointer;
}

.video-player.is-playing .video-player__cover {
    opacity: 0;
    pointer-events: none;
}

.video-player__icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-hot), var(--brand-yellow));
    box-shadow: 0 18px 32px rgba(245, 158, 11, 0.32);
    font-size: 28px;
}

.video-player__status {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    min-height: 0;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

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

.side-card dt {
    color: var(--muted);
    font-weight: 800;
}

.side-card dd {
    margin: 0;
    font-weight: 700;
}

.side-card .text-link {
    display: block;
    margin-top: 10px;
}

.site-footer {
    margin-top: 90px;
    padding-top: 48px;
    background: linear-gradient(135deg, #fff7ed, #ffffff);
    border-top: 1px solid var(--line);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
}

.footer-logo {
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 900;
    color: var(--brand-dark);
}

.site-footer p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: #4b5563;
}

.site-footer a:hover {
    color: var(--brand);
}

.site-footer__bottom {
    margin-top: 36px;
    padding: 18px;
    color: var(--muted);
    text-align: center;
    border-top: 1px solid var(--line);
}

.is-hidden {
    display: none !important;
}

@media (max-width: 1100px) {
    .quick-cats {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

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

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .hero {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        padding: 52px 0 92px;
    }

    .hero-slide__poster {
        width: min(290px, 72vw);
        min-height: auto;
        justify-self: center;
    }

    .two-columns,
    .two-columns--rank,
    .detail-layout,
    .detail-hero__content,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .rank-panel--sticky {
        position: static;
    }

    .detail-hero__poster {
        width: min(300px, 72vw);
    }
}

@media (max-width: 700px) {
    .site-header__inner {
        min-height: 66px;
    }

    .site-logo__mark {
        width: 40px;
        height: 40px;
    }

    .site-logo__text strong {
        font-size: 18px;
    }

    .site-logo__text small {
        display: none;
    }

    .quick-cats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -34px;
    }

    .movie-grid,
    .movie-grid--featured,
    .movie-grid--compact,
    .movie-grid--dense,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .movie-card__body {
        padding: 12px;
    }

    .movie-card h3 {
        font-size: 15px;
    }

    .movie-card p {
        font-size: 12px;
    }

    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .filter-panel__search,
    .search-page-form {
        flex-direction: column;
    }

    .filter-panel button,
    .search-page-form button {
        min-height: 44px;
    }

    .page-hero,
    .detail-hero {
        padding: 42px 0;
    }

    .player-card,
    .content-card,
    .side-card {
        padding: 16px;
        border-radius: 20px;
    }
}

@media (max-width: 420px) {
    .movie-grid,
    .movie-grid--featured,
    .movie-grid--compact,
    .movie-grid--dense {
        grid-template-columns: 1fr;
    }

    .quick-cats {
        grid-template-columns: 1fr;
    }
}
