
:root {
    --color-primary: #ea580c;
    --color-primary-dark: #c2410c;
    --color-primary-light: #ffedd5;
    --color-red: #dc2626;
    --color-blue: #2563eb;
    --color-green: #16a34a;
    --color-purple: #7c3aed;
    --color-pink: #db2777;
    --color-cyan: #0891b2;
    --color-yellow: #ca8a04;
    --color-dark: #111827;
    --color-muted: #6b7280;
    --color-soft: #f9fafb;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
    --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.22);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

body {
    min-height: 100vh;
    background: #f9fafb;
    color: #111827;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

img {
    object-fit: cover;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #111827;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #ea580c, #ef4444, #db2777);
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(234, 88, 12, 0.35);
}

.logo-text {
    display: grid;
    gap: 2px;
}

.logo-text strong {
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
}

.logo-text em {
    color: #6b7280;
    font-size: 12px;
    font-style: normal;
}

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

.nav-link {
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

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

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

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

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

.mobile-nav .nav-link {
    padding: 10px 0;
}

.mobile-cat-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mobile-cat-links a {
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 13px;
    font-weight: 700;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    background: radial-gradient(circle at 18% 22%, rgba(255, 237, 213, 0.35), transparent 25%), linear-gradient(135deg, #ea580c 0%, #dc2626 48%, #db2777 100%);
    color: #ffffff;
}

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

.hero-slider {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: 610px;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.72fr);
    gap: 54px;
    align-items: center;
    padding: 76px 0 92px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-kicker {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    font-size: 14px;
    font-weight: 800;
}

.hero-copy h1 {
    max-width: 720px;
    margin-bottom: 18px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.1;
    font-weight: 900;
}

.hero-copy p {
    max-width: 680px;
    margin-bottom: 30px;
    color: #ffedd5;
    font-size: 20px;
    line-height: 1.8;
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    background: #ffffff;
    color: var(--color-primary);
    box-shadow: 0 18px 34px rgba(124, 45, 18, 0.18);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(124, 45, 18, 0.24);
}

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(12px);
}

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

.hero-poster {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.18);
    border-radius: 34px;
    box-shadow: var(--shadow-strong);
    transform: rotate(1.5deg);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    transition: transform 0.7s ease;
}

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

.hero-poster span {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(17, 24, 39, 0.72);
    color: #ffffff;
    font-weight: 800;
    backdrop-filter: blur(14px);
}

.hero-dots {
    position: absolute;
    left: 0;
    bottom: 42px;
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: width 0.25s ease, background 0.25s ease;
}

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

.category-strip {
    position: relative;
    z-index: 3;
    margin-top: -56px;
    margin-bottom: 64px;
}

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

.category-tile,
.category-overview-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile {
    min-height: 172px;
    padding: 24px;
}

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

.category-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 16px;
    background: #fff7ed;
    font-size: 24px;
}

.category-tile strong {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 20px;
}

.category-tile em {
    display: -webkit-box;
    overflow: hidden;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
    font-style: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.category-tile small {
    display: block;
    margin-top: 12px;
    color: var(--color-primary);
    font-weight: 800;
}

.section-block {
    margin-bottom: 78px;
}

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

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

.section-heading h2 {
    color: #111827;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 900;
}

.section-heading a {
    white-space: nowrap;
    color: var(--color-primary);
    font-weight: 900;
}

.section-heading.compact {
    align-items: center;
    margin-bottom: 20px;
}

.section-heading.compact h2 {
    font-size: 24px;
}

.white-heading h2,
.white-heading span {
    color: #ffffff;
}

.movie-grid,
.featured-grid {
    display: grid;
    gap: 22px;
}

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

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

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

.movie-card {
    min-width: 0;
}

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover {
    border-color: #fed7aa;
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

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

.movie-card-featured .poster-wrap {
    aspect-ratio: 16 / 10;
}

.movie-card-minimal .poster-wrap {
    aspect-ratio: 16 / 10;
}

.poster-wrap img {
    width: 100%;
    height: 100%;
    transition: transform 0.55s ease;
}

.movie-card-link:hover .poster-wrap img {
    transform: scale(1.07);
}

.type-badge,
.score-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.type-badge {
    left: 12px;
    top: 12px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
}

.score-badge {
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    background: rgba(17, 24, 39, 0.8);
    color: #ffffff;
}

.rank-badge {
    left: 12px;
    bottom: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #ffffff;
}

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

.movie-card-body h3 {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.movie-meta,
.movie-one-line {
    display: -webkit-box;
    overflow: hidden;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
}

.movie-meta {
    margin-bottom: 8px;
    -webkit-line-clamp: 1;
}

.movie-one-line {
    min-height: 42px;
    -webkit-line-clamp: 2;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tag-row span {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 12px;
    font-weight: 800;
}

.ranking-band {
    margin-bottom: 78px;
    padding: 68px 0;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #ffffff;
}

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

.ranking-copy span {
    color: #fb923c;
    font-weight: 900;
}

.ranking-copy h2 {
    margin: 12px 0 18px;
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 900;
}

.ranking-copy p {
    margin-bottom: 24px;
    color: #d1d5db;
    line-height: 1.8;
}

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

.ranking-row a {
    display: grid;
    grid-template-columns: 42px 68px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: transform 0.2s ease, background 0.2s ease;
}

.full-ranking .ranking-row a {
    border-color: rgba(229, 231, 235, 0.9);
    background: #ffffff;
    color: #111827;
}

.ranking-row a:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateX(4px);
}

.full-ranking .ranking-row a:hover {
    background: #fff7ed;
}

.ranking-row img {
    width: 68px;
    height: 84px;
    border-radius: 12px;
}

.ranking-number {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #ffffff;
    font-weight: 900;
}

.ranking-number.small {
    background: #fff7ed;
    color: var(--color-primary);
}

.ranking-row h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 900;
}

.ranking-row p {
    overflow: hidden;
    color: #9ca3af;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.full-ranking .ranking-row p {
    color: #6b7280;
}

.inner-hero {
    margin-bottom: 54px;
    padding: 78px 0;
    background: linear-gradient(135deg, #fff7ed, #ffffff 52%, #f3f4f6);
}

.inner-hero span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--color-primary);
    font-weight: 900;
}

.inner-hero h1 {
    max-width: 860px;
    margin-bottom: 14px;
    color: #111827;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.1;
    font-weight: 900;
}

.inner-hero p {
    max-width: 820px;
    color: #6b7280;
    font-size: 18px;
    line-height: 1.8;
}

.category-hero.red,
.category-hero.orange,
.category-hero.pink,
.category-hero.purple,
.category-hero.blue,
.category-hero.green,
.category-hero.cyan,
.category-hero.yellow,
.ranking-hero,
.search-hero {
    color: #ffffff;
}

.category-hero.red { background: linear-gradient(135deg, #fee2e2, #ffffff); }
.category-hero.orange { background: linear-gradient(135deg, #ffedd5, #ffffff); }
.category-hero.pink { background: linear-gradient(135deg, #fce7f3, #ffffff); }
.category-hero.purple { background: linear-gradient(135deg, #ede9fe, #ffffff); }
.category-hero.blue { background: linear-gradient(135deg, #dbeafe, #ffffff); }
.category-hero.green { background: linear-gradient(135deg, #dcfce7, #ffffff); }
.category-hero.cyan { background: linear-gradient(135deg, #cffafe, #ffffff); }
.category-hero.yellow { background: linear-gradient(135deg, #fef9c3, #ffffff); }
.ranking-hero { background: linear-gradient(135deg, #111827, #1f2937); }
.search-hero { background: linear-gradient(135deg, #fff7ed, #fdf2f8); }

.ranking-hero h1,
.ranking-hero p,
.ranking-hero span {
    color: #ffffff;
}

.search-panel {
    display: block;
}

.search-input-wrap {
    position: relative;
    margin-bottom: 16px;
}

.search-input-wrap input {
    width: 100%;
    min-height: 58px;
    padding: 0 58px 0 20px;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    background: #ffffff;
    color: #111827;
    font-size: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    outline: none;
}

.search-input-wrap input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.search-input-wrap span {
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 26px;
    font-weight: 900;
}

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

.filter-pills button {
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.filter-pills button.is-active,
.filter-pills button:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.empty-result {
    margin: 20px 0;
    padding: 18px;
    border-radius: 16px;
    background: #fff7ed;
    color: #c2410c;
    font-weight: 800;
}

.category-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 58px;
}

.category-overview-card img {
    width: 100%;
    height: 180px;
}

.category-overview-card div {
    padding: 20px;
}

.category-overview-card span {
    font-size: 28px;
}

.category-overview-card h2 {
    margin: 10px 0 8px;
    font-size: 22px;
    font-weight: 900;
}

.category-overview-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.category-preview {
    margin-bottom: 54px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    color: #ffffff;
}

.detail-hero-bg,
.detail-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.detail-hero-bg {
    filter: blur(3px) saturate(1.08);
    transform: scale(1.05);
}

.detail-hero-shade {
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.68) 50%, rgba(17, 24, 39, 0.38)), linear-gradient(0deg, rgba(17, 24, 39, 0.9), transparent 45%);
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    padding: 46px 0 72px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: #fed7aa;
    font-size: 14px;
    font-weight: 800;
}

.detail-title-block {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
    align-items: end;
}

.detail-poster {
    width: 260px;
    aspect-ratio: 3 / 4;
    border: 8px solid rgba(255, 255, 255, 0.16);
    border-radius: 26px;
    box-shadow: var(--shadow-strong);
}

.detail-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fed7aa;
    font-weight: 900;
}

.detail-title-block h1 {
    margin-bottom: 16px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 900;
}

.detail-title-block p {
    max-width: 780px;
    margin-bottom: 18px;
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1.8;
}

.detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.detail-meta-row span {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    font-weight: 800;
}

.detail-tags {
    margin-bottom: 22px;
}

.detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    margin-top: -44px;
    margin-bottom: 78px;
    position: relative;
    z-index: 3;
}

.player-panel,
.detail-article,
.detail-side-card,
.related-section {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.player-panel {
    grid-column: 1 / -1;
    padding: 24px;
    background: linear-gradient(135deg, #111827, #1f2937);
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #000000;
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    background: #000000;
}

.play-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.36);
    color: #ffffff;
    text-align: center;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-icon {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 18px 42px rgba(239, 68, 68, 0.35);
    font-size: 28px;
}

.play-cover strong {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 18px;
}

.detail-article {
    padding: 28px;
    background: #ffffff;
}

.detail-article h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 26px;
    font-weight: 900;
}

.detail-article p {
    margin-bottom: 28px;
    color: #374151;
    font-size: 17px;
    line-height: 2;
}

.detail-side-card {
    align-self: start;
    padding: 24px;
    background: #ffffff;
}

.detail-side-card h2 {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 900;
}

.detail-side-card dl {
    display: grid;
    gap: 12px;
}

.detail-side-card dt {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 800;
}

.detail-side-card dd {
    margin: -8px 0 4px;
    color: #111827;
    font-weight: 800;
}

.related-section {
    grid-column: 1 / -1;
    padding: 28px;
    background: #ffffff;
}

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

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
    gap: 34px;
}

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

.site-footer h2 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
}

.site-footer p {
    color: #9ca3af;
    line-height: 1.8;
}

.site-footer ul {
    display: grid;
    gap: 9px;
}

.site-footer a {
    color: #d1d5db;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    font-size: 14px;
}

[hidden] {
    display: none !important;
}

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

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

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-poster {
        min-height: 360px;
        max-width: 520px;
    }

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

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

    .detail-title-block {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .detail-poster {
        width: 210px;
    }

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

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

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

    .hero-section,
    .hero-slider {
        min-height: 760px;
    }

    .hero-slide {
        padding: 42px 0 86px;
    }

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

    .hero-actions {
        display: grid;
    }

    .hero-dots {
        bottom: 28px;
    }

    .category-strip-grid,
    .movie-grid,
    .featured-grid,
    .compact-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

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

    .ranking-row a {
        grid-template-columns: 34px 58px minmax(0, 1fr);
    }

    .ranking-row strong {
        display: none;
    }

    .ranking-row img {
        width: 58px;
        height: 74px;
    }

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

    .detail-poster {
        width: 190px;
    }

    .player-panel,
    .detail-article,
    .detail-side-card,
    .related-section {
        padding: 18px;
        border-radius: 20px;
    }

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

@media (max-width: 520px) {
    .container,
    .header-inner,
    .mobile-nav,
    .hero-slider,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 22px, 1180px);
    }

    .logo-text em {
        display: none;
    }

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

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

    .hero-section,
    .hero-slider {
        min-height: 810px;
    }

    .hero-poster {
        min-height: 320px;
    }

    .hero-poster img {
        min-height: 320px;
    }

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

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