:root {
    --color-cyan: #0891b2;
    --color-cyan-dark: #0e7490;
    --color-blue: #2563eb;
    --color-blue-dark: #1e40af;
    --color-text: #1f2937;
    --color-muted: #64748b;
    --color-soft: #f8fafc;
    --color-border: #e2e8f0;
    --color-footer: #111827;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.13);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: #ffffff;
    line-height: 1.65;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
}

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

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.site-logo__mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    box-shadow: 0 12px 28px rgba(8, 145, 178, 0.35);
    transform: translateZ(0);
}

.site-logo:hover .site-logo__mark {
    transform: scale(1.08);
}

.site-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.site-logo__text strong {
    font-size: 20px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-logo__text small {
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 600;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    position: relative;
    padding: 10px 14px;
    border-radius: 12px;
    color: #334155;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-cyan);
    background: linear-gradient(135deg, rgba(236, 254, 255, 0.95), rgba(239, 246, 255, 0.95));
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    border: 0;
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    border-radius: 999px;
    background: var(--color-text);
}

.mobile-panel {
    display: none;
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4 0%, #2563eb 48%, #1e3a8a 100%);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
    background-size: 64px 64px;
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 56px;
    align-items: center;
    min-height: 720px;
    padding: 82px 0 140px;
}

.hero-copy {
    max-width: 680px;
}

.hero-badge,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-badge {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(14px);
}

.eyebrow {
    color: var(--color-cyan);
    background: rgba(236, 254, 255, 0.92);
}

.hero-copy h1 {
    margin: 26px 0 20px;
    font-size: clamp(40px, 7vw, 74px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero-copy p {
    margin: 0 0 28px;
    color: #ecfeff;
    font-size: clamp(18px, 2vw, 24px);
}

.hero-search {
    display: flex;
    max-width: 610px;
    padding: 8px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.hero-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: var(--color-text);
    padding: 0 18px;
    background: transparent;
}

.hero-search button {
    border: 0;
    color: #ffffff;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 2px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

.button--light {
    color: var(--color-blue);
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

.button--outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.82);
}

.button--outline:hover {
    color: var(--color-blue);
    background: #ffffff;
}

.button--primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    box-shadow: 0 14px 30px rgba(8, 145, 178, 0.24);
}

.button--ghost {
    color: var(--color-cyan);
    border-color: rgba(8, 145, 178, 0.22);
    background: #ffffff;
}

.hero-carousel {
    position: relative;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
}

.hero-slides {
    position: relative;
    min-height: 500px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 18px;
    opacity: 0;
    transform: translateX(28px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-slide__content {
    padding: 18px 18px 0;
}

.hero-slide__content h2 {
    margin: 14px 0 8px;
    font-size: 32px;
    line-height: 1.12;
}

.hero-slide__content p {
    margin: 0 0 16px;
    color: #e0f2fe;
}

.hero-slide__meta,
.detail-meta,
.inline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-slide__meta span,
.detail-meta span,
.inline-meta span,
.movie-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hero-slide__meta span {
    color: #ecfeff;
    background: rgba(255, 255, 255, 0.17);
}

.hero-slide__poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 26px;
    min-height: 290px;
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.6), rgba(30, 64, 175, 0.6));
}

.hero-slide__poster img {
    width: 100%;
    height: 100%;
    min-height: 290px;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.25s ease;
}

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

.hero-slide__poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    color: var(--color-cyan);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.28);
}

.hero-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
}

.hero-controls button {
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.17);
    border-radius: 999px;
}

.hero-controls > button {
    width: 42px;
    height: 42px;
    font-size: 28px;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    opacity: 0.52;
}

.hero-dot.is-active {
    width: 32px;
    opacity: 1;
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 120px;
    color: #ffffff;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-wave path {
    fill: currentColor;
}

.feature-strip {
    background: #ffffff;
    padding: 34px 0 18px;
}

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

.feature-box {
    padding: 22px 18px;
    border-radius: 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-box strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
}

.feature-box span {
    color: var(--color-muted);
    font-size: 13px;
}

.section {
    padding: 84px 0;
}

.section--soft {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading.centered {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.section-heading span,
.ranking-copy span {
    display: inline-flex;
    color: var(--color-cyan);
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.section-heading h2,
.ranking-copy h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.section-heading p,
.ranking-copy p {
    margin: 12px 0 0;
    color: var(--color-muted);
    font-size: 17px;
}

.text-link {
    color: var(--color-cyan);
    font-weight: 900;
}

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

.featured-card,
.movie-card,
.article-card,
.toolbar,
.ranking-list {
    border: 1px solid var(--color-border);
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.featured-card {
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
}

.featured-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #cffafe, #dbeafe);
}

.featured-card__image img,
.movie-card__poster img,
.detail-poster img,
.ranking-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.25s ease;
}

img.is-missing {
    opacity: 0;
}

.featured-card:hover img,
.movie-card:hover img {
    transform: scale(1.07);
}

.featured-card__type,
.movie-card__play,
.rank-badge {
    position: absolute;
    z-index: 2;
}

.featured-card__type {
    left: 14px;
    top: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(8, 145, 178, 0.92);
}

.featured-card__content {
    padding: 24px;
}

.featured-card__content h3,
.movie-card__body h3 {
    margin: 0 0 10px;
    color: #0f172a;
    line-height: 1.25;
}

.featured-card__content h3 {
    font-size: 24px;
}

.featured-card__content p,
.movie-card__body p {
    color: var(--color-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.inline-meta span,
.movie-card__meta span {
    color: var(--color-cyan-dark);
    background: #ecfeff;
}

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

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

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

.movie-card {
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8, 145, 178, 0.35);
    box-shadow: var(--shadow-md);
}

.movie-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.movie-card__poster::after,
.hero-slide__poster::after,
.featured-card__image::after,
.detail-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.45));
    pointer-events: none;
}

.movie-card__play {
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: var(--color-cyan);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.26);
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.rank-badge {
    left: 12px;
    top: 12px;
    padding: 5px 9px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #e11d48);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.movie-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.movie-card__body h3 {
    font-size: 18px;
}

.movie-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.movie-card__body p {
    margin: 0 0 14px;
    font-size: 14px;
}

.movie-card__tags,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    color: #475569;
    background: #f1f5f9;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

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

.category-grid--large {
    margin-bottom: 70px;
}

.category-card {
    min-height: 235px;
    color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card a {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    overflow: hidden;
}

.category-card a::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.category-card span {
    position: relative;
    z-index: 1;
    font-weight: 900;
    font-size: 22px;
}

.category-card h3 {
    position: relative;
    z-index: 1;
    margin: 12px 0 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

.category-card__samples {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
    margin-top: auto;
    font-size: 13px;
}

.category-card__samples a {
    display: inline;
    min-height: auto;
    padding: 0;
    opacity: 0.84;
}

.category-card em {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    font-style: normal;
    font-weight: 900;
}

.from-cyan.to-blue {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.from-orange.to-red {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.from-green.to-teal {
    background: linear-gradient(135deg, #22c55e, #14b8a6);
}

.from-indigo.to-blue {
    background: linear-gradient(135deg, #6366f1, #2563eb);
}

.from-violet.to-fuchsia {
    background: linear-gradient(135deg, #7c3aed, #d946ef);
}

.from-rose.to-orange {
    background: linear-gradient(135deg, #e11d48, #f97316);
}

.from-pink.to-rose {
    background: linear-gradient(135deg, #ec4899, #e11d48);
}

.from-sky.to-indigo {
    background: linear-gradient(135deg, #0ea5e9, #4f46e5);
}

.from-amber.to-yellow {
    background: linear-gradient(135deg, #f59e0b, #eab308);
}

.from-slate.to-gray {
    background: linear-gradient(135deg, #334155, #111827);
}

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

.ranking-section .section-heading h2,
.ranking-section .ranking-copy h2 {
    color: #ffffff;
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    gap: 42px;
    align-items: start;
}

.ranking-layout--page {
    grid-template-columns: 360px minmax(0, 1fr);
}

.ranking-copy p {
    color: #cbd5e1;
    margin-bottom: 28px;
}

.ranking-list {
    overflow: hidden;
    padding: 12px;
}

.ranking-list--sticky {
    position: sticky;
    top: 104px;
}

.ranking-item {
    display: grid;
    grid-template-columns: 44px 62px minmax(0, 1fr) 22px;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    transition: background 0.25s ease, transform 0.25s ease;
}

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

.ranking-section .ranking-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.ranking-item__number {
    color: var(--color-cyan);
    font-size: 20px;
    font-weight: 900;
}

.ranking-item img {
    width: 62px;
    height: 82px;
    border-radius: 12px;
    background: #dbeafe;
}

.ranking-item__main {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.ranking-item__main strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ranking-item__main em {
    color: var(--color-muted);
    font-size: 13px;
    font-style: normal;
}

.ranking-section .ranking-item__main em {
    color: #cbd5e1;
}

.ranking-item__arrow {
    color: var(--color-cyan);
    font-size: 28px;
}

.page-hero,
.detail-hero {
    color: #ffffff;
    padding: 74px 0;
    background: linear-gradient(135deg, #0891b2, #2563eb 52%, #1e3a8a);
}

.page-hero h1,
.detail-copy h1 {
    max-width: 850px;
    margin: 16px 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.page-hero p,
.detail-copy .lead {
    max-width: 760px;
    margin: 0;
    color: #e0f2fe;
    font-size: 19px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
    font-size: 14px;
}

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

.toolbar {
    padding: 22px;
    margin-bottom: 28px;
}

.toolbar-search {
    display: grid;
    gap: 8px;
    color: #0f172a;
    font-weight: 900;
}

.toolbar-search input {
    width: 100%;
    height: 50px;
    border: 1px solid var(--color-border);
    outline: 0;
    border-radius: 14px;
    padding: 0 16px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.toolbar-search input:focus {
    border-color: rgba(8, 145, 178, 0.55);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.filter-chip {
    border: 1px solid var(--color-border);
    cursor: pointer;
    color: #475569;
    background: #ffffff;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 900;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
}

.empty-state {
    display: none;
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    color: #475569;
    background: #f8fafc;
    text-align: center;
    font-weight: 800;
}

.empty-state.is-visible {
    display: block;
}

.detail-hero {
    padding: 58px 0 72px;
}

.detail-hero__grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 430px;
    background: linear-gradient(135deg, #cffafe, #dbeafe);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.28);
}

.detail-poster img {
    min-height: 430px;
}

.detail-meta {
    margin: 24px 0 16px;
}

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

.detail-copy .tag {
    color: #ecfeff;
    background: rgba(255, 255, 255, 0.14);
}

.detail-actions {
    margin-top: 28px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #020617;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.26);
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    cursor: pointer;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(8, 145, 178, 0.2), rgba(2, 6, 23, 0.74));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay__icon {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    color: var(--color-cyan);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    font-size: 32px;
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.32);
}

.player-overlay strong {
    font-size: 20px;
}

.video-shell.is-playing .player-overlay,
.video-shell.is-ready .player-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.player-message {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    min-height: 0;
    color: #ffffff;
    text-align: center;
    font-weight: 800;
    pointer-events: none;
}

.player-message:empty {
    display: none;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 26px;
    align-items: start;
}

.article-card {
    padding: 30px;
}

.article-card--accent {
    background: linear-gradient(135deg, #ecfeff, #eff6ff);
}

.article-card h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 26px;
}

.prose p,
.article-card p {
    margin: 0 0 16px;
    color: #475569;
}

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

.category-preview {
    margin-top: 60px;
}

.site-footer {
    color: #cbd5e1;
    background: var(--color-footer);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 34px;
}

.footer-logo {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 14px;
}

.site-footer p {
    max-width: 420px;
    margin: 0;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 16px;
}

.site-footer a {
    display: block;
    margin: 9px 0;
    color: #cbd5e1;
    transition: color 0.25s ease;
}

.site-footer a:hover {
    color: #67e8f9;
}

.footer-bottom {
    margin-top: 46px;
    padding: 20px 0;
    color: #94a3b8;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    text-align: center;
}

@media (max-width: 1120px) {
    .site-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-panel {
        position: fixed;
        z-index: 70;
        left: 0;
        right: 0;
        top: 78px;
        display: block;
        max-height: 0;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        transition: max-height 0.28s ease;
    }

    body.nav-open .mobile-panel {
        max-height: 420px;
    }

    .mobile-nav {
        width: min(100% - 32px, var(--container));
        margin: 0 auto;
        padding: 18px 0;
        display: grid;
        gap: 8px;
    }

    .hero-layout,
    .detail-hero__grid,
    .ranking-layout,
    .ranking-layout--page,
    .content-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ranking-list--sticky {
        position: static;
    }

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

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

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

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

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

    .site-logo__text small {
        display: none;
    }

    .mobile-panel {
        top: 68px;
    }

    .hero-layout {
        min-height: auto;
        padding: 56px 0 110px;
    }

    .hero-search {
        border-radius: 22px;
        flex-direction: column;
        gap: 8px;
    }

    .hero-search input {
        min-height: 44px;
    }

    .hero-slides {
        min-height: 560px;
    }

    .feature-grid,
    .category-grid,
    .movie-grid,
    .featured-grid,
    .compact-grid,
    .all-movie-grid,
    .static-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 56px 0;
    }

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

    .detail-hero__grid {
        gap: 26px;
    }

    .detail-poster {
        min-height: 360px;
    }

    .detail-poster img {
        min-height: 360px;
    }

    .video-shell {
        border-radius: 20px;
    }

    .article-card {
        padding: 22px;
    }
}
