:root {
    color-scheme: dark;
    --bg: #07111f;
    --bg-soft: #0f1d33;
    --panel: rgba(15, 29, 51, 0.82);
    --panel-solid: #102039;
    --text: #f8fafc;
    --muted: #9fb2ca;
    --line: rgba(148, 163, 184, 0.22);
    --cyan: #22d3ee;
    --blue: #3b82f6;
    --indigo: #6366f1;
    --pink: #f472b6;
    --gold: #fbbf24;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 30rem),
        radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.18), transparent 28rem),
        linear-gradient(135deg, #06101d 0%, #0b1628 44%, #111827 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(7, 17, 31, 0.92), rgba(15, 36, 65, 0.9), rgba(7, 17, 31, 0.92));
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner,
.content-section,
.page-hero > div,
.detail-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

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

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #ffffff;
    font-weight: 900;
    font-size: 22px;
    box-shadow: 0 14px 28px rgba(34, 211, 238, 0.26);
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-name {
    font-weight: 900;
    font-size: 21px;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #bae6fd, #67e8f9, #bfdbfe);
    -webkit-background-clip: text;
    color: transparent;
}

.brand-subtitle {
    color: #bfdbfe;
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #dbeafe;
    font-weight: 700;
}

.desktop-nav a,
.mobile-nav a,
.site-footer a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.site-footer a:hover {
    color: var(--cyan);
}

.header-search,
.mobile-search,
.hero-search,
.page-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.hero-search input,
.page-search input,
.filter-bar input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--text);
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
    width: 220px;
    padding: 10px 14px;
}

.header-search button,
.mobile-search button,
.hero-search button,
.page-search button,
.primary-btn,
.ghost-btn {
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.hero-search button,
.page-search button,
.primary-btn {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 16px 34px rgba(34, 211, 238, 0.22);
}

.header-search button,
.mobile-search button {
    padding: 10px 15px;
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.page-search input:focus,
.filter-bar input:focus {
    border-color: rgba(34, 211, 238, 0.7);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.14);
    background: rgba(15, 23, 42, 0.95);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.75);
    cursor: pointer;
}

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

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding: 16px;
    background: rgba(7, 17, 31, 0.96);
}

.mobile-panel.open {
    display: grid;
    gap: 18px;
}

.mobile-search input {
    padding: 12px 14px;
}

.mobile-nav {
    display: grid;
    gap: 12px;
    color: #dbeafe;
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: #020617;
}

.hero-slides {
    position: relative;
    min-height: 640px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

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

.hero-bg,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    filter: saturate(1.1) contrast(1.04);
}

.hero-mask,
.detail-mask {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 74% 42%, rgba(34, 211, 238, 0.22), transparent 24rem),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.74) 46%, rgba(15, 23, 42, 0.48)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.98), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 56px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 96px 0 120px;
}

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

.hero-kicker,
.page-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border: 1px solid rgba(34, 211, 238, 0.32);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    color: #a5f3fc;
    font-size: 14px;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.hero h1,
.hero-title-text {
    margin: 24px 0 12px;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.95;
    font-weight: 1000;
    letter-spacing: -0.06em;
    background: linear-gradient(90deg, #ecfeff, #67e8f9, #93c5fd);
    -webkit-background-clip: text;
    color: transparent;
}

.hero h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.05;
    font-weight: 1000;
}

.hero p {
    max-width: 680px;
    color: #dbeafe;
    font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.detail-tags,
.card-tags,
.search-chips,
.hero-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags,
.detail-tags {
    margin: 24px 0;
}

.hero-tags span,
.detail-tags span,
.card-tags span,
.search-chips a,
.hero-categories a {
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.58);
    color: #dbeafe;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 800;
}

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

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
}

.ghost-btn {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.primary-btn:hover,
.ghost-btn:hover,
.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.page-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(34, 211, 238, 0.32);
}

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}

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

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue);
    font-size: 28px;
    transform: translate(-50%, -50%);
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 142px;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(-50%);
}

.hero-controls button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

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

.hero-dot {
    width: 11px !important;
    height: 11px !important;
    border: 0 !important;
    background: rgba(255, 255, 255, 0.42) !important;
}

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

.hero-quick {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(1180px, calc(100% - 32px));
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.62);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
}

.hero-search input,
.page-search input {
    min-height: 52px;
    padding: 0 18px;
}

.hero-search button,
.page-search button {
    min-height: 52px;
    padding: 0 22px;
    min-width: max-content;
}

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

.hero-thumb {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.42);
}

.hero-thumb img {
    width: 44px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
}

.hero-thumb span {
    overflow: hidden;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.first-section {
    padding-top: 72px;
}

.soft-panel {
    width: min(1180px, calc(100% - 32px));
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(15, 29, 51, 0.9), rgba(30, 41, 59, 0.62));
    box-shadow: var(--shadow);
}

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

.section-heading h2 {
    margin: 0;
    color: #eff6ff;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.15;
    font-weight: 1000;
}

.section-heading p {
    margin: 8px 0 0;
    max-width: 720px;
    color: var(--muted);
}

.section-more {
    color: #67e8f9;
    font-weight: 900;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    background: rgba(15, 29, 51, 0.72);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
    transform: translateY(-6px);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #020617;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), transparent 48%);
}

.poster-year,
.rank-badge {
    position: absolute;
    top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 28px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 1000;
}

.poster-year {
    right: 10px;
    background: rgba(2, 6, 23, 0.72);
    color: #ffffff;
}

.rank-badge {
    left: 10px;
    background: linear-gradient(135deg, var(--gold), #f97316);
    color: #1f1300;
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.movie-card-body {
    display: grid;
    gap: 8px;
    padding: 15px;
}

.movie-card h3 {
    margin: 0;
    color: #eff6ff;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 1000;
}

.movie-card h3 a:hover {
    color: #67e8f9;
}

.card-meta,
.card-desc {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.card-desc {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-tags span {
    padding: 4px 8px;
    font-size: 12px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 56px;
    background:
        radial-gradient(circle at 15% 20%, rgba(34, 211, 238, 0.18), transparent 28rem),
        radial-gradient(circle at 90% 10%, rgba(99, 102, 241, 0.18), transparent 30rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(15, 29, 51, 0.92));
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.page-hero h1 {
    margin: 18px 0 12px;
    max-width: 860px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.04;
    font-weight: 1000;
    letter-spacing: -0.04em;
}

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

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

.category-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 26px;
    background: rgba(15, 29, 51, 0.76);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
    border-color: rgba(34, 211, 238, 0.42);
    transform: translateY(-5px);
}

.category-covers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    height: 170px;
    overflow: hidden;
    background: #020617;
}

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

.category-body {
    padding: 22px;
}

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

.category-body p {
    margin: 0 0 16px;
    color: var(--muted);
}

.category-body span {
    color: #67e8f9;
    font-weight: 900;
}

.filter-panel {
    padding-top: 38px;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    background: rgba(15, 29, 51, 0.72);
}

.filter-bar label {
    display: grid;
    gap: 8px;
    width: min(520px, 100%);
    color: #bfdbfe;
    font-weight: 900;
}

.filter-bar input {
    min-height: 48px;
    padding: 0 15px;
}

.filter-bar p {
    margin: 0;
    color: var(--muted);
}

.no-results {
    display: none;
    margin: 24px 0 0;
    padding: 28px;
    border: 1px dashed rgba(148, 163, 184, 0.28);
    border-radius: 20px;
    color: #cbd5e1;
    text-align: center;
}

.no-results.show {
    display: block;
}

.page-search {
    max-width: 760px;
    margin-top: 28px;
}

.search-chips {
    margin-top: 18px;
}

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

.ranking-sidebar {
    position: sticky;
    top: 94px;
    align-self: start;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 26px;
    background: rgba(15, 29, 51, 0.76);
    box-shadow: var(--shadow);
}

.ranking-sidebar h2 {
    margin: 0 0 18px;
}

.ranking-sidebar ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-sidebar a {
    display: grid;
    grid-template-columns: 34px 52px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 9px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.35);
}

.ranking-sidebar a:hover {
    background: rgba(34, 211, 238, 0.1);
}

.ranking-number {
    color: var(--gold);
    font-weight: 1000;
    text-align: center;
}

.ranking-sidebar img {
    width: 52px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
}

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

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

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

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 590px;
    background: #020617;
}

.detail-inner {
    position: relative;
    z-index: 2;
    padding: 64px 0 70px;
}

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

.breadcrumb a {
    color: #67e8f9;
}

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

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

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

.detail-copy h1 {
    margin: 0;
    max-width: 830px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.04;
    font-weight: 1000;
    letter-spacing: -0.04em;
}

.detail-one-line {
    margin: 18px 0 0;
    max-width: 800px;
    color: #dbeafe;
    font-size: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #e0f2fe;
    font-weight: 900;
}

.player-section {
    padding-top: 44px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 28px;
    background: #000000;
    box-shadow: var(--shadow);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 8px;
    border: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.24));
    color: #ffffff;
    cursor: pointer;
    text-align: center;
}

.player-overlay.hide {
    display: none;
}

.play-circle {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue);
    font-size: 32px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
}

.player-overlay strong {
    font-size: clamp(22px, 3vw, 36px);
}

.player-overlay em {
    color: #bfdbfe;
    font-style: normal;
    font-weight: 900;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.detail-content article {
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 26px;
    background: rgba(15, 29, 51, 0.72);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.detail-content h2 {
    margin: 0 0 14px;
    color: #eff6ff;
    font-size: 26px;
}

.detail-content p {
    margin: 0;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.9;
}

.site-footer {
    margin-top: 40px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.98));
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 34px;
    padding: 48px 0 36px;
}

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

.site-footer p {
    margin: 0;
    color: var(--muted);
}

.site-footer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #cbd5e1;
}

.footer-brand {
    display: grid;
    gap: 14px;
}

.footer-logo {
    font-weight: 1000;
    font-size: 22px;
}

.footer-bottom {
    padding: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    color: #94a3b8;
    text-align: center;
}

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

    .mobile-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 70px;
    }

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

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

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

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

    .ranking-sidebar {
        position: static;
    }
}

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

    .brand-subtitle {
        display: none;
    }

    .hero {
        min-height: 820px;
    }

    .hero-slides {
        min-height: 650px;
    }

    .hero-content {
        padding: 46px 0 170px;
    }

    .hero h1,
    .hero-title-text {
        font-size: 44px;
    }

    .hero h2 {
        font-size: 32px;
    }

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

    .hero-controls {
        bottom: 176px;
    }

    .hero-quick {
        bottom: 14px;
    }

    .hero-search,
    .page-search {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-thumbs {
        display: none;
    }

    .section-heading,
    .filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .soft-panel {
        padding: 26px;
    }

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

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

    .card-desc {
        display: none;
    }

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

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

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

    .detail-inner {
        padding-top: 40px;
    }

    .player-overlay strong {
        padding: 0 18px;
    }
}
