:root {
    --bg: #06101f;
    --bg-soft: #0b1730;
    --bg-card: rgba(13, 28, 55, 0.82);
    --bg-card-solid: #0f1d37;
    --text: #f8fbff;
    --muted: #a9b8d2;
    --muted-strong: #d7e3f7;
    --line: rgba(159, 190, 255, 0.16);
    --blue: #4f8cff;
    --cyan: #35d6ff;
    --purple: #8a5cff;
    --gold: #ffd36a;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    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;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 8%, rgba(79, 140, 255, 0.26), transparent 34rem),
        radial-gradient(circle at 88% 0%, rgba(138, 92, 255, 0.22), transparent 32rem),
        linear-gradient(180deg, #06101f 0%, #071226 52%, #040911 100%);
}

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

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 0 5vw;
    background: rgba(5, 13, 29, 0.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.logo::before,
.footer-logo::before {
    content: "";
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--cyan) 50%, var(--purple));
    box-shadow: 0 12px 34px rgba(79, 140, 255, 0.38);
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
    display: none;
}

.desktop-nav a,
.mobile-nav a {
    color: var(--muted-strong);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 999px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.desktop-nav a {
    padding: 10px 14px;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    color: #ffffff;
    background: rgba(79, 140, 255, 0.16);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 2px;
    background: #ffffff;
}

.mobile-nav {
    position: fixed;
    top: 72px;
    left: 4vw;
    right: 4vw;
    z-index: 49;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 18px;
    background: rgba(8, 19, 39, 0.96);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.mobile-nav.open {
    display: grid;
}

.mobile-nav a {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
}

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 0.8s ease, transform 1.2s ease;
    pointer-events: none;
}

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

.hero-backdrop,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 12, 25, 0.96) 0%, rgba(5, 12, 25, 0.72) 48%, rgba(5, 12, 25, 0.38) 100%),
        linear-gradient(180deg, rgba(5, 12, 25, 0.14), rgba(5, 12, 25, 0.94));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
    align-items: center;
    gap: 56px;
    width: min(1500px, 90vw);
    min-height: 650px;
    margin: 0 auto;
    padding: 80px 0 160px;
}

.hero-text {
    max-width: 850px;
}

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 12px;
    color: #bfe9ff;
    background: rgba(79, 140, 255, 0.16);
    border: 1px solid rgba(53, 214, 255, 0.24);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5.2vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero h2,
.page-hero h1,
.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero p,
.page-hero p,
.detail-copy p {
    max-width: 760px;
    margin: 0 0 24px;
    color: var(--muted-strong);
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.85;
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    color: #dce9ff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.primary-btn,
.ghost-btn,
.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
    color: #03101d;
    background: linear-gradient(135deg, var(--cyan), #84f1ff 45%, var(--gold));
    box-shadow: 0 16px 42px rgba(53, 214, 255, 0.28);
}

.ghost-btn,
.section-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #041323;
    background: #ffffff;
    font-weight: 900;
}

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

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

.hero-dot.active {
    width: 34px;
    background: #ffffff;
}

.hero-search-card {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    width: min(1500px, 90vw);
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(9, 21, 43, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    transform: translateX(-50%);
}

.hero-search-form,
.filter-panel {
    display: flex;
    gap: 10px;
}

.hero-search-form input,
.filter-panel input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    color: #ffffff;
    outline: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.hero-search-form input::placeholder,
.filter-panel input::placeholder {
    color: #7f91b1;
}

.hero-search-form button,
.filter-buttons button {
    min-height: 48px;
    padding: 0 18px;
    color: #041323;
    background: #ffffff;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
}

.quick-cats,
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-cats a,
.filter-buttons button {
    color: #d8e7ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.quick-cats a {
    padding: 11px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.content-section {
    width: min(1500px, 90vw);
    margin: 0 auto;
    padding: 72px 0;
}

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

.section-head h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3vw, 44px);
    letter-spacing: -0.04em;
}

.section-head p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

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

.movie-card {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(53, 214, 255, 0.42);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.movie-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4.08;
    background: rgba(255, 255, 255, 0.06);
}

.movie-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.movie-card:hover .movie-cover img {
    transform: scale(1.08);
}

.cover-glow {
    position: absolute;
    inset: auto 0 0;
    height: 58%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
}

.play-pill {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
    color: #06101f;
    background: #ffffff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-pill {
    opacity: 1;
    transform: translateY(0);
}

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

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #98aac6;
    font-size: 12px;
    font-weight: 800;
}

.movie-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
}

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

.movie-card p {
    min-height: 3.4em;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.line-clamp-2,
.line-clamp-3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    -webkit-line-clamp: 3;
}

.split-section {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 34px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 46px 64px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.rank-item:hover {
    transform: translateX(4px);
    background: rgba(79, 140, 255, 0.1);
    border-color: rgba(53, 214, 255, 0.32);
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    font-weight: 900;
}

.top-rank .rank-number {
    color: #05111f;
    background: linear-gradient(135deg, var(--gold), var(--cyan));
}

.rank-item img {
    width: 64px;
    height: 82px;
    object-fit: cover;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.rank-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.rank-copy strong {
    overflow: hidden;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-copy em {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-heat {
    color: var(--gold);
    font-size: 14px;
    font-weight: 900;
}

.category-grid,
.category-large-grid {
    display: grid;
    gap: 18px;
}

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

.category-tile {
    position: relative;
    display: grid;
    align-content: end;
    min-height: 180px;
    overflow: hidden;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    transition: transform 0.55s ease, opacity 0.55s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(3, 9, 19, 0.9));
}

.category-tile span,
.category-tile em {
    position: relative;
    z-index: 1;
}

.category-tile span {
    font-size: 20px;
    font-weight: 900;
}

.category-tile em {
    margin-top: 8px;
    color: var(--muted-strong);
    font-size: 13px;
    font-style: normal;
    line-height: 1.6;
}

.category-tile:hover img {
    opacity: 0.62;
    transform: scale(1.08);
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 96px 5vw 72px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 12% 20%, rgba(53, 214, 255, 0.22), transparent 28rem),
        radial-gradient(circle at 80% 0%, rgba(138, 92, 255, 0.18), transparent 34rem),
        linear-gradient(135deg, rgba(8, 25, 51, 0.98), rgba(4, 9, 18, 0.98));
}

.page-hero > div {
    width: min(1100px, 90vw);
    margin: 0 auto;
}

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

.category-card-large {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.category-card-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-large h2 {
    margin: 0 0 10px;
}

.category-card-large p {
    color: var(--muted);
    line-height: 1.7;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-samples a {
    padding: 7px 10px;
    color: #cfe0ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.filter-panel {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.filter-panel input {
    max-width: 520px;
}

.filter-buttons button.active {
    color: #041323;
    background: linear-gradient(135deg, var(--cyan), #ffffff);
}

.empty-state {
    display: none;
    margin: 34px 0 0;
    color: var(--muted);
    text-align: center;
}

.empty-state.show {
    display: block;
}

.detail-hero {
    min-height: 640px;
    padding: 0;
}

.detail-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 9, 18, 0.96), rgba(4, 9, 18, 0.72) 48%, rgba(4, 9, 18, 0.5)),
        linear-gradient(180deg, rgba(4, 9, 18, 0.2), rgba(4, 9, 18, 0.96));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
    align-items: center;
    gap: 46px;
    width: min(1360px, 90vw);
    min-height: 640px;
    margin: 0 auto;
    padding: 80px 0;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4.1;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.06);
}

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

.detail-poster span {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    justify-content: center;
    padding: 12px 18px;
    color: #041323;
    background: #ffffff;
    border-radius: 999px;
    font-weight: 900;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--muted-strong);
    font-size: 14px;
}

.breadcrumb a,
.breadcrumb span {
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
}

.detail-main,
.detail-side {
    display: grid;
    align-content: start;
    gap: 24px;
}

.player-block,
.article-panel,
.side-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.16);
}

.player-block {
    overflow: hidden;
}

.player-block h2,
.player-block p,
.article-panel,
.side-card {
    padding: 0 24px;
}

.player-block h2 {
    margin: 24px 0 10px;
    font-size: 28px;
}

.player-block p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.8;
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 1;
}

.player-cover-button {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 0;
    color: #ffffff;
    background: #000000;
    border: 0;
    cursor: pointer;
}

.player-cover-button.hidden {
    display: none;
}

.player-cover-button img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    filter: blur(1px) saturate(1.15);
}

.player-icon {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 18px 55px rgba(53, 214, 255, 0.36);
}

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

.player-cover-button strong {
    position: relative;
    z-index: 2;
    margin-top: 120px;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.34);
    border-radius: 999px;
    backdrop-filter: blur(12px);
}

.article-panel,
.side-card {
    padding-top: 24px;
    padding-bottom: 24px;
}

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

.article-panel p {
    margin: 0;
    color: var(--muted-strong);
    font-size: 16px;
    line-height: 1.9;
}

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

.side-card ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.side-card li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.side-card li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.side-card span {
    color: var(--muted);
}

.side-card strong {
    text-align: right;
}

.side-link {
    display: block;
    margin-top: 10px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    font-weight: 800;
}

.side-link:hover {
    color: var(--cyan);
}

.all-rank-list {
    gap: 10px;
}

.all-rank-list .rank-item {
    grid-template-columns: 56px 58px minmax(0, 1fr) auto;
}

.all-rank-list .rank-item img {
    width: 58px;
    height: 74px;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    width: min(1500px, 90vw);
    margin: 0 auto;
    padding: 54px 0 44px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.site-footer p {
    max-width: 680px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.footer-links a {
    padding: 9px 13px;
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    font-weight: 800;
}

.copyright {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 13px;
}

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

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

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

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

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

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: 860px;
    }

    .hero-content,
    .detail-hero-inner,
    .detail-layout,
    .split-section,
    .category-card-large,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 30px;
        min-height: 740px;
        padding: 58px 0 220px;
    }

    .hero-poster {
        width: min(330px, 78vw);
        transform: none;
    }

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

    .detail-hero-inner {
        padding: 48px 0;
    }

    .detail-poster {
        width: min(300px, 75vw);
    }

    .detail-layout {
        padding-top: 42px;
    }

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

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .site-header {
        min-height: 66px;
    }

    .logo,
    .footer-logo {
        font-size: 20px;
    }

    .mobile-nav {
        top: 66px;
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 820px;
    }

    .hero-content {
        width: min(100% - 28px, 1500px);
        min-height: 700px;
        padding: 40px 0 250px;
    }

    .hero-search-card,
    .content-section,
    .detail-hero-inner,
    .site-footer {
        width: min(100% - 28px, 1500px);
    }

    .hero-search-form,
    .filter-panel {
        display: grid;
        grid-template-columns: 1fr;
    }

    .section-head {
        display: grid;
        align-items: start;
    }

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

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

    .movie-card h3 {
        font-size: 15px;
    }

    .movie-card p {
        font-size: 12px;
    }

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

    .rank-item,
    .all-rank-list .rank-item {
        grid-template-columns: 42px 48px minmax(0, 1fr);
    }

    .rank-heat {
        grid-column: 3;
        font-size: 12px;
    }

    .rank-item img,
    .all-rank-list .rank-item img {
        width: 48px;
        height: 64px;
    }

    .player-block h2,
    .player-block p,
    .article-panel,
    .side-card {
        padding-left: 16px;
        padding-right: 16px;
    }
}
