:root {
    color-scheme: light;
    --bg: #f8fafc;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --white: #ffffff;
    --dark: #020617;
    --slate: #0f172a;
    --red: #ef4444;
    --orange: #f97316;
    --rose: #f43f5e;
    --cyan: #06b6d4;
    --blue: #2563eb;
    --violet: #7c3aed;
    --green: #10b981;
    --amber: #f59e0b;
    --radius: 18px;
    --shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

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: 40;
    color: #ffffff;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(12px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.brand span:last-child,
.footer-brand span:last-child {
    font-size: 22px;
    background: linear-gradient(90deg, #f87171, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.32);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 15px;
    font-weight: 650;
}

.nav-link {
    position: relative;
    color: #e2e8f0;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #f87171;
}

.nav-link.is-active::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red), var(--orange));
    content: "";
}

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

.header-search input,
.mobile-search input {
    width: 210px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    outline: none;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    padding: 10px 14px;
}

.header-search button,
.mobile-search button,
.hero-search button {
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    padding: 10px 16px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: #ffffff;
}

.mobile-nav {
    display: none;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding: 12px 16px 18px;
    background: rgba(15, 23, 42, 0.98);
}

.mobile-nav.is-open {
    display: block;
}

.mobile-link {
    display: block;
    border-radius: 10px;
    padding: 11px 12px;
    color: #e2e8f0;
    font-weight: 650;
}

.mobile-link:hover,
.mobile-link.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #fb7185;
}

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

.mobile-search input {
    flex: 1;
    width: auto;
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 20% 10%, rgba(6, 182, 212, 0.36), transparent 28%), radial-gradient(circle at 80% 0%, rgba(239, 68, 68, 0.24), transparent 30%), linear-gradient(135deg, #020617, #172554 52%, #064e3b);
    padding: 90px 0 84px;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.38) 1px, transparent 0);
    background-size: 32px 32px;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 42px;
    align-items: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eyebrow {
    margin-bottom: 18px;
    color: #cffafe;
    background: rgba(6, 182, 212, 0.14);
    border: 1px solid rgba(103, 232, 249, 0.24);
    padding: 8px 13px;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 74px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    max-width: 760px;
    background: linear-gradient(90deg, #cffafe, #bfdbfe, #fed7aa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    margin: 22px 0 0;
    max-width: 660px;
    color: #cffafe;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.75;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 13px;
    padding: 12px 18px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 18px 36px rgba(239, 68, 68, 0.28);
}

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

.btn-block {
    width: 100%;
}

.hero-search {
    margin-top: 26px;
    width: min(100%, 620px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.36);
    padding: 8px;
    backdrop-filter: blur(10px);
}

.hero-search input {
    flex: 1;
    min-width: 160px;
    border: 0;
    outline: none;
    color: #ffffff;
    background: transparent;
    padding: 10px 14px;
}

.hero-search input::placeholder,
.header-search input::placeholder,
.mobile-search input::placeholder {
    color: #94a3b8;
}

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

.hero-card {
    position: relative;
    overflow: hidden;
    min-height: 218px;
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.36);
    transform: translateZ(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:nth-child(2),
.hero-card:nth-child(3) {
    transform: translateY(28px);
}

.hero-card.is-active,
.hero-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 34px 80px rgba(6, 182, 212, 0.26);
}

.hero-card:nth-child(2):hover,
.hero-card:nth-child(3):hover,
.hero-card:nth-child(2).is-active,
.hero-card:nth-child(3).is-active {
    transform: translateY(18px) scale(1.02);
}

.hero-card img,
.category-tile img,
.category-overview-card img,
.podium-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.hero-card__shade,
.category-tile__shade,
.category-overview-card span {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.84));
}

.hero-card__play {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.hero-card__text {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
}

.hero-card__text strong,
.hero-card__text em {
    display: block;
}

.hero-card__text strong {
    font-size: 18px;
    line-height: 1.25;
}

.hero-card__text em {
    margin-top: 7px;
    color: #cbd5e1;
    font-style: normal;
    font-size: 13px;
}

.section {
    padding: 70px 0;
}

.section-white {
    background: #ffffff;
}

.section-warm {
    background: linear-gradient(135deg, #fff7ed, #fff1f2);
}

.section-dark {
    color: #ffffff;
    background: radial-gradient(circle at top left, rgba(244, 63, 94, 0.24), transparent 34%), linear-gradient(135deg, #312e81, #701a75);
}

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

.section-head--compact {
    margin-bottom: 22px;
}

.section-head--light h2,
.section-head--light .section-link {
    color: #ffffff;
}

.section-title-center {
    text-align: center;
    margin-bottom: 30px;
}

.section-head h2,
.section-title-center h2,
.ranking-panel h2,
.side-panel h2,
.content-card h2 {
    margin: 8px 0 0;
    color: var(--text);
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.section-dark .section-head h2 {
    color: #ffffff;
}

.section-kicker {
    padding: 7px 11px;
}

.section-kicker--green { color: #047857; background: #d1fae5; }
.section-kicker--orange { color: #c2410c; background: #ffedd5; }
.section-kicker--violet { color: #ede9fe; background: rgba(255, 255, 255, 0.13); }
.section-kicker--blue { color: #1d4ed8; background: #dbeafe; }
.section-kicker--red { color: #b91c1c; background: #fee2e2; }
.section-kicker--rose { color: #be123c; background: #ffe4e6; }
.section-kicker--cyan { color: #0e7490; background: #cffafe; }
.section-kicker--amber { color: #92400e; background: #fef3c7; }

.section-link {
    color: #ea580c;
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card__image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f172a;
}

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

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

.score-badge,
.rank-badge,
.podium-rank {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
}

.score-badge {
    right: 12px;
    top: 12px;
    min-width: 46px;
    padding: 6px 10px;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
}

.rank-badge {
    left: 12px;
    top: 12px;
    min-width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--orange), var(--rose));
}

.rank-badge--small {
    min-width: 26px;
    height: 26px;
    font-size: 12px;
}

.movie-card__body {
    padding: 16px;
}

.movie-card__body h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
}

.movie-card__body h3 a:hover {
    color: #ea580c;
}

.movie-card__body p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 13px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
}

.movie-meta span {
    border-radius: 999px;
    background: #f1f5f9;
    padding: 5px 8px;
}

.movie-card--compact {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
}

.movie-card--compact .movie-card__image {
    aspect-ratio: auto;
    min-height: 190px;
}

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

.mini-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mini-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
}

.mini-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background: #0f172a;
}

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

.mini-card__content strong,
.mini-card__content em {
    display: block;
}

.mini-card__content strong {
    color: #ffffff;
    line-height: 1.35;
}

.mini-card__content em {
    margin-top: 6px;
    color: #cbd5e1;
    font-size: 12px;
    font-style: normal;
}

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

.category-tile,
.category-overview-card,
.podium-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 24px;
    color: #ffffff;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover,
.podium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.category-tile__content,
.category-overview-card strong,
.category-overview-card em {
    position: absolute;
    left: 22px;
    right: 22px;
}

.category-tile__content {
    bottom: 22px;
}

.category-tile__content strong,
.category-tile__content em,
.category-overview-card strong,
.category-overview-card em {
    display: block;
}

.category-tile__content strong,
.category-overview-card strong {
    font-size: 22px;
    line-height: 1.2;
}

.category-tile__content em,
.category-overview-card em {
    margin-top: 10px;
    color: #e2e8f0;
    font-style: normal;
    line-height: 1.55;
}

.category-overview-card strong {
    bottom: 72px;
}

.category-overview-card em {
    bottom: 24px;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at top right, rgba(251, 146, 60, 0.32), transparent 30%), linear-gradient(135deg, #0f172a, #7f1d1d);
    padding: 74px 0;
}

.page-hero--cyan { background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.3), transparent 30%), linear-gradient(135deg, #0f172a, #164e63); }
.page-hero--blue { background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.3), transparent 30%), linear-gradient(135deg, #0f172a, #1e3a8a); }
.page-hero--green { background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.3), transparent 30%), linear-gradient(135deg, #0f172a, #064e3b); }
.page-hero--violet { background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.3), transparent 30%), linear-gradient(135deg, #0f172a, #581c87); }
.page-hero--rose { background: radial-gradient(circle at top right, rgba(244, 63, 94, 0.3), transparent 30%), linear-gradient(135deg, #0f172a, #881337); }
.page-hero--amber { background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.3), transparent 30%), linear-gradient(135deg, #0f172a, #78350f); }
.page-hero--orange,
.page-hero--red,
.page-hero--ranking,
.page-hero--search { background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.32), transparent 30%), linear-gradient(135deg, #0f172a, #7c2d12); }

.page-hero h1,
.detail-copy h1 {
    margin: 14px 0 14px;
    max-width: 940px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.page-hero p,
.detail-copy p {
    max-width: 820px;
    color: #e2e8f0;
    font-size: 19px;
    line-height: 1.8;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #cbd5e1;
    font-size: 14px;
}

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

.breadcrumbs a::after {
    margin-left: 10px;
    color: rgba(226, 232, 240, 0.48);
    content: "/";
}

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

.side-panel,
.content-card,
.ranking-panel,
.search-panel {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.side-panel {
    position: sticky;
    top: 94px;
    padding: 22px;
}

.side-panel h2 {
    margin-top: 0;
    font-size: 23px;
}

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

.side-panel .mini-card {
    grid-template-columns: 84px minmax(0, 1fr);
    color: var(--text);
    border-color: #e2e8f0;
    background: #f8fafc;
}

.side-panel .mini-card__content strong {
    color: var(--text);
}

.side-panel .mini-card__content em {
    color: var(--muted);
}

.podium-card {
    min-height: 360px;
    padding: 24px;
}

.podium-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.9));
    content: "";
}

.podium-card img {
    position: absolute;
    inset: 0;
}

.podium-card strong,
.podium-card em,
.podium-rank {
    position: relative;
    z-index: 2;
}

.podium-rank {
    top: auto;
    left: auto;
    margin-bottom: 190px;
    width: fit-content;
    padding: 8px 13px;
    background: linear-gradient(135deg, var(--orange), var(--rose));
}

.podium-card strong,
.podium-card em {
    display: block;
}

.podium-card strong {
    margin-top: auto;
    font-size: 24px;
}

.podium-card em {
    margin-top: 10px;
    color: #e2e8f0;
    font-style: normal;
}

.ranking-panel {
    padding: 26px;
}

.ranking-panel h2 {
    margin-top: 0;
}

.ranking-list {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.ranking-list a {
    display: grid;
    grid-template-columns: 52px 92px minmax(0, 1fr) auto 64px;
    gap: 16px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
    padding: 10px 14px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-list a:hover {
    transform: translateX(4px);
    background: #ffffff;
}

.ranking-index {
    color: #f97316;
    font-size: 22px;
    font-weight: 900;
}

.ranking-list img {
    width: 92px;
    height: 62px;
    border-radius: 12px;
    object-fit: cover;
    background: #0f172a;
}

.ranking-title strong,
.ranking-title em {
    display: block;
}

.ranking-title strong {
    font-size: 17px;
}

.ranking-title em {
    display: -webkit-box;
    margin-top: 4px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.ranking-meta {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.ranking-score {
    color: #f59e0b;
    font-size: 22px;
    font-weight: 900;
    text-align: right;
}

.search-panel {
    padding: 22px;
}

.search-filter {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

.search-filter label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.search-filter input,
.search-filter select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    outline: none;
    background: #ffffff;
    padding: 11px 12px;
}

.search-filter input:focus,
.search-filter select:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.14);
}

.search-result-card.is-hidden {
    display: none;
}

.empty-state {
    margin: 28px 0 8px;
    border-radius: 18px;
    color: var(--muted);
    background: #f8fafc;
    padding: 24px;
    text-align: center;
}

.detail-hero {
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.24), transparent 30%), linear-gradient(135deg, #020617, #111827 58%, #7c2d12);
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.detail-cover {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.38);
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #0f172a;
}

.detail-cover span {
    position: absolute;
    top: 16px;
    right: 16px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(2, 6, 23, 0.75);
    padding: 8px 12px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.detail-tags span {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.1);
    padding: 7px 11px;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.watch-section {
    background: #020617;
    padding: 34px 0;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.36);
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.24), rgba(2, 6, 23, 0.72));
    transition: opacity 0.2s ease;
}

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

.player-cover__icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 20px 45px rgba(239, 68, 68, 0.34);
}

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

.content-card {
    padding: 28px;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h2 {
    margin-top: 28px;
    margin-bottom: 14px;
    font-size: 27px;
}

.content-card p {
    margin: 0;
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
}

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

.detail-info dl div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

.detail-info dt {
    color: var(--muted);
    font-weight: 800;
}

.detail-info dd {
    margin: 0;
    color: var(--text);
}

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(180deg, #0f172a, #020617);
    padding-top: 52px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 34px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 17px;
}

.footer-grid p {
    max-width: 460px;
    color: #94a3b8;
    line-height: 1.8;
}

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

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

.footer-bottom {
    margin-top: 42px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    color: #94a3b8;
    padding: 22px 16px;
    text-align: center;
}

@media (max-width: 1100px) {
    .desktop-nav {
        gap: 14px;
        font-size: 14px;
    }

    .header-search input {
        width: 170px;
    }

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

    .side-panel {
        position: static;
    }

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

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

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

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

    .menu-toggle {
        display: block;
    }

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

    .hero-section {
        padding: 64px 0;
    }

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

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

    .hero-card:nth-child(2),
    .hero-card:nth-child(3),
    .hero-card:nth-child(2):hover,
    .hero-card:nth-child(3):hover,
    .hero-card:nth-child(2).is-active,
    .hero-card:nth-child(3).is-active {
        transform: none;
    }

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

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

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

    .ranking-meta {
        display: none;
    }

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

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

    .brand span:last-child {
        font-size: 19px;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: 36px;
        letter-spacing: -0.04em;
    }

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

    .hero-grid,
    .movie-grid,
    .movie-grid--two,
    .category-grid,
    .category-overview-grid,
    .podium-grid,
    .mini-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: 230px;
    }

    .section {
        padding: 48px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .detail-cover {
        max-width: 280px;
    }

    .content-card {
        padding: 22px;
    }

    .detail-info dl div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
