:root {
    color-scheme: dark;
    --bg: #020617;
    --panel: rgba(15, 23, 42, 0.76);
    --panel-strong: rgba(15, 23, 42, 0.94);
    --line: rgba(34, 211, 238, 0.18);
    --line-strong: rgba(34, 211, 238, 0.42);
    --text: #f8fafc;
    --muted: #94a3b8;
    --cyan: #22d3ee;
    --blue: #3b82f6;
    --cyan-soft: rgba(34, 211, 238, 0.12);
    --shadow: 0 24px 80px rgba(8, 145, 178, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(8, 145, 178, 0.18), transparent 34rem),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.16), transparent 38rem),
        var(--bg);
    color: var(--text);
}

body.menu-open {
    overflow: hidden;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.76);
    backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: white;
    box-shadow: 0 0 34px rgba(34, 211, 238, 0.45);
}

.brand-text {
    font-size: 21px;
    background: linear-gradient(90deg, #67e8f9, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    padding: 10px 16px;
    border-radius: 999px;
    color: #cbd5e1;
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(34, 211, 238, 0.12);
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.24);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.8);
    color: white;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: var(--cyan);
}

.hero-section {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg,
.page-hero-bg,
.detail-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-wire {
    position: absolute;
    inset: 0;
    opacity: 0.38;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.08) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at 35% 45%, black, transparent 72%);
}

.hero-bg::after,
.page-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(2, 6, 23, 0.72), var(--bg));
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(42px);
    animation: pulseGlow 5s ease-in-out infinite;
}

.hero-orb-a {
    top: 0;
    left: -80px;
    width: 330px;
    height: 330px;
    background: rgba(34, 211, 238, 0.22);
}

.hero-orb-b {
    right: -100px;
    bottom: 40px;
    width: 460px;
    height: 460px;
    background: rgba(59, 130, 246, 0.22);
    animation-delay: 1.2s;
}

.hero-radial {
    position: absolute;
    inset: 15% 20%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 62%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
    gap: 52px;
    align-items: center;
    padding: 110px 0 130px;
}

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

.hero-badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    border: 1px solid var(--line-strong);
    background: rgba(34, 211, 238, 0.1);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 800;
    backdrop-filter: blur(14px);
}

.hero-copy h1 {
    margin: 24px 0 24px;
    font-size: clamp(48px, 8vw, 86px);
    line-height: 0.96;
    letter-spacing: -0.07em;
}

.hero-copy h1 span {
    display: block;
    background: linear-gradient(90deg, #67e8f9, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: softPulse 3s ease-in-out infinite;
}

.hero-copy h1 strong {
    display: block;
    color: white;
    font-weight: 900;
}

.hero-copy p,
.page-hero-content p,
.section-heading p,
.movie-info p,
.category-card-body p,
.article-card p,
.site-footer p,
.detail-one-line {
    color: var(--muted);
    line-height: 1.8;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 32px;
    font-size: 20px;
}

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

.primary-button,
.ghost-button,
.section-more,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.primary-button {
    padding: 0 24px;
    color: white;
    background: linear-gradient(90deg, #06b6d4, #2563eb);
    box-shadow: 0 16px 42px rgba(14, 165, 233, 0.28);
}

.ghost-button {
    padding: 0 24px;
    color: #e0f2fe;
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(34, 211, 238, 0.45);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.text-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(34, 211, 238, 0.22);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 520px;
    margin-top: 42px;
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.36);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.hero-stats div {
    padding: 20px 18px;
    text-align: center;
}

.hero-stats div + div {
    border-left: 1px solid rgba(34, 211, 238, 0.16);
}

.hero-stats strong {
    display: block;
    color: var(--cyan);
    font-size: 28px;
}

.hero-stats span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-links a {
    border-radius: 999px;
    padding: 8px 13px;
    color: #bae6fd;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.14);
}

.hero-feature {
    position: relative;
}

.hero-slider {
    position: relative;
    height: 520px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.24);
    background: rgba(15, 23, 42, 0.66);
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.1), rgba(8, 145, 178, 0.16));
}

.hero-slide-glow {
    position: absolute;
    inset: auto 24px 24px 24px;
    height: 40%;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.28);
    filter: blur(48px);
    z-index: 1;
}

.hero-slide-content {
    position: absolute;
    z-index: 2;
    left: 26px;
    right: 26px;
    bottom: 28px;
}

.hero-slide-content strong,
.hero-slide-content em {
    display: block;
}

.hero-slide-content strong {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.25;
}

.hero-slide-content em {
    margin-top: 8px;
    color: #bae6fd;
    font-style: normal;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.hero-dot {
    width: 36px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
}

.hero-dot.active {
    width: 54px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 3;
    height: 92px;
}

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

.hero-wave path {
    fill: var(--bg);
}

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

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

.section-heading h2,
.page-hero-content h1,
.article-card h2,
.ranking-aside h2 {
    margin: 12px 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    max-width: 680px;
}

.section-more,
.text-link {
    min-height: 40px;
    padding: 0 16px;
    color: var(--cyan);
    border: 1px solid var(--line-strong);
    background: rgba(34, 211, 238, 0.08);
}

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

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.13);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.6);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(15, 23, 42, 0.84);
    box-shadow: 0 22px 60px rgba(8, 145, 178, 0.18);
}

.movie-thumb {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: rgba(8, 47, 73, 0.45);
}

.movie-thumb img,
.category-tile img,
.category-card-cover img,
.detail-poster img,
.detail-backdrop img,
.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-card:hover .movie-thumb img,
.category-tile:hover img,
.category-card:hover img {
    transform: scale(1.08);
}

.movie-thumb img,
.category-tile img,
.category-card-cover img {
    transition: transform 0.5s ease;
}

.movie-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.78), transparent 58%);
    opacity: 0;
    transition: opacity 0.28s ease;
}

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

.quality-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 900;
}

.quality-badge {
    right: 12px;
    color: #ecfeff;
    background: rgba(34, 211, 238, 0.82);
}

.rank-badge {
    left: 12px;
    color: white;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(34, 211, 238, 0.28);
}

.play-dot {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.86);
    color: white;
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
    box-shadow: 0 0 34px rgba(34, 211, 238, 0.45);
}

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

.movie-info {
    padding: 16px;
}

.movie-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #67e8f9;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.movie-info h2,
.movie-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

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

.movie-card-wide {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 150px;
}

.movie-card-wide .movie-thumb {
    aspect-ratio: auto;
    height: 100%;
}

.movie-card-tags,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.movie-card-tags span,
.tag-cloud span {
    border-radius: 999px;
    padding: 6px 10px;
    color: #bae6fd;
    background: rgba(34, 211, 238, 0.09);
    border: 1px solid rgba(34, 211, 238, 0.16);
    font-size: 12px;
}

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

.category-tile {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(34, 211, 238, 0.16);
    background: rgba(15, 23, 42, 0.62);
    box-shadow: var(--shadow);
}

.category-tile > span {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.24));
}

.category-tile div {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
}

.category-tile strong {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.category-tile p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.65;
}

.page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(34, 211, 238, 0.12);
}

.compact-hero {
    min-height: 360px;
    display: flex;
    align-items: center;
}

.page-hero-bg {
    background:
        radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.22), transparent 32rem),
        radial-gradient(circle at 85% 45%, rgba(37, 99, 235, 0.2), transparent 28rem),
        linear-gradient(120deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.72));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 80px 0;
}

.page-hero-content p {
    max-width: 760px;
    margin: 0;
    font-size: 18px;
}

.category-card {
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-radius: 26px;
    background: var(--panel);
    box-shadow: 0 20px 55px rgba(2, 6, 23, 0.22);
}

.category-card-cover {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    height: 220px;
    overflow: hidden;
    background: rgba(8, 47, 73, 0.42);
}

.category-card-body {
    padding: 20px;
}

.category-card-body span {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.category-card-body h2 {
    margin: 8px 0 8px;
    font-size: 24px;
}

.tool-bar,
.search-panel {
    display: grid;
    gap: 22px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(560px, 100%);
    padding: 10px 14px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.78);
}

.full-search {
    width: 100%;
}

.search-box span {
    color: var(--cyan);
    font-weight: 900;
}

.search-box input {
    width: 100%;
    min-height: 42px;
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
    font: inherit;
}

.search-box input::placeholder {
    color: #64748b;
}

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

.filter-chip {
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 999px;
    padding: 10px 16px;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.68);
    cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
    color: white;
    border-color: rgba(34, 211, 238, 0.55);
    background: rgba(34, 211, 238, 0.15);
}

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

.ranking-aside {
    position: sticky;
    top: 92px;
    align-self: start;
    padding: 20px;
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.72);
}

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

.detail-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
}

.detail-backdrop img {
    filter: blur(18px) saturate(1.08);
    transform: scale(1.08);
    opacity: 0.28;
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(2, 6, 23, 0.42), var(--bg)),
        radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.18), transparent 34rem);
}

.detail-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0 54px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    color: #cbd5e1;
    font-size: 14px;
}

.breadcrumb a {
    color: #67e8f9;
}

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

.detail-poster {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(34, 211, 238, 0.26);
    background: rgba(8, 47, 73, 0.45);
    box-shadow: var(--shadow);
}

.detail-copy h1 {
    margin: 20px 0 16px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.detail-one-line {
    max-width: 780px;
    font-size: 19px;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
}

.detail-meta li {
    padding: 14px;
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.62);
}

.detail-meta span,
.detail-meta strong {
    display: block;
}

.detail-meta span {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 4px;
}

.detail-meta strong {
    color: white;
    font-size: 14px;
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 28px;
    align-items: start;
}

.player-shell,
.article-card {
    border: 1px solid rgba(34, 211, 238, 0.16);
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: var(--shadow);
}

.player-shell {
    padding: 12px;
}

.player-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    background: #000;
}

.player-frame video,
.player-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.player-frame video {
    z-index: 1;
    object-fit: contain;
    background: #000;
}

.player-cover {
    z-index: 2;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: white;
    background: #000;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

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

.player-cover-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(34, 211, 238, 0.16), transparent 34%),
        linear-gradient(to top, rgba(2, 6, 23, 0.84), rgba(2, 6, 23, 0.18));
}

.player-button {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    transform: translate(-50%, -50%);
    font-size: 32px;
    box-shadow: 0 0 48px rgba(34, 211, 238, 0.5);
}

.article-card {
    padding: 28px;
}

.article-card h2 {
    font-size: 24px;
}

.article-card p {
    margin: 0 0 24px;
}

.site-footer {
    margin-top: 60px;
    border-top: 1px solid rgba(34, 211, 238, 0.14);
    background: rgba(2, 6, 23, 0.82);
}

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

.footer-brand {
    color: var(--cyan);
    font-size: 22px;
}

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

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

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 30px;
    color: #64748b;
    border-top: 1px solid rgba(34, 211, 238, 0.1);
    font-size: 14px;
}

[data-card].is-hidden {
    display: none;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.75;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.06);
    }
}

@keyframes softPulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.22);
    }
}

@media (max-width: 1100px) {
    .hero-inner,
    .detail-grid,
    .detail-content,
    .ranking-layout {
        grid-template-columns: 1fr;
    }

    .hero-feature {
        max-width: 560px;
    }

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

    .ranking-aside {
        position: static;
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: 72px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border: 1px solid rgba(34, 211, 238, 0.18);
        border-radius: 20px;
        background: rgba(2, 6, 23, 0.96);
        box-shadow: var(--shadow);
    }

    body.menu-open .site-nav {
        display: flex;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-inner {
        padding-top: 72px;
        gap: 36px;
    }

    .hero-slider {
        height: 420px;
    }

    .hero-stats,
    .detail-meta,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats div + div {
        border-left: 0;
        border-top: 1px solid rgba(34, 211, 238, 0.16);
    }

    .section-heading {
        display: grid;
    }

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

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

    .movie-card-wide .movie-thumb {
        aspect-ratio: 16 / 10;
    }

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

@media (max-width: 560px) {
    .site-header-inner,
    .content-section,
    .page-hero-content,
    .detail-inner,
    .footer-grid,
    .footer-bottom,
    .hero-inner {
        width: min(100% - 24px, 1180px);
    }

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

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-copy p,
    .page-hero-content p,
    .detail-one-line {
        font-size: 16px;
    }

    .hero-actions,
    .small-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .primary-button,
    .ghost-button {
        width: 100%;
    }

    .hero-slider {
        height: 360px;
        border-radius: 22px;
    }

    .movie-grid,
    .all-grid,
    .category-grid,
    .category-card-grid,
    .wide-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 38px 0;
    }

    .detail-copy h1 {
        font-size: 34px;
    }

    .article-card,
    .ranking-aside {
        padding: 20px;
    }
}
