:root {
    --color-silver: #c0c0c0;
    --color-silver-light: #e8e8e8;
    --color-silver-dark: #a8a8a8;
    --color-moonlight: #f5f5f7;
    --color-night-blue: #1a1f35;
    --color-deep-blue: #0f1419;
    --color-star-white: #ffffff;
    --color-text-primary: #f8fafc;
    --color-text-secondary: #cbd5e1;
    --color-text-light: #94a3b8;
    --gradient-silver: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 100%);
    --gradient-moonlight: linear-gradient(180deg, #0f1419 0%, #1a1f35 52%, #2a3347 100%);
    --gradient-shine: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    --panel: rgba(30, 41, 59, 0.42);
    --panel-strong: rgba(15, 23, 42, 0.82);
    --border: rgba(148, 163, 184, 0.22);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--gradient-moonlight);
    color: var(--color-text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 8%, rgba(192, 192, 192, 0.14), transparent 28%),
        radial-gradient(circle at 86% 12%, rgba(148, 163, 184, 0.16), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(51, 65, 85, 0.36), transparent 40%);
    content: "";
}

body::after {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 70%);
    content: "";
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.section-container {
    width: min(1280px, calc(100% - 32px));
    margin-inline: auto;
}

.text-gradient {
    background-image: linear-gradient(135deg, #ffffff 0%, #e8e8e8 35%, #9ca3af 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.glass-effect {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.silver-border {
    border: 1px solid var(--border);
}

.silver-glow-hover {
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.silver-glow-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.24);
}

.card-hover {
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.card-hover:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: var(--shadow);
    border-color: rgba(232, 232, 232, 0.42);
}

.fade-in {
    animation: fade-in 0.6s ease both;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(51, 65, 85, 0.58);
    background: rgba(15, 20, 25, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(232, 232, 232, 0.36);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 28px rgba(192, 192, 192, 0.16);
}

.brand-mark span {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #e8e8e8;
}

.brand-text {
    font-size: 22px;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.nav-link,
.mobile-link {
    color: #cbd5e1;
    transition: color 0.25s ease;
}

.nav-link {
    font-size: 15px;
    white-space: nowrap;
}

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

.nav-search {
    position: relative;
    flex: 0 0 240px;
}

.nav-search input,
.mobile-search input,
.filter-search input,
.filter-selects select {
    width: 100%;
    border: 1px solid rgba(51, 65, 85, 0.95);
    border-radius: 999px;
    outline: none;
    background: rgba(30, 41, 59, 0.52);
    color: #e2e8f0;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.nav-search input,
.mobile-search input {
    padding: 10px 16px;
}

.nav-search input:focus,
.mobile-search input:focus,
.filter-search input:focus,
.filter-selects select:focus {
    border-color: rgba(232, 232, 232, 0.58);
    background: rgba(30, 41, 59, 0.72);
}

.menu-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.menu-button span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: #e2e8f0;
}

.mobile-nav {
    display: none;
    padding: 0 16px 18px;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    background: rgba(15, 20, 25, 0.96);
}

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

.mobile-link {
    padding: 8px 0;
}

.hero {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
}

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

.hero-stage {
    min-height: 70vh;
}

.hero-slide {
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide::before {
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    filter: brightness(0.42) saturate(1.06);
    transform: scale(1.04);
    content: "";
}

.hero-slide::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, #0f1419 0%, rgba(15, 20, 25, 0.78) 20%, rgba(15, 20, 25, 0.1) 68%, rgba(15, 20, 25, 0.76) 100%),
        radial-gradient(circle at 18% 50%, rgba(15, 20, 25, 0.54), transparent 38%);
    content: "";
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 72px;
}

.hero-copy {
    max-width: 760px;
    text-align: left;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before {
    width: 28px;
    height: 1px;
    background: var(--gradient-silver);
    content: "";
}

.hero h1 {
    margin: 0 0 24px;
    font-size: clamp(44px, 8vw, 84px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.hero p {
    max-width: 660px;
    margin: 0 0 26px;
    color: #cbd5e1;
    font-size: clamp(17px, 2.2vw, 22px);
    line-height: 1.8;
}

.hero-tags,
.detail-meta,
.detail-tags,
.tag-row,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.detail-meta span,
.detail-tags a,
.tag-row span,
.card-meta span {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    color: #dbe4ef;
    font-size: 12px;
}

.hero-tags span,
.detail-meta span,
.detail-tags a {
    padding: 7px 12px;
}

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

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

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

.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
}

.ghost-button {
    border: 1px solid rgba(148, 163, 184, 0.26);
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.44);
}

.hero-controls {
    position: absolute;
    right: 0;
    bottom: 34px;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-arrow,
.hero-dot {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.5);
    color: #ffffff;
    backdrop-filter: blur(12px);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
}

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

.hero-dot {
    width: 34px;
    height: 7px;
    padding: 0;
    border-radius: 999px;
    opacity: 0.56;
}

.hero-dot.is-active {
    width: 54px;
    background: #e8e8e8;
    opacity: 1;
}

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

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

.section-title-row h2,
.sub-hero h1,
.detail-info h1,
.prose-card h2,
.side-panel h2 {
    margin: 0;
    color: #ffffff;
}

.section-title-row h2 {
    font-size: clamp(26px, 3vw, 38px);
}

.section-title-row a {
    color: #cbd5e1;
    font-size: 14px;
}

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

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

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

.movie-card-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.34);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.movie-card-link:hover {
    transform: translateY(-5px) scale(1.012);
    border-color: rgba(232, 232, 232, 0.38);
    box-shadow: var(--shadow);
}

.movie-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.72);
}

.movie-thumb img,
.editor-feature img,
.mini-card img,
.detail-cover,
.rank-card img,
.ranking-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-card-link:hover .movie-thumb img,
.editor-feature:hover img {
    transform: scale(1.08);
}

.movie-thumb img,
.editor-feature img {
    transition: transform 0.5s ease;
}

.thumb-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 58%);
}

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

.type-badge {
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    background: rgba(15, 23, 42, 0.72);
    color: #e2e8f0;
}

.year-badge {
    bottom: 12px;
    left: 12px;
    padding: 5px 9px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.rank-badge {
    top: 12px;
    left: 12px;
    display: grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    background: rgba(234, 179, 8, 0.22);
    color: #fde68a;
}

.movie-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
}

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

.movie-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card p {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.72;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    margin-top: auto;
}

.card-meta span,
.tag-row span {
    padding: 5px 8px;
}

.tag-row {
    gap: 6px;
}

.horizontal-scroll {
    display: grid;
    grid-auto-columns: minmax(280px, 320px);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
}

.horizontal-scroll .movie-card {
    scroll-snap-align: start;
}

.horizontal-scroll::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
}

.editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
    gap: 24px;
}

.editor-feature {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 22px;
    background: rgba(30, 41, 59, 0.34);
}

.editor-feature > div {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.32), transparent);
}

.editor-feature article {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 30px;
}

.editor-feature span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border: 1px solid rgba(234, 179, 8, 0.7);
    border-radius: 999px;
    background: rgba(234, 179, 8, 0.16);
    color: #facc15;
    font-size: 12px;
    font-weight: 700;
}

.editor-feature h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 42px);
}

.editor-feature p {
    max-width: 680px;
    margin: 0;
    color: #cbd5e1;
    line-height: 1.8;
}

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

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

.category-tile,
.channel-card {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    padding: 22px;
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.64), rgba(15, 23, 42, 0.86));
}

.category-tile::after,
.channel-card::after {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: rgba(232, 232, 232, 0.08);
    content: "";
}

.category-tile span,
.channel-card h2 {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
}

.category-tile p,
.channel-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.channel-card {
    min-height: 220px;
}

.channel-sample {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.channel-sample a,
.genre-pill {
    display: inline-flex;
    padding: 7px 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.44);
    color: #cbd5e1;
    font-size: 12px;
}

.genre-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ranking-section {
    padding-bottom: 80px;
}

.ranking-list {
    overflow: hidden;
    border-radius: 20px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 56px 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 86px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    transition: background 0.25s ease;
}

.ranking-row:last-child {
    border-bottom: 0;
}

.ranking-row:hover {
    background: rgba(255, 255, 255, 0.06);
}

.ranking-number {
    color: #e8e8e8;
    font-size: 22px;
    font-weight: 900;
}

.ranking-row img {
    width: 92px;
    height: 52px;
    border-radius: 10px;
}

.ranking-title {
    min-width: 0;
    color: #ffffff;
    font-weight: 700;
}

.ranking-meta {
    color: #94a3b8;
    font-size: 13px;
}

.sub-hero {
    padding-top: 96px;
    padding-bottom: 34px;
}

.sub-hero-copy {
    max-width: 820px;
}

.sub-hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    letter-spacing: -0.04em;
}

.sub-hero p {
    margin: 18px 0 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.85;
}

.filter-panel {
    padding: 22px 0 10px;
}

.filter-card {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.6fr);
    gap: 16px;
    padding: 16px;
    border-radius: 22px;
}

.filter-search input {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
}

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

.filter-selects select {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    color-scheme: dark;
}

.empty-state {
    padding: 48px 0;
    color: #94a3b8;
    text-align: center;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 54px;
}

.detail-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to top, #0f1419 0%, rgba(15, 20, 25, 0.88) 30%, rgba(15, 20, 25, 0.52) 100%),
        var(--detail-image);
    background-position: center;
    background-size: cover;
    filter: saturate(1.05);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 14px;
}

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

.detail-info {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 24px;
    border-radius: 24px;
}

.detail-cover {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.detail-info h1 {
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.detail-info p {
    max-width: 760px;
    margin: 18px 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
}

.detail-tags {
    margin-top: 14px;
}

.player-section {
    padding: 34px 0 16px;
}

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    background:
        radial-gradient(circle at center, rgba(15, 23, 42, 0.24), rgba(0, 0, 0, 0.42)),
        linear-gradient(to top, rgba(0, 0, 0, 0.42), transparent 45%);
    opacity: 1;
    transition: opacity 0.25s ease;
}

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

.play-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 38px rgba(192, 192, 192, 0.28);
    backdrop-filter: blur(12px);
}

.play-icon::before {
    width: 0;
    height: 0;
    margin-left: 6px;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 24px solid #ffffff;
    content: "";
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
}

.prose-card,
.side-panel {
    border-radius: 22px;
    padding: 24px;
}

.prose-card h2,
.side-panel h2 {
    margin-bottom: 14px;
    font-size: 24px;
}

.prose-card p {
    margin: 0 0 24px;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.9;
}

.prose-card p:last-child {
    margin-bottom: 0;
}

.side-panel dl {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px 14px;
    margin: 0;
}

.side-panel dt {
    color: #94a3b8;
}

.side-panel dd {
    margin: 0;
    color: #e2e8f0;
}

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

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

.rank-card a {
    display: grid;
    grid-template-columns: 70px 220px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding: 16px;
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 20px;
    background: rgba(30, 41, 59, 0.34);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rank-card a:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 232, 232, 0.36);
    box-shadow: var(--shadow);
}

.rank-card-number {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
}

.rank-card img {
    aspect-ratio: 16 / 9;
    border-radius: 14px;
}

.rank-card h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 22px;
}

.rank-card p {
    margin: 0 0 12px;
    color: #94a3b8;
    line-height: 1.75;
}

.mini-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.mini-card img {
    width: 76px;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
}

.mini-card span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.site-footer {
    border-top: 1px solid rgba(51, 65, 85, 0.62);
    background: rgba(15, 20, 25, 0.82);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
    gap: 38px;
    padding: 54px 0 34px;
}

.footer-brand {
    margin-bottom: 18px;
}

.site-footer p {
    max-width: 520px;
    margin: 0;
    color: #94a3b8;
    line-height: 1.8;
}

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

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a,
.footer-bottom a {
    color: #94a3b8;
    transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0 34px;
    border-top: 1px solid rgba(51, 65, 85, 0.54);
}

.footer-bottom div {
    display: flex;
    gap: 18px;
}

[hidden] {
    display: none !important;
}

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

    .menu-button {
        display: flex;
        margin-left: auto;
    }

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

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

    .editor-layout,
    .detail-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

    .nav-wrap {
        min-height: 64px;
    }

    .brand-text {
        font-size: 19px;
    }

    .hero,
    .hero-stage {
        min-height: 76vh;
    }

    .hero-copy {
        text-align: left;
    }

    .hero h1 {
        font-size: clamp(38px, 14vw, 58px);
    }

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

    .hero-controls {
        bottom: 20px;
    }

    .section-block {
        padding: 44px 0;
    }

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

    .movie-grid,
    .hot-grid,
    .related-grid,
    .category-grid,
    .channel-grid,
    .editor-side,
    .filter-selects {
        grid-template-columns: 1fr;
    }

    .editor-feature {
        min-height: 380px;
    }

    .detail-info {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .detail-cover {
        width: 100%;
    }

    .rank-card a {
        grid-template-columns: 52px 120px minmax(0, 1fr);
        gap: 12px;
    }

    .rank-card p,
    .rank-card .card-meta {
        display: none;
    }

    .ranking-row {
        grid-template-columns: 44px 72px minmax(0, 1fr);
    }

    .ranking-row img {
        width: 72px;
        height: 42px;
    }

    .ranking-meta {
        display: none;
    }

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