:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #fff7ed;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --dark: #0f172a;
    --dark-2: #020617;
    --red: #ef4444;
    --orange: #f97316;
    --cyan: #06b6d4;
    --blue: #2563eb;
    --green: #10b981;
    --radius: 18px;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
    backdrop-filter: blur(14px);
}

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

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.logo-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
}

.logo-text {
    font-size: 22px;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #f87171, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

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

.desktop-nav a:hover,
.mobile-nav a:hover,
.site-footer a:hover {
    color: #fb7185;
}

.header-search {
    width: 245px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: #334155;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.header-search input,
.mobile-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
    padding: 10px 12px 10px 16px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
    color: #cbd5e1;
}

.header-search button,
.mobile-search button {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    padding: 10px 14px;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

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

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.mobile-search {
    display: flex;
    overflow: hidden;
    margin-top: 14px;
    border-radius: 14px;
    background: #334155;
}

.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 16% 20%, rgba(6, 182, 212, 0.38), transparent 30%),
                linear-gradient(135deg, #0f172a, #172554 45%, #164e63);
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
    background-size: 28px 28px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
    gap: 48px;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 82px 0 86px;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.90), rgba(2, 6, 23, 0.42)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(1.1);
    transform: scale(1.06);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-slide.is-active::before {
    opacity: 0.42;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #a5f3fc;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-info h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-summary {
    max-width: 720px;
    margin: 0 0 26px;
    color: #cffafe;
    font-size: 19px;
}

.hero-tags,
.detail-meta,
.tag-row,
.quick-links,
.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.detail-meta span,
.tag-row span,
.quick-links a,
.category-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 14px;
    padding: 12px 18px;
    border: 0;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

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

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 14px 28px rgba(239, 68, 68, 0.24);
}

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

.full-button {
    width: 100%;
}

.hero-visual {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.45);
    transform: rotate(2deg);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), transparent 55%);
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
}

.hero-prev {
    left: max(16px, calc((100% - 1180px) / 2 - 72px));
}

.hero-next {
    right: max(16px, calc((100% - 1180px) / 2 - 72px));
}

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

.hero-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: #ffffff;
}

.quick-search-panel {
    position: relative;
    z-index: 4;
    margin-top: -36px;
    padding-bottom: 34px;
}

.quick-search-panel .container {
    border-radius: 24px;
    padding: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.big-search,
.search-page-form {
    display: flex;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.big-search input,
.search-page-form input,
.local-filter input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 15px 18px;
    color: var(--text);
    background: transparent;
}

.big-search button,
.search-page-form button {
    border: 0;
    color: #ffffff;
    padding: 0 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.quick-links {
    margin-top: 16px;
}

.quick-links a,
.category-chips a {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.quick-links a:hover,
.category-chips a:hover,
.category-chips a.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.section {
    padding: 74px 0;
}

.white-section {
    background: #ffffff;
}

.soft-section {
    background: linear-gradient(135deg, #fff7ed, #fff1f2);
}

.dark-section {
    color: #ffffff;
    background: linear-gradient(135deg, #312e81, #581c87, #111827);
}

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

.section-heading h2 {
    display: inline-block;
    margin: 0;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.15;
}

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

.dark-section .section-heading p {
    color: #cbd5e1;
}

.section-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-right: 12px;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--green), #059669);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.2);
}

.section-more {
    color: #059669;
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

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

.poster-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.movie-card-horizontal .poster-wrap {
    aspect-ratio: auto;
    min-height: 235px;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 58%);
}

.duration-badge,
.rank-badge,
.play-chip {
    position: absolute;
    z-index: 2;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.duration-badge {
    right: 10px;
    bottom: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
}

.rank-badge {
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), #e11d48);
}

.play-chip {
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

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

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

.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

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

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

.movie-card p {
    display: -webkit-box;
    min-height: 50px;
    overflow: hidden;
    margin: 0 0 12px;
    color: #64748b;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tag-row span {
    min-height: 26px;
    padding: 3px 9px;
    color: #0e7490;
    background: #ecfeff;
    border-color: #cffafe;
}

.large-tags span {
    min-height: 34px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

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

.category-tile {
    position: relative;
    min-height: 215px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 24px;
    padding: 22px;
    color: #ffffff;
    box-shadow: var(--shadow-soft);
    background: #111827;
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--tile-image);
    background-size: cover;
    background-position: center;
    opacity: 0.72;
    transition: transform 0.45s ease;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), rgba(15, 23, 42, 0.28));
}

.category-tile strong,
.category-tile small,
.category-tile p {
    position: relative;
    z-index: 1;
}

.category-tile strong {
    font-size: 24px;
}

.category-tile p {
    margin: 6px 0 0;
    color: #cbd5e1;
}

.page-hero {
    color: #ffffff;
    padding: 70px 0;
}

.cyan-hero {
    background: linear-gradient(135deg, #0891b2, #2563eb);
}

.red-hero {
    background: linear-gradient(135deg, #dc2626, #f97316);
}

.dark-hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.page-hero h1 {
    font-size: clamp(40px, 6vw, 62px);
}

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

.category-overview-card,
.content-card,
.side-card,
.ranking-side {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.category-overview-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.category-overview-head > span {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 18px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--red), var(--orange));
}

.category-overview-head h2 {
    margin: 0;
}

.category-overview-head p,
.category-overview-card p {
    margin: 3px 0 0;
    color: var(--muted);
}

.category-count {
    margin: 20px 0;
    color: var(--orange);
    font-size: 30px;
    font-weight: 900;
}

.sample-links {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.sample-links a {
    overflow: hidden;
    color: #334155;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 20px;
    align-items: start;
    margin-bottom: 24px;
}

.local-filter,
.solo-filter {
    display: grid;
    gap: 8px;
    color: #334155;
    font-weight: 800;
}

.local-filter input {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
}

.solo-filter {
    max-width: 440px;
    margin-bottom: 20px;
}

.result-meta {
    margin-bottom: 20px;
    color: #64748b;
    font-weight: 800;
}

.empty-state {
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 48px 66px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-list.light .ranking-item {
    color: var(--text);
    background: #ffffff;
    border-color: var(--line);
}

.ranking-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.18);
}

.ranking-number {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange), #e11d48);
}

.ranking-item img {
    width: 66px;
    height: 84px;
    border-radius: 12px;
    object-fit: cover;
    background: #0f172a;
}

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

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

.ranking-copy small {
    color: #94a3b8;
}

.ranking-score {
    color: #f59e0b;
    font-size: 22px;
    font-weight: 900;
}

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

.ranking-side {
    position: sticky;
    top: 92px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding: 44px 0 74px;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.80)), var(--detail-image);
    background-size: cover;
    background-position: center;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(249, 115, 22, 0.32), transparent 34%);
}

.detail-hero .container {
    position: relative;
    z-index: 1;
}

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

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

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
    gap: 34px;
    align-items: center;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
    aspect-ratio: 16 / 9;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000000;
}

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.14));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start span {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 28px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 18px 36px rgba(239, 68, 68, 0.32);
}

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

.player-message {
    position: absolute;
    left: 16px;
    bottom: 12px;
    z-index: 2;
    margin: 0;
    color: #e5e7eb;
    font-size: 13px;
}

.detail-info h1 {
    font-size: clamp(36px, 5vw, 58px);
}

.detail-one-line {
    margin: 0 0 20px;
    color: #e0f2fe;
    font-size: 18px;
}

.detail-meta {
    margin-bottom: 22px;
}

.score-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.score-panel div {
    border-radius: 16px;
    padding: 14px;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.score-panel strong {
    display: block;
    color: #fbbf24;
    font-size: 26px;
    line-height: 1;
}

.score-panel span {
    color: #cbd5e1;
    font-size: 12px;
}

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

.content-card h2,
.side-card h2,
.ranking-side h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.content-card p,
.article-text p,
.side-card p,
.ranking-side p {
    color: #475569;
}

.article-text p {
    margin: 0 0 12px;
}

.info-list {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
}

.info-list div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.info-list dt {
    color: #64748b;
    font-weight: 800;
}

.info-list dd {
    margin: 0;
    color: #0f172a;
}

.info-list a {
    color: #0284c7;
    font-weight: 800;
}

.search-page-form {
    margin-bottom: 20px;
}

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(180deg, #0f172a, #020617);
}

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

.footer-brand p,
.site-footer p,
.site-footer li {
    color: #94a3b8;
    font-size: 14px;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-size: 20px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[hidden] {
    display: none !important;
}

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

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

    .header-search {
        display: none;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        min-height: 680px;
    }

    .hero-visual {
        display: none;
    }

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

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

    .ranking-side {
        position: static;
    }

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

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

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

    .hero {
        min-height: 580px;
    }

    .hero-slide {
        min-height: 580px;
        padding: 70px 0;
    }

    .hero h1,
    .page-hero h1,
    .detail-info h1 {
        font-size: 38px;
    }

    .hero-arrow {
        display: none;
    }

    .quick-search-panel {
        margin-top: 0;
        padding-top: 20px;
    }

    .big-search,
    .search-page-form {
        display: grid;
        border-radius: 16px;
    }

    .big-search button,
    .search-page-form button {
        padding: 12px;
    }

    .section {
        padding: 48px 0;
    }

    .section-heading {
        display: grid;
    }

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

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

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

    .ranking-item {
        grid-template-columns: 38px 54px minmax(0, 1fr);
    }

    .ranking-score {
        display: none;
    }

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

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

@media (max-width: 480px) {
    .container,
    .header-inner,
    .mobile-nav,
    .footer-inner {
        width: min(100% - 24px, 1180px);
    }

    .movie-grid,
    .movie-grid.two-column,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .page-hero,
    .detail-hero {
        padding: 42px 0;
    }
}
