:root {
    --page-bg: #f9fafb;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --line: #e5e7eb;
    --red: #dc2626;
    --orange: #ea580c;
    --blue: #2563eb;
    --cyan: #0891b2;
    --green: #16a34a;
    --dark: #111827;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.14);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header__inner {
    width: min(1200px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.site-logo {
    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));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.site-logo__icon {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--red);
    background: #fff1f2;
    box-shadow: 0 0 28px rgba(248, 113, 113, 0.32);
}

.site-logo__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 700;
    color: #374151;
}

.site-nav a,
.site-nav button {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav button:hover,
.site-nav .is-active {
    color: var(--red);
}

.site-nav__dropdown {
    position: relative;
}

.site-nav__dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: 180px;
    padding: 10px;
    display: grid;
    gap: 4px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-nav__dropdown:hover .site-nav__dropdown-menu,
.site-nav__dropdown:focus-within .site-nav__dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.site-nav__dropdown-menu a {
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 14px;
}

.site-nav__dropdown-menu a:hover {
    background: #fff1f2;
}

.site-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-search input {
    width: 260px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    outline: none;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.site-search button,
.button,
.search-page-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--red), var(--orange));
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-search button:hover,
.button:hover,
.search-page-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(220, 38, 38, 0.32);
}

.button--primary {
    min-width: 138px;
    background: #2563eb;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.32);
}

.button--ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #111827;
    border-radius: 2px;
}

.mobile-panel {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid var(--line);
}

.mobile-panel nav {
    display: grid;
    gap: 10px;
    padding: 16px 0;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 1s ease, visibility 1s ease;
}

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

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-slide__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.04)),
        linear-gradient(0deg, rgba(17, 24, 39, 0.44), transparent 45%);
}

.hero-slide__content {
    position: absolute;
    inset: 0;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--red), var(--orange));
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-kicker {
    margin-bottom: 10px;
}

.hero-slide h1 {
    max-width: 760px;
    margin: 18px 0 14px;
    color: #ffffff;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.hero-slide p {
    max-width: 700px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 20px;
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.hero-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.hero-actions,
.cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-control {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.46);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.04);
}

.hero-control--prev {
    left: 24px;
}

.hero-control--next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: #ffffff;
}

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

.section--blue,
.section--green,
.section--dark {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100% - 1200px) / 2));
    padding-right: max(16px, calc((100% - 1200px) / 2));
}

.section--blue {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.section--green {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.section--dark {
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #1f2937);
}

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

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

.section__head h2,
.page-hero h1,
.ranking-panel__head h2,
.detail-card h2 {
    margin: 0;
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section__head--dark .section-link,
.section--dark .section-kicker {
    color: #ffffff;
}

.section-link {
    color: var(--red);
    font-weight: 900;
}

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

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

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

.movie-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    border-color: rgba(248, 113, 113, 0.45);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.movie-card__link {
    display: block;
    height: 100%;
}

.movie-card__poster {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #111827;
}

.movie-card__poster img,
.overlay-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.movie-card:hover .movie-card__poster img,
.overlay-card:hover img {
    transform: scale(1.08);
}

.movie-card__badge,
.movie-card__duration {
    position: absolute;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.movie-card__badge {
    top: 12px;
    left: 12px;
    background: var(--blue);
}

.movie-card__duration {
    right: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.72);
}

.movie-card__body {
    padding: 18px;
}

.movie-card__body h3 {
    display: -webkit-box;
    min-height: 52px;
    margin: 0 0 10px;
    overflow: hidden;
    color: #111827;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 900;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

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

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

.movie-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 28px;
    margin-bottom: 14px;
}

.movie-card__tags span,
.detail-tags span {
    padding: 4px 8px;
    color: #1d4ed8;
    background: #eff6ff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.movie-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
}

.movie-card__meta strong {
    color: #d97706;
}

.movie-card--horizontal {
    border-radius: 16px;
}

.movie-card--horizontal .movie-card__link {
    display: flex;
    gap: 16px;
}

.movie-card--horizontal .movie-card__poster--wide {
    width: 190px;
    height: 126px;
    flex: 0 0 auto;
}

.movie-card--horizontal .movie-card__body {
    padding: 14px 16px 14px 0;
}

.movie-card--horizontal .movie-card__body h3 {
    min-height: auto;
    -webkit-line-clamp: 1;
}

.movie-card--compact {
    border: 0;
    box-shadow: none;
}

.movie-card--compact:hover {
    transform: none;
    box-shadow: none;
}

.movie-card--compact .movie-card__link {
    display: flex;
    gap: 12px;
    align-items: center;
}

.movie-card--compact .movie-card__poster--thumb {
    width: 110px;
    height: 74px;
    flex: 0 0 auto;
    border-radius: 12px;
}

.movie-card--compact .movie-card__body {
    min-width: 0;
    padding: 0;
}

.movie-card--compact .movie-card__body h3 {
    min-height: auto;
    margin-bottom: 8px;
    font-size: 15px;
}

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

.overlay-card {
    position: relative;
    height: 210px;
    overflow: hidden;
    border-radius: 18px;
    background: #111827;
}

.overlay-card a,
.overlay-card img {
    display: block;
    height: 100%;
}

.overlay-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.18), transparent);
}

.overlay-card__content {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    color: #ffffff;
}

.overlay-card__content span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 800;
}

.overlay-card__content h3 {
    margin: 5px 0 0;
    font-size: 17px;
    line-height: 1.35;
}

.editor-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.editor-list {
    display: grid;
    gap: 16px;
}

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

.ranking-panel {
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.ranking-panel__head {
    margin-bottom: 16px;
}

.ranking-panel__head span {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--red);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.08em;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 34px 64px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
    background: #f9fafb;
    transform: translateX(2px);
}

.ranking-item__rank {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    font-size: 13px;
    font-weight: 900;
}

.ranking-item img {
    width: 64px;
    height: 44px;
    object-fit: cover;
    border-radius: 10px;
}

.ranking-item__body {
    min-width: 0;
}

.ranking-item__body strong,
.ranking-item__body small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-item__body strong {
    font-size: 14px;
    font-weight: 900;
}

.ranking-item__body small,
.ranking-item em {
    color: var(--text-muted);
    font-size: 12px;
    font-style: normal;
}

.cta-card {
    padding: clamp(28px, 6vw, 56px);
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.22), transparent 24%), linear-gradient(120deg, #7c3aed, #db2777);
    border-radius: 34px;
    box-shadow: var(--shadow-md);
}

.cta-card h2 {
    max-width: 760px;
    margin: 0 0 12px;
    font-size: clamp(30px, 4.2vw, 48px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.cta-card p {
    max-width: 760px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.cta-links a {
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.page-hero {
    min-height: 280px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background: linear-gradient(120deg, #2563eb, #7c3aed);
}

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

.page-hero--orange {
    background: linear-gradient(120deg, #dc2626, #f97316);
}

.page-hero--blue {
    background: linear-gradient(120deg, #2563eb, #06b6d4);
}

.page-hero--dark {
    background: linear-gradient(120deg, #111827, #374151);
}

.page-hero h1 {
    margin-top: 12px;
    font-size: clamp(38px, 5vw, 64px);
}

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

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

.category-tile {
    min-height: 170px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile strong {
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 950;
}

.category-tile span {
    color: var(--red);
    font-weight: 900;
}

.category-tile p {
    margin: 14px 0 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.category-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 17px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    font-weight: 900;
    transition: transform 0.2s ease, color 0.2s ease;
}

.category-chip:hover {
    color: var(--red);
    transform: translateY(-2px);
}

.category-chip em {
    color: var(--text-muted);
    font-style: normal;
    font-size: 13px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) repeat(5, minmax(120px, 170px));
    gap: 12px;
    margin-bottom: 18px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

.filter-bar--simple {
    grid-template-columns: minmax(240px, 1fr) 180px;
}

.filter-bar input,
.filter-bar select,
.search-page-form input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    background: #ffffff;
    outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus,
.search-page-form input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.filter-count {
    margin: 0 0 20px;
    color: var(--text-muted);
    font-weight: 800;
}

.filter-count strong {
    color: var(--red);
}

.ranking-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.search-page-form {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 150px;
    gap: 12px;
    margin-bottom: 18px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

.detail-hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.detail-hero__bg {
    position: absolute;
    inset: 0;
}

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

.detail-hero__bg::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.58), rgba(17, 24, 39, 0.24));
}

.detail-hero__content {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 800;
}

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

.detail-hero h1 {
    max-width: 880px;
    margin: 0 0 14px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.detail-hero p {
    max-width: 820px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.75;
}

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

.detail-main {
    display: grid;
    gap: 24px;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: var(--shadow-md);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.92);
    box-shadow: 0 22px 46px rgba(37, 99, 235, 0.42);
    font-size: 30px;
    text-indent: 4px;
}

.player-card.is-playing .player-overlay {
    visibility: hidden;
    opacity: 0;
}

.player-status {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.62);
    font-size: 12px;
    font-weight: 800;
    pointer-events: none;
}

.player-card.is-ready .player-status {
    display: none;
}

.detail-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.detail-rating {
    padding: 9px 13px;
    color: #b45309;
    background: #fffbeb;
    border-radius: 999px;
    white-space: nowrap;
}

.detail-meta-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 20px;
}

.detail-meta-list div {
    padding: 14px;
    border-radius: 16px;
    background: #f9fafb;
}

.detail-meta-list dt {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 900;
}

.detail-meta-list dd {
    margin: 4px 0 0;
    font-weight: 900;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.detail-card h3 {
    margin: 24px 0 10px;
    font-size: 22px;
    font-weight: 950;
}

.detail-card p {
    margin: 0;
    color: #374151;
    font-size: 16px;
    line-height: 1.9;
}

.detail-genre-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.detail-genre-links a {
    padding: 8px 12px;
    color: var(--red);
    background: #fff1f2;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.detail-sticky {
    position: sticky;
    top: 92px;
}

.site-footer {
    color: #d1d5db;
    background: #111827;
}

.site-footer__inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.site-logo--footer {
    margin-bottom: 12px;
}

.site-footer p {
    max-width: 520px;
    margin: 0;
    color: #9ca3af;
    line-height: 1.7;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-content: flex-start;
    justify-content: flex-end;
}

.site-footer__links a {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
}

.site-footer__links a:hover {
    background: rgba(255, 255, 255, 0.16);
}

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

@media (max-width: 1080px) {
    .site-nav,
    .site-header__inner > .site-search {
        display: none;
    }

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

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

    .mobile-panel .site-search {
        display: flex;
    }

    .mobile-panel .site-search input {
        width: 100%;
    }

    .movie-grid--three,
    .movie-grid--four,
    .overlay-grid,
    .category-grid,
    .ranking-columns,
    .section--split,
    .detail-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 760px) {
    .site-header__inner {
        height: 62px;
    }

    .site-logo {
        font-size: 20px;
    }

    .hero-carousel {
        height: 520px;
    }

    .hero-slide__content {
        justify-content: flex-end;
        padding-bottom: 76px;
    }

    .hero-slide p {
        font-size: 16px;
    }

    .hero-control {
        display: none;
    }

    .section,
    .section--blue,
    .section--green,
    .section--dark {
        padding-top: 42px;
        padding-bottom: 42px;
    }

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

    .movie-grid--three,
    .movie-grid--four,
    .overlay-grid,
    .category-grid,
    .ranking-columns,
    .section--split,
    .detail-layout,
    .editor-layout,
    .detail-meta-list,
    .filter-bar,
    .filter-bar--simple,
    .search-page-form,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .movie-card__poster {
        height: 210px;
    }

    .movie-card--horizontal .movie-card__link {
        display: block;
    }

    .movie-card--horizontal .movie-card__poster--wide {
        width: 100%;
        height: 190px;
    }

    .movie-card--horizontal .movie-card__body {
        padding: 18px;
    }

    .detail-sidebar {
        order: -1;
    }

    .detail-sticky {
        position: static;
    }

    .site-footer__inner {
        display: grid;
    }

    .site-footer__links {
        justify-content: flex-start;
    }
}
