:root {
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --emerald-700: #047857;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --amber-50: #fffbeb;
    --orange-50: #fff7ed;
    --white: #ffffff;
    --black: #000000;
    --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.06);
    --shadow-md: 0 12px 28px rgba(28, 25, 23, 0.10);
    --shadow-lg: 0 24px 60px rgba(28, 25, 23, 0.16);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--stone-800);
    background: linear-gradient(180deg, var(--stone-50), var(--white));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--stone-200);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    width: min(100%, var(--container));
    height: 64px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}

.brand__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--green-600), var(--emerald-700));
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.26);
    transition: transform 0.25s ease;
}

.brand:hover .brand__icon {
    transform: scale(1.05);
}

.brand__text {
    display: grid;
    gap: 2px;
}

.brand__text strong {
    color: var(--stone-800);
    font-size: 20px;
    line-height: 1;
}

.brand__text small {
    color: var(--stone-500);
    font-size: 12px;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    color: var(--stone-700);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

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

.header-search input,
.mobile-search input {
    width: 240px;
    padding: 10px 14px;
    color: var(--stone-800);
    background: var(--stone-50);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-sm);
    outline: none;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

.header-search button,
.mobile-search button,
.filter-controls button,
.button {
    border: 0;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.header-search button,
.mobile-search button {
    padding: 10px 14px;
    color: var(--white);
    background: var(--green-600);
}

.header-search button:hover,
.mobile-search button:hover {
    background: var(--green-700);
}

.mobile-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--stone-100);
}

.mobile-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--stone-700);
}

.mobile-nav {
    display: none;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--stone-200);
}

.mobile-nav.is-open {
    display: grid;
    gap: 12px;
}

.mobile-nav-link {
    padding: 10px 0;
    color: var(--stone-700);
    font-weight: 700;
}

.mobile-nav-link.is-active {
    color: var(--green-600);
}

.mobile-search {
    display: flex;
    gap: 8px;
}

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

.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background: var(--stone-900);
}

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

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

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

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

img.poster-missing,
.hero-slide img.poster-missing,
.movie-card__poster img.poster-missing,
.rank-card__poster img.poster-missing,
.category-card img.poster-missing,
.detail-poster img.poster-missing {
    opacity: 0;
}

.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.10));
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    width: min(100%, var(--container));
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 720px;
    margin-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
}

.hero-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-kicker span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 13px;
    border-radius: 999px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.hero-kicker span:first-child {
    background: var(--green-600);
}

.hero-kicker span:last-child {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.hero h1 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 680px;
    margin: 0 0 24px;
    color: #e7e5e4;
    font-size: 18px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 30px;
    color: var(--stone-300);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
}

.button--primary {
    color: var(--white);
    background: var(--green-600);
    box-shadow: 0 16px 30px rgba(22, 163, 74, 0.26);
}

.button--primary:hover {
    background: var(--green-700);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 20px 38px rgba(22, 163, 74, 0.32);
}

.button--ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
    line-height: 1;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.30);
}

.hero-arrow--prev {
    left: 18px;
}

.hero-arrow--next {
    right: 18px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 30px;
    z-index: 4;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.50);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 32px;
    background: var(--white);
}

.home-search-band,
.section-block,
.page-shell,
.detail-shell {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.home-search-band {
    margin-top: -46px;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr minmax(280px, 480px);
    gap: 22px;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
}

.home-search-band h2,
.section-heading h2,
.filter-panel h2,
.page-hero h1,
.detail-info h1 {
    margin: 0;
}

.home-search-band p,
.section-heading p,
.filter-panel p,
.page-hero p {
    margin: 6px 0 0;
    color: var(--stone-600);
}

.home-search-band__form {
    display: flex;
    gap: 10px;
}

.home-search-band__form input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-sm);
    outline: none;
}

.home-search-band__form button {
    padding: 14px 18px;
    color: var(--white);
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--green-600);
    font-weight: 800;
}

.section-block {
    padding-top: 72px;
    padding-bottom: 8px;
}

.section-block--soft {
    width: min(calc(100% - 48px), var(--container));
    margin-top: 64px;
    padding: 48px 32px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--green-50), var(--white));
}

.section-block--categories {
    margin-bottom: 72px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-heading__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    color: var(--green-700);
    font-weight: 900;
    background: var(--green-100);
}

.section-heading > a,
.text-link {
    margin-left: auto;
    color: var(--green-700);
    font-weight: 800;
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
    border-color: rgba(34, 197, 94, 0.55);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.movie-card__poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.35), transparent 30%), linear-gradient(135deg, var(--stone-900), var(--stone-700));
}

.movie-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.25s ease;
}

.movie-card:hover .movie-card__poster img {
    transform: scale(1.09);
}

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

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

.movie-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 4px 9px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
    background: var(--green-600);
}

.movie-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(8px);
}

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

.movie-card__body {
    padding: 16px;
}

.movie-card h3 {
    margin: 0 0 8px;
    color: var(--stone-800);
    font-size: 17px;
    line-height: 1.35;
}

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

.movie-card p {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--stone-600);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--stone-500);
    font-size: 12px;
}

.movie-card__meta span:not(:last-child)::after {
    content: "•";
    margin-left: 8px;
    color: var(--stone-300);
}

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

.movie-card__tags span,
.tag-cloud span {
    padding: 3px 8px;
    color: var(--stone-600);
    font-size: 12px;
    border-radius: 999px;
    background: var(--stone-100);
}

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

.category-card {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--stone-900), var(--stone-700));
    box-shadow: var(--shadow-md);
}

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

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

.category-card:hover img {
    opacity: 0.74;
    transform: scale(1.08);
}

.category-card h3,
.category-card p,
.category-card span {
    position: relative;
    z-index: 1;
}

.category-card span {
    width: max-content;
    padding: 3px 8px;
    color: var(--white);
    font-size: 12px;
    border-radius: 999px;
    background: var(--green-600);
}

.category-card h3 {
    margin: 10px 0 5px;
    color: var(--white);
    font-size: 22px;
}

.category-card p {
    margin: 0;
    color: var(--stone-200);
    font-size: 13px;
}

.page-shell {
    padding-top: 42px;
    padding-bottom: 80px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 34px;
    padding: 48px;
    border-radius: var(--radius-xl);
}

.page-hero--green {
    color: var(--white);
    background: radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.45), transparent 32%), linear-gradient(135deg, var(--stone-900), var(--stone-800));
}

.page-hero--green p {
    color: var(--stone-200);
}

.page-hero--image {
    min-height: 360px;
    display: flex;
    align-items: center;
    color: var(--white);
    background: var(--stone-900);
}

.page-hero--image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.52;
}

.page-hero--image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.26));
}

.page-hero--image > div {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.page-hero h1 {
    max-width: 880px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--green-600);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-hero--green .eyebrow,
.page-hero--image .eyebrow {
    color: var(--green-100);
}

.filter-panel {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 620px);
    gap: 22px;
    align-items: center;
    margin-bottom: 34px;
    padding: 24px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-controls {
    display: grid;
    grid-template-columns: 1fr 180px auto;
    gap: 10px;
}

.filter-controls input,
.filter-controls select {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-sm);
    background: var(--stone-50);
    outline: none;
}

.filter-controls button {
    padding: 12px 16px;
    color: var(--white);
    background: var(--stone-800);
}

.filter-count {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--green-700);
    font-weight: 800;
}

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

.category-overview-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 220px 1fr;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.category-overview-card__visual {
    position: relative;
    min-height: 220px;
    display: block;
    overflow: hidden;
    background: var(--stone-900);
}

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

.category-overview-card__visual span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 10px;
    color: var(--white);
    border-radius: 999px;
    background: var(--green-600);
    font-weight: 800;
}

.category-overview-card__body {
    padding: 24px;
}

.category-overview-card h2 {
    margin: 0 0 8px;
}

.category-overview-card p {
    margin: 0 0 14px;
    color: var(--stone-600);
}

.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.mini-links a {
    padding: 4px 9px;
    color: var(--stone-700);
    font-size: 13px;
    border-radius: 999px;
    background: var(--stone-100);
}

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

.rank-card {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-card:hover {
    border-color: rgba(34, 197, 94, 0.55);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.rank-card__poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--stone-900);
}

.rank-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-card__poster span {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    color: var(--white);
    border-radius: 999px;
    background: var(--green-600);
    font-size: 12px;
    font-weight: 900;
}

.rank-card__body h3 {
    margin: 0 0 6px;
    font-size: 20px;
}

.rank-card__body p {
    margin: 0 0 9px;
    color: var(--stone-600);
}

.rank-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--stone-500);
    font-size: 13px;
}

.rank-card__button {
    padding: 10px 16px;
    color: var(--white);
    border-radius: var(--radius-sm);
    background: var(--green-600);
    font-weight: 900;
}

.detail-shell {
    padding-top: 28px;
    padding-bottom: 80px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--stone-500);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--green-700);
    font-weight: 800;
}

.detail-hero {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 34px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--white), var(--green-50));
    box-shadow: var(--shadow-md);
}

.detail-poster {
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 10;
    background: radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.35), transparent 35%), var(--stone-900);
    box-shadow: var(--shadow-lg);
}

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

.detail-info h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
}

.detail-one-line {
    color: var(--stone-600);
    font-size: 18px;
}

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

.detail-meta div {
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.82);
}

.detail-meta dt {
    color: var(--stone-500);
    font-size: 12px;
}

.detail-meta dd {
    margin: 3px 0 0;
    font-weight: 800;
}

.player-section,
.detail-content,
.static-article {
    margin-top: 34px;
    padding: 28px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--stone-900);
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--black);
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--white);
    border: 0;
    background: radial-gradient(circle at center, rgba(22, 163, 74, 0.35), rgba(0, 0, 0, 0.42));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-overlay span {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--green-600);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}

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

.player-note {
    margin: 12px 0 0;
    color: var(--stone-500);
    font-size: 14px;
}

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

.detail-content h2,
.static-article h2 {
    margin: 0 0 10px;
}

.detail-content p,
.static-article p {
    margin: 0;
    color: var(--stone-700);
}

.info-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.info-list li {
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--stone-50);
}

.site-footer {
    color: var(--stone-300);
    background: linear-gradient(135deg, var(--stone-800), var(--stone-900));
}

.site-footer__inner {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 48px 24px 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
}

.brand--footer .brand__text strong,
.site-footer h2 {
    color: var(--white);
}

.footer-brand p,
.site-footer li,
.site-footer p {
    color: var(--stone-400);
}

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

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

.site-footer a:hover {
    color: var(--green-400, #4ade80);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

@media (max-width: 1180px) {
    .movie-grid--four {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

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

    .mobile-nav-toggle {
        display: block;
    }

    .home-search-band,
    .filter-panel,
    .detail-hero,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-slide__content {
        margin-left: 0;
        padding-left: 72px;
        padding-right: 72px;
    }

    .detail-poster {
        max-width: 520px;
    }

    .rank-card {
        grid-template-columns: 150px 1fr;
    }

    .rank-card__button {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .site-header__inner {
        padding: 0 16px;
    }

    .brand__text small {
        display: none;
    }

    .hero {
        height: 78vh;
        min-height: 560px;
    }

    .hero-slide__content {
        padding-left: 24px;
        padding-right: 24px;
        justify-content: flex-end;
        padding-bottom: 86px;
    }

    .hero-arrow {
        display: none;
    }

    .home-search-band,
    .section-block,
    .page-shell,
    .detail-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-search-band {
        grid-template-columns: 1fr;
        margin-top: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .home-search-band__form,
    .mobile-search,
    .filter-controls {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

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

    .section-heading > a {
        margin-left: 0;
        align-self: center;
    }

    .movie-grid--four,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .page-hero,
    .detail-hero,
    .player-section,
    .detail-content,
    .static-article {
        padding: 22px;
        border-radius: var(--radius-lg);
    }

    .detail-meta,
    .info-list {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}
