:root {
    --red: #ef4444;
    --orange: #f97316;
    --pink: #ec4899;
    --rose: #fb7185;
    --amber: #f59e0b;
    --slate: #334155;
    --violet: #8b5cf6;
    --cyan: #06b6d4;
    --emerald: #10b981;
    --text: #1f2937;
    --muted: #6b7280;
    --soft: #fff7ed;
    --card: #ffffff;
    --line: rgba(15, 23, 42, 0.08);
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 30px 80px rgba(15, 23, 42, 0.22);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 45%, #fdf2f8 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.top-nav {
    width: min(1200px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--red), var(--orange), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.brand-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    background: linear-gradient(135deg, var(--red), var(--orange), var(--pink));
    box-shadow: 0 12px 25px rgba(239, 68, 68, 0.32);
}

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

.nav-link,
.mobile-link {
    color: #374151;
    font-weight: 700;
    transition: color 0.25s ease, background 0.25s ease;
}

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

.nav-search {
    position: relative;
    width: 260px;
}

.movie-search-input,
.page-filter-input {
    width: 100%;
    border: 1px solid rgba(249, 115, 22, 0.18);
    outline: none;
    border-radius: 999px;
    background: #fff7ed;
    color: var(--text);
    padding: 12px 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
    transition: border 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.movie-search-input:focus,
.page-filter-input:focus {
    border-color: rgba(239, 68, 68, 0.5);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.search-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(420px, 92vw);
    max-height: 520px;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-strong);
}

.search-result {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.search-result:hover {
    background: #fff7ed;
    transform: translateY(-1px);
}

.search-result img {
    width: 54px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(135deg, #fee2e2, #fed7aa);
}

.search-result strong {
    display: block;
    font-size: 15px;
    color: var(--text);
}

.search-result span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.empty-search {
    margin: 0;
    padding: 18px;
    color: var(--muted);
    text-align: center;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    color: var(--text);
    background: #fff7ed;
    cursor: pointer;
}

.mobile-nav {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-search-wrap {
    position: relative;
    margin-bottom: 12px;
}

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

.mobile-link:hover,
.mobile-link.is-active {
    background: #fff7ed;
}

.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    color: #ffffff;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    filter: saturate(1.12);
    transition: background-image 0.5s ease;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 78% 22%, rgba(236, 72, 153, 0.42), transparent 34%), linear-gradient(115deg, rgba(0, 0, 0, 0.72), rgba(127, 29, 29, 0.58) 46%, rgba(249, 115, 22, 0.32));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(255, 247, 237, 0.98) 100%);
}

.hero-inner {
    width: min(1200px, calc(100% - 32px));
    min-height: 640px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 48px;
    align-items: center;
    padding: 72px 0 90px;
}

.hero-copy {
    max-width: 720px;
    animation: fadeUp 0.8s ease both;
}

.eyebrow,
.section-heading span,
.page-hero span,
.ranking-head span,
.hero-panel-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    border-radius: 999px;
    padding: 8px 16px;
    color: #991b1b;
    background: linear-gradient(90deg, #fee2e2, #ffedd5);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-copy h1 {
    margin: 24px 0 16px;
    font-size: clamp(44px, 7vw, 82px);
    line-height: 0.96;
    letter-spacing: -0.07em;
}

.hero-lead {
    max-width: 640px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(18px, 2.2vw, 25px);
}

.hero-highlight {
    margin: 0 0 28px;
    max-width: 640px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.hero-highlight span {
    display: block;
    color: #fed7aa;
    font-size: 14px;
    font-weight: 800;
}

.hero-highlight a {
    display: inline-block;
    margin: 4px 0;
    font-size: 26px;
    font-weight: 900;
}

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

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

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

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

.btn-light {
    color: var(--red);
    background: #ffffff;
    box-shadow: 0 18px 35px rgba(255, 255, 255, 0.2);
}

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

.hero-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-cats a {
    padding: 9px 15px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.22s ease, color 0.22s ease;
}

.hero-cats a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.24);
}

.hero-panel {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-strong);
}

.hero-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.hero-panel-head strong {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
}

.hero-focus-list {
    display: grid;
    gap: 12px;
}

.hero-focus-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.25s ease, background 0.25s ease, border 0.25s ease;
}

.hero-focus-card:hover,
.hero-focus-card.is-active {
    transform: translateX(-4px);
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.32);
}

.hero-focus-card img {
    grid-row: span 3;
    width: 86px;
    height: 112px;
    object-fit: cover;
    border-radius: 16px;
    background: linear-gradient(135deg, #fee2e2, #fed7aa);
}

.hero-focus-card span,
.hero-focus-card em {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-style: normal;
}

.hero-focus-card strong {
    color: #ffffff;
    font-size: 18px;
}

.content-section {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading h2 {
    margin: 16px 0 10px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--card);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #fee2e2, #fed7aa);
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.66));
    opacity: 0.82;
}

.poster-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 44px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.poster-region,
.rank-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--red), var(--orange));
}

.rank-badge {
    right: auto;
    left: 12px;
    background: linear-gradient(90deg, var(--orange), var(--pink));
}

.movie-card-body {
    padding: 18px;
}

.movie-card h3 {
    margin: 0 0 7px;
    font-size: 18px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.22s ease;
}

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

.movie-card-meta,
.movie-card-desc {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.movie-card-desc {
    margin-top: 10px;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.movie-tags span {
    padding: 4px 8px;
    border-radius: 999px;
    color: #9f1239;
    font-size: 12px;
    background: #ffe4e6;
}

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

.category-tile {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    padding: 28px;
    border-radius: 28px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange), var(--pink));
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-tile span {
    display: block;
    font-size: 28px;
    font-weight: 900;
}

.category-tile p {
    max-width: 62%;
    color: rgba(255, 255, 255, 0.86);
}

.category-tile strong {
    display: inline-flex;
    margin-top: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.category-covers {
    position: absolute;
    right: 22px;
    bottom: 20px;
    display: flex;
    align-items: flex-end;
}

.category-covers img {
    width: 72px;
    height: 96px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
    transform: rotate(-7deg);
}

.category-covers img + img {
    margin-left: -22px;
    transform: rotate(4deg) translateY(-8px);
}

.category-covers img + img + img {
    transform: rotate(12deg) translateY(-16px);
}

.accent-orange { background: linear-gradient(135deg, #f97316, #fb7185); }
.accent-pink { background: linear-gradient(135deg, #ec4899, #f97316); }
.accent-violet { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.accent-slate { background: linear-gradient(135deg, #334155, #ef4444); }
.accent-amber { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.accent-rose { background: linear-gradient(135deg, #fb7185, #ec4899); }
.accent-cyan { background: linear-gradient(135deg, #06b6d4, #8b5cf6); }
.accent-emerald { background: linear-gradient(135deg, #10b981, #f97316); }
.accent-fuchsia { background: linear-gradient(135deg, #d946ef, #ef4444); }

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

.wide-column .section-heading {
    margin-left: 0;
    text-align: left;
}

.ranking-card {
    position: sticky;
    top: 96px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

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

.ranking-head a {
    color: var(--red);
    font-weight: 900;
}

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

.mini-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 13px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 25px rgba(15, 23, 42, 0.1);
}

.mini-card img {
    width: 64px;
    height: 86px;
    object-fit: cover;
    border-radius: 14px;
    background: linear-gradient(135deg, #fee2e2, #fed7aa);
}

.mini-card strong {
    display: block;
    line-height: 1.3;
}

.mini-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.mini-rank {
    width: fit-content;
    margin-bottom: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    color: #ffffff !important;
    background: linear-gradient(90deg, var(--red), var(--orange));
    font-weight: 900;
}

.search-feature-box {
    padding: clamp(34px, 6vw, 66px);
    border-radius: 34px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(120deg, var(--red), var(--orange), var(--pink));
    box-shadow: var(--shadow-strong);
}

.search-feature-box h2 {
    max-width: 820px;
    margin: 12px auto 28px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.15;
}

.search-feature-box span {
    font-weight: 900;
    opacity: 0.86;
}

.large-search {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

.large-search .movie-search-input {
    height: 58px;
    background: #ffffff;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(120deg, var(--red), var(--orange), var(--pink));
}

.page-hero-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 80px 0;
}

.page-hero h1 {
    max-width: 900px;
    margin: 18px 0 12px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.page-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.82);
}

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

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

.category-overview-card {
    border-radius: 30px;
    color: #ffffff;
    box-shadow: var(--shadow);
}

.category-overview-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: center;
    padding: 30px;
}

.overview-covers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.overview-covers img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.22);
}

.category-overview-main h2 {
    margin: 8px 0;
    font-size: 38px;
}

.category-overview-main p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
}

.category-overview-main strong {
    display: inline-flex;
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.overview-samples {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 0 30px 30px;
}

.filter-toolbar {
    position: sticky;
    top: 84px;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(240px, 360px) 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 32px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

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

.filter-pill {
    border: none;
    border-radius: 999px;
    padding: 10px 15px;
    color: #475569;
    background: #fff7ed;
    cursor: pointer;
    font-weight: 800;
    transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.filter-pill:hover,
.filter-pill.is-active {
    color: #ffffff;
    background: linear-gradient(90deg, var(--red), var(--orange));
    transform: translateY(-1px);
}

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

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

.podium-card {
    overflow: hidden;
    border-radius: 30px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange), var(--pink));
    box-shadow: var(--shadow);
}

.podium-card span {
    display: inline-flex;
    margin: 24px 24px 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 900;
}

.podium-card img {
    width: calc(100% - 48px);
    aspect-ratio: 16 / 10;
    margin: 18px 24px;
    object-fit: cover;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.2);
}

.podium-card h2,
.podium-card p {
    margin-left: 24px;
    margin-right: 24px;
}

.podium-card p {
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.84);
}

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

.ranking-list.large {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.detail-hero {
    min-height: 720px;
    background: #111827;
    isolation: isolate;
}

.detail-bg,
.detail-shade {
    position: absolute;
    inset: 0;
}

.detail-bg {
    z-index: -3;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    filter: blur(8px) saturate(1.14);
}

.detail-shade {
    z-index: -2;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.88), rgba(127, 29, 29, 0.68), rgba(249, 115, 22, 0.36));
}

.detail-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 78px;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #000000;
    box-shadow: var(--shadow-strong);
}

.movie-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    cursor: pointer;
}

.play-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: none;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.68));
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.play-circle {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--red);
    background: #ffffff;
    font-size: 32px;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
}

.play-cover strong {
    max-width: 80%;
    font-size: clamp(24px, 3.4vw, 42px);
    line-height: 1.1;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}

.detail-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-strong);
}

.detail-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.18);
}

.detail-card-body {
    padding: 24px;
}

.detail-card h1 {
    margin: 16px 0 12px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
}

.detail-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.detail-tags span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.detail-content {
    display: grid;
    gap: 24px;
    padding-top: 64px;
}

.article-card,
.info-strip {
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.article-card {
    padding: clamp(24px, 4vw, 40px);
}

.article-card h2 {
    margin: 0 0 16px;
    font-size: 28px;
}

.article-card p {
    margin: 0;
    color: #374151;
    font-size: 18px;
}

.info-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px;
}

.info-strip span {
    padding: 9px 14px;
    border-radius: 999px;
    color: #9f1239;
    background: #ffe4e6;
    font-weight: 800;
}

.site-footer {
    margin-top: 48px;
    padding: 48px 0;
    background: rgba(255, 255, 255, 0.72);
    border-top: 1px solid var(--line);
}

.footer-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-inner p {
    margin: 0;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 16px;
    color: var(--muted);
    font-weight: 800;
}

.footer-links a:hover {
    color: var(--red);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .nav-search {
        width: 220px;
    }

    .hero-inner,
    .detail-layout,
    .two-column-section {
        grid-template-columns: 1fr;
    }

    .hero-panel,
    .ranking-card {
        position: static;
    }

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

@media (max-width: 820px) {
    .top-nav {
        height: auto;
        min-height: 68px;
    }

    .desktop-nav,
    .nav-search {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .hero-inner {
        min-height: auto;
        padding: 54px 0 74px;
    }

    .hero {
        min-height: auto;
    }

    .hero-panel {
        padding: 14px;
    }

    .hero-focus-card {
        grid-template-columns: 72px 1fr;
    }

    .hero-focus-card img {
        width: 72px;
        height: 96px;
    }

    .category-grid,
    .overview-samples,
    .podium-grid,
    .ranking-list.large {
        grid-template-columns: 1fr;
    }

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

    .filter-toolbar {
        position: static;
        grid-template-columns: 1fr;
    }

    .detail-layout {
        gap: 22px;
    }

    .detail-card {
        display: grid;
        grid-template-columns: 130px 1fr;
    }

    .detail-card img {
        height: 100%;
    }
}

@media (max-width: 620px) {
    .brand {
        font-size: 20px;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
    }

    .hero-actions,
    .footer-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

    .movie-card-body {
        padding: 14px;
    }

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

    .movie-card-desc {
        display: none;
    }

    .category-tile {
        min-height: 250px;
    }

    .category-tile p {
        max-width: 100%;
    }

    .category-covers {
        right: 16px;
        bottom: 14px;
    }

    .category-covers img {
        width: 56px;
        height: 76px;
    }

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

    .page-hero-inner {
        padding: 54px 0;
    }

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