:root {
    --color-cyan: #0891b2;
    --color-blue: #2563eb;
    --color-teal: #0d9488;
    --color-purple: #7c3aed;
    --color-pink: #db2777;
    --color-red: #ef4444;
    --color-green: #16a34a;
    --text-main: #111827;
    --text-soft: #4b5563;
    --text-muted: #6b7280;
    --border-soft: rgba(148, 163, 184, 0.28);
    --bg-soft: #f8fafc;
    --card-bg: #ffffff;
    --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.10);
    --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.12);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-main);
    background: linear-gradient(180deg, #ecfeff 0%, #eff6ff 34%, #f0fdfa 100%);
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-blue), var(--color-teal));
    color: white;
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.28);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 18px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
    font-weight: 650;
}

.desktop-nav a {
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
    opacity: 1;
    transform: translateY(-1px);
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 280px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.17);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    overflow: hidden;
}

.header-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
    padding: 10px 86px 10px 16px;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.header-search button {
    position: absolute;
    right: 5px;
    border: 0;
    border-radius: 999px;
    padding: 6px 14px;
    color: var(--color-blue);
    background: white;
    font-weight: 700;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 9px;
}

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

.mobile-nav {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(14, 116, 144, 0.97);
    padding: 14px 24px 18px;
}

.mobile-nav a {
    display: block;
    padding: 10px 0;
    font-weight: 700;
}

.mobile-nav.is-open {
    display: block;
}

.hero {
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(115deg, #0891b2 0%, #2563eb 48%, #0d9488 100%);
    min-height: 620px;
    display: flex;
    align-items: center;
}

.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    filter: blur(26px);
    animation: pulseGlow 6s ease-in-out infinite;
}

.hero-glow-one {
    top: -150px;
    left: -120px;
}

.hero-glow-two {
    right: -130px;
    bottom: -160px;
    animation-delay: 1.4s;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 48px;
    padding: 72px 0;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--color-cyan);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.detail-hero .eyebrow {
    color: rgba(207, 250, 254, 0.95);
}

.hero h1,
.page-hero h1,
.detail-info h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-description {
    margin: 22px 0 28px;
    max-width: 660px;
    color: rgba(236, 254, 255, 0.93);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-search {
    display: flex;
    width: min(100%, 620px);
    padding: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 18px 42px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(12px);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
    padding: 14px 18px;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.hero-search button,
.primary-button,
.ghost-button,
.filter-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 850;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-search button,
.primary-button {
    color: #0e7490;
    background: white;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.16);
}

.primary-button:hover,
.hero-search button:hover,
.filter-clear:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.20);
}

.ghost-button {
    color: white;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

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

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
    max-width: 620px;
}

.hero-stats span {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.hero-stats strong {
    display: block;
    font-size: 32px;
    line-height: 1;
}

.hero-stats em {
    display: block;
    margin-top: 6px;
    color: rgba(236, 254, 255, 0.78);
    font-style: normal;
    font-size: 13px;
}

.hero-visual {
    min-width: 0;
}

.hero-poster-stack {
    position: relative;
    aspect-ratio: 16 / 19;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.34);
    background: rgba(255, 255, 255, 0.10);
}

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

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

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

.hero-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.88));
}

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

.hero-slide-copy em,
.hero-slide-copy small {
    display: block;
    color: rgba(236, 254, 255, 0.82);
    font-style: normal;
}

.hero-slide-copy strong {
    display: block;
    margin: 8px 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: rgba(15, 23, 42, 0.38);
    font-size: 30px;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.hero-prev {
    left: 16px;
}

.hero-next {
    right: 16px;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 16px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.hero-dot.is-active {
    width: 30px;
    background: white;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hero-tags span,
.genre-pills span,
.detail-tags span,
.movie-card-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    padding: 7px 12px;
    color: white;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.home-layout,
.page-block,
.detail-main {
    padding: 48px 0;
}

.feature-section,
.catalog-section,
.category-overview-section,
.related-section,
.player-section,
.detail-content,
.ranking-card,
.random-section {
    margin-bottom: 54px;
}

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

.section-heading.slim {
    align-items: center;
    margin-bottom: 16px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.section-heading p:not(.eyebrow) {
    margin: 8px 0 0;
    color: var(--text-soft);
}

.text-link {
    color: var(--color-cyan);
    font-weight: 850;
}

.text-link:hover {
    color: var(--color-blue);
}

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.poster-shell {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #cffafe, #dbeafe);
}

.poster-shell.no-image::after,
.hero-poster-stack.no-image::after,
.category-card-cover.no-image::after {
    content: "请在网站根目录放入对应 JPG 图片";
    position: absolute;
    inset: auto 12px 12px;
    color: white;
    font-size: 12px;
    text-align: center;
    z-index: 5;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.76));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
    opacity: 1;
}

.poster-year,
.poster-play {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: white;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 800;
}

.poster-year {
    top: 10px;
    left: 10px;
    padding: 4px 9px;
}

.poster-play {
    right: 10px;
    bottom: 10px;
    padding: 6px 11px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card-body {
    padding: 14px 14px 10px;
}

.movie-card h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 850;
}

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

.movie-card-meta {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

.movie-card-line {
    display: -webkit-box;
    margin: 8px 0 0;
    min-height: 42px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.55;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 14px 14px;
    margin-top: auto;
}

.movie-card-tags span {
    padding: 3px 8px;
    color: #0e7490;
    background: #ecfeff;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
    align-items: start;
    margin-bottom: 54px;
}

.ranking-card,
.ranking-page,
.catalog-section,
.category-overview-section,
.detail-content,
.player-section,
.related-section {
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
    padding: 28px;
    backdrop-filter: blur(10px);
}

.ranking-card ol,
.ranking-list-large {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ranking-row + .ranking-row {
    margin-top: 10px;
}

.ranking-row a {
    display: grid;
    grid-template-columns: 38px 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 8px;
    border-radius: 16px;
    background: #f8fafc;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-row a:hover {
    transform: translateX(4px);
    background: #ecfeff;
}

.ranking-index {
    color: var(--color-red);
    font-weight: 900;
    text-align: center;
}

.ranking-row img {
    width: 54px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    background: #dbeafe;
}

.ranking-info {
    min-width: 0;
}

.ranking-info strong,
.ranking-info em {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ranking-info strong {
    font-weight: 850;
}

.ranking-info em {
    color: var(--text-muted);
    font-style: normal;
    font-size: 12px;
}

.ranking-play {
    color: var(--color-cyan);
    font-weight: 850;
    font-size: 13px;
}

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

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

.category-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    border-radius: 20px;
    padding: 16px;
    background: white;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.category-card-cover {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #cffafe, #bfdbfe);
}

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

.category-card-cover span {
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    color: white;
    background: rgba(15, 23, 42, 0.68);
    font-size: 12px;
    font-weight: 800;
}

.category-card h3 {
    margin: 4px 0 8px;
    font-size: 20px;
}

.category-card p {
    margin: 0 0 10px;
    color: var(--text-soft);
    font-size: 14px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) repeat(4, minmax(140px, 1fr)) auto;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid var(--border-soft);
}

.filter-panel label {
    display: grid;
    gap: 6px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    outline: 0;
    background: white;
    color: var(--text-main);
    padding: 11px 12px;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

.filter-clear {
    align-self: end;
    min-height: 45px;
    color: white;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-blue));
}

.result-counter {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #0e7490;
    background: #ecfeff;
    font-weight: 800;
}

.empty-state {
    margin: 24px 0 0;
    padding: 24px;
    border-radius: 18px;
    color: var(--text-soft);
    text-align: center;
    background: #f8fafc;
}

.random-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 28px;
    padding: 34px;
    color: white;
    background: linear-gradient(100deg, var(--color-purple), var(--color-pink));
    box-shadow: 0 18px 46px rgba(124, 58, 237, 0.24);
}

.random-section .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.random-section h2 {
    margin: 0;
    font-size: 34px;
}

.random-section p:not(.eyebrow) {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.page-hero {
    color: white;
    background: linear-gradient(105deg, var(--color-cyan), var(--color-blue), var(--color-teal));
    padding: 74px 0;
}

.page-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(236, 254, 255, 0.9);
    font-size: 18px;
}

.category-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 34px;
    align-items: center;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 16px;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.92);
}

.compact-card img {
    width: 54px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    background: #dbeafe;
}

.compact-card strong,
.compact-card em {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.compact-card em {
    color: var(--text-muted);
    font-style: normal;
    font-size: 12px;
}

.detail-hero {
    position: relative;
    min-height: 560px;
    color: white;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.64), rgba(15, 23, 42, 0.86)), var(--detail-poster);
    background-size: cover;
    background-position: center;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 26% 24%, rgba(8, 145, 178, 0.40), transparent 34%);
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    padding: 34px 0 64px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 34px;
    color: rgba(236, 254, 255, 0.76);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: white;
}

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

.detail-poster {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
    background: #dbeafe;
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-one-line {
    max-width: 760px;
    margin: 18px 0 18px;
    color: rgba(236, 254, 255, 0.88);
    font-size: 19px;
}

.genre-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.genre-pills span {
    padding: 6px 10px;
    color: white;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.video-player {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

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

.video-play-button {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: white;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.2), rgba(15, 23, 42, 0.56));
}

.video-play-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 18px 40px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
    font-size: 30px;
}

.video-player.is-playing .video-play-button {
    display: none;
}

.player-message {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    pointer-events: none;
}

.source-badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    color: #0e7490;
    background: #ecfeff;
    font-weight: 850;
    font-size: 13px;
}

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

.detail-content h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.detail-content p {
    margin: 0;
    color: var(--text-soft);
    font-size: 16px;
}

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

.info-list div {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: #f8fafc;
}

.info-list dt {
    color: var(--text-muted);
    font-weight: 850;
}

.info-list dd {
    margin: 0;
    color: var(--text-main);
}

.info-list a {
    color: var(--color-cyan);
    font-weight: 850;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-tags span {
    padding: 7px 12px;
    color: #0e7490;
    background: #ecfeff;
}

.site-footer {
    color: white;
    background: linear-gradient(180deg, #1e293b, #0f172a);
    margin-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 34px;
    padding: 46px 0;
}

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

.site-footer p {
    color: rgba(226, 232, 240, 0.82);
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a {
    color: rgba(226, 232, 240, 0.86);
}

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    padding: 18px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: 14px;
}

[hidden] {
    display: none !important;
}

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

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

    .header-search {
        width: 300px;
    }

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

    .hero-inner,
    .category-hero-inner,
    .split-section {
        grid-template-columns: 1fr;
    }

    .hero-poster-stack {
        max-width: 520px;
        margin: 0 auto;
    }

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

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

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

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

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

    .header-inner {
        min-height: 62px;
    }

    .header-search {
        display: none;
    }

    .site-logo span:last-child {
        font-size: 17px;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding: 46px 0;
        gap: 30px;
    }

    .hero-search {
        flex-direction: column;
        border-radius: 24px;
    }

    .hero-search button {
        width: 100%;
    }

    .hero-actions,
    .section-heading,
    .random-section {
        align-items: stretch;
        flex-direction: column;
    }

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

    .hero-poster-stack {
        border-radius: 24px;
    }

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

    .catalog-section,
    .category-overview-section,
    .detail-content,
    .player-section,
    .related-section,
    .ranking-card {
        padding: 18px;
        border-radius: 20px;
    }

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

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

    .category-card {
        grid-template-columns: 94px minmax(0, 1fr);
    }

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

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

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

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

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

    .ranking-play {
        display: none;
    }

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