* {
    box-sizing: border-box;
}

:root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.72);
    --bg-card-strong: rgba(15, 23, 42, 0.92);
    --line: rgba(34, 211, 238, 0.2);
    --line-soft: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --cyan: #22d3ee;
    --cyan-strong: #06b6d4;
    --blue: #3b82f6;
    --orange: #fb923c;
    --green: #34d399;
    --purple: #c084fc;
    --shadow: 0 24px 80px rgba(8, 145, 178, 0.22);
    --radius: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(8, 145, 178, 0.26), transparent 34rem),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.18), transparent 28rem),
        linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

main {
    min-height: 58vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 6, 23, 0.92);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 50px rgba(34, 211, 238, 0.1);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

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

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: clamp(18px, 2vw, 26px);
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--cyan), #60a5fa, #a5f3fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-copy em {
    margin-top: 4px;
    color: rgba(34, 211, 238, 0.68);
    font-size: 12px;
    font-style: normal;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.main-nav a,
.mobile-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted-strong);
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.12);
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.22);
}

.nav-toggle {
    width: 42px;
    height: 42px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--cyan);
    background: rgba(15, 23, 42, 0.78);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--cyan);
}

.mobile-nav {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
}

.mobile-nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.hero {
    position: relative;
    height: min(760px, 72vh);
    min-height: 520px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #020617;
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.72) 42%, rgba(2, 6, 23, 0.18) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.96), transparent 48%),
        radial-gradient(circle at 20% 28%, rgba(34, 211, 238, 0.28), transparent 28rem);
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    bottom: 120px;
    width: min(720px, calc(100% - 48px));
    z-index: 3;
}

.hero-kicker,
.page-hero span {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 14px;
    border: 1px solid rgba(34, 211, 238, 0.34);
    border-radius: 999px;
    color: #a5f3fc;
    background: rgba(8, 47, 73, 0.55);
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.12);
    font-size: 14px;
}

.hero-content h1,
.page-hero h1 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(42px, 6vw, 84px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.hero-content p,
.page-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #dbeafe;
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1.8;
}

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

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.22);
    font-size: 12px;
}

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

.btn,
.search-page-form button,
.hero-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.search-page-form button:hover,
.hero-search button:hover {
    transform: translateY(-2px);
}

.btn-primary,
.search-page-form button,
.hero-search button {
    color: #04131a;
    background: linear-gradient(135deg, var(--cyan), #60a5fa);
    box-shadow: 0 18px 50px rgba(34, 211, 238, 0.28);
}

.btn-ghost {
    color: #a5f3fc;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(34, 211, 238, 0.28);
    backdrop-filter: blur(10px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #fff;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(14px);
    font-size: 34px;
    line-height: 1;
    transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
    background: rgba(6, 182, 212, 0.78);
    transform: translateY(-50%) scale(1.04);
}

.hero-prev {
    left: 24px;
    transform: translateY(-50%);
}

.hero-next {
    right: 24px;
    transform: translateY(-50%);
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.active {
    width: 34px;
    background: var(--cyan);
}

.hero-search {
    position: absolute;
    right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    bottom: 112px;
    z-index: 5;
    width: min(420px, calc(100% - 48px));
    display: flex;
    padding: 8px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.62);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(20px);
}

.hero-search input,
.inline-filter input,
.search-page-form input {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    color: var(--text);
    background: rgba(15, 23, 42, 0.78);
    outline: none;
}

.hero-search input {
    border: 0;
    background: transparent;
    padding: 0 14px;
}

.content-shell,
.detail-shell {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.home-shell,
.category-overview,
.ranking-shell,
.search-results-shell,
.text-page {
    padding: 56px 0 76px;
}

.section-block {
    margin-top: 52px;
}

.section-block:first-child {
    margin-top: 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.section-heading h2,
.section-heading h3 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    background: linear-gradient(90deg, var(--cyan), #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-heading.slim h2,
.section-heading.slim h3 {
    font-size: 22px;
}

.section-heading a {
    margin-left: auto;
    color: #a5f3fc;
    font-size: 14px;
}

.heading-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #04131a;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
}

.heading-icon.orange {
    background: linear-gradient(135deg, var(--orange), #ef4444);
}

.heading-icon.green {
    background: linear-gradient(135deg, var(--green), #10b981);
}

.heading-icon.purple {
    background: linear-gradient(135deg, var(--purple), #f472b6);
}

.movie-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 18px;
    padding: 2px 2px 16px;
    overflow-x: auto;
    scrollbar-color: rgba(34, 211, 238, 0.5) rgba(15, 23, 42, 0.7);
}

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

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

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

.movie-card,
.movie-list-card,
.category-card,
.category-overview-card,
.rank-panel,
.side-card,
.detail-card,
.text-card {
    border: 1px solid var(--line-soft);
    background: var(--bg-card);
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.35);
    backdrop-filter: blur(14px);
}

.movie-card {
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.46);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: var(--shadow);
}

.movie-card-link,
.movie-list-link {
    display: block;
    height: 100%;
}

.movie-poster {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
    background: #020617;
}

.movie-poster img,
.movie-list-poster img,
.category-card img,
.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.movie-card:hover img,
.movie-list-card:hover img,
.category-card:hover img {
    transform: scale(1.07);
}

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

.card-play,
.card-type {
    position: absolute;
    z-index: 2;
}

.card-play {
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #04131a;
    background: rgba(34, 211, 238, 0.92);
    box-shadow: 0 0 36px rgba(34, 211, 238, 0.42);
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-type {
    right: 10px;
    top: 10px;
    padding: 5px 9px;
    border-radius: 9px;
    color: #fff;
    background: rgba(6, 182, 212, 0.82);
    font-size: 12px;
}

.movie-card-body {
    display: flex;
    min-height: 132px;
    flex-direction: column;
    gap: 9px;
    padding: 14px;
}

.movie-card-body strong,
.movie-list-info strong {
    display: -webkit-box;
    overflow: hidden;
    color: #f8fafc;
    font-size: 16px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    color: var(--muted);
    font-size: 13px;
}

.tag-row {
    margin-top: auto;
}

.movie-list-card {
    border-radius: 18px;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-list-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.42);
    box-shadow: var(--shadow);
}

.movie-list-link {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
}

.movie-list-poster {
    position: relative;
    display: block;
    min-height: 144px;
    overflow: hidden;
}

.movie-list-info {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 20px;
}

.movie-list-info em {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted-strong);
    font-style: normal;
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.category-card {
    position: relative;
    min-height: 178px;
    overflow: hidden;
    border-radius: 20px;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.1));
}

.category-card span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-card strong {
    color: #f8fafc;
    font-size: 20px;
}

.category-card em {
    display: -webkit-box;
    overflow: hidden;
    color: #bfdbfe;
    font-size: 13px;
    font-style: normal;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.list-stack {
    display: grid;
    gap: 14px;
}

.rank-panel {
    position: sticky;
    top: 100px;
    border-radius: 20px;
    padding: 22px;
}

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

.ranking-item a {
    display: grid;
    grid-template-columns: 46px 86px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.45);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.ranking-item a:hover {
    transform: translateX(3px);
    border-color: rgba(34, 211, 238, 0.36);
    background: rgba(15, 23, 42, 0.84);
}

.ranking-number {
    color: var(--cyan);
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

.ranking-item img {
    width: 86px;
    height: 58px;
    object-fit: cover;
    border-radius: 10px;
}

.ranking-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
}

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

.ranking-copy strong {
    color: #f8fafc;
}

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

.page-hero {
    min-height: 360px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(115deg, rgba(2, 6, 23, 0.94), rgba(8, 47, 73, 0.64)),
        radial-gradient(circle at 74% 28%, rgba(34, 211, 238, 0.2), transparent 24rem);
}

.page-hero > div {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0;
}

.compact-hero {
    min-height: 300px;
}

.inline-filter {
    max-width: 620px;
    margin-top: 24px;
}

.inline-filter input,
.search-page-form input {
    padding: 0 16px;
}

.category-overview {
    display: grid;
    gap: 26px;
}

.category-overview-card {
    padding: 24px;
    border-radius: 22px;
}

.category-overview-title {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.category-overview-title span {
    color: #a5f3fc;
    font-size: 24px;
    font-weight: 800;
}

.category-overview-title em {
    color: var(--muted-strong);
    font-style: normal;
}

.ranking-shell {
    max-width: 980px;
}

.search-page-form {
    max-width: 720px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 28px;
}

.search-state,
.empty-filter {
    display: none;
    padding: 22px;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    color: var(--muted-strong);
    background: rgba(15, 23, 42, 0.58);
    text-align: center;
}

.search-state.visible,
.empty-filter.visible {
    display: block;
}

.detail-shell {
    padding: 30px 0 76px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: #a5f3fc;
}

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

.watch-main {
    display: grid;
    gap: 24px;
}

.movie-player {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 22px;
    background: #000;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.48);
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    z-index: 3;
}

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

.player-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(34, 211, 238, 0.14), transparent 20rem),
        linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.16));
}

.player-button {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #04131a;
    background: linear-gradient(135deg, var(--cyan), #60a5fa);
    box-shadow: 0 0 70px rgba(34, 211, 238, 0.48);
    transform: translate(-50%, -50%);
    font-size: 30px;
}

.movie-player.is-playing .player-cover {
    display: none;
}

.detail-card,
.side-card,
.text-card {
    border-radius: 22px;
    padding: 24px;
}

.detail-card h1 {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.15;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--muted-strong);
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.1);
}

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

.detail-card section + section {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
}

.detail-card h2,
.side-card h2,
.text-card h2 {
    margin: 0 0 12px;
    color: #a5f3fc;
    font-size: 22px;
}

.detail-card p,
.side-card p,
.text-card p {
    margin: 0;
    color: var(--muted-strong);
    line-height: 1.9;
}

.detail-side {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 20px;
}

.poster-card img {
    width: 100%;
    height: 280px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 16px;
}

.poster-card a {
    display: inline-flex;
    margin-top: 16px;
    color: #a5f3fc;
}

.side-related {
    display: grid;
    gap: 12px;
}

.side-related .movie-card {
    border-radius: 14px;
}

.side-related .movie-poster {
    height: 130px;
}

.side-related .movie-card-body {
    min-height: auto;
}

.detail-more {
    margin-top: 44px;
}

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

.site-footer {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(2, 6, 23, 0.95));
}

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

.footer-inner section {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-inner h2 {
    margin: 0 0 8px;
    color: #a5f3fc;
    font-size: 17px;
}

.footer-inner a,
.footer-inner span,
.footer-inner p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.footer-brand p {
    max-width: 420px;
    margin: 8px 0 0;
}

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    color: #64748b;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

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

    .nav-toggle {
        display: inline-flex;
    }

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

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

    .split-layout,
    .watch-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .rank-panel,
    .detail-side {
        position: static;
    }
}

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

    .hero {
        min-height: 680px;
        height: 82vh;
    }

    .hero-content {
        left: 16px;
        right: 16px;
        bottom: 190px;
        width: auto;
    }

    .hero-content h1,
    .page-hero h1 {
        font-size: 40px;
    }

    .hero-search {
        left: 16px;
        right: 16px;
        bottom: 86px;
        width: auto;
    }

    .hero-arrow {
        display: none;
    }

    .movie-row {
        grid-auto-columns: 72%;
    }

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

    .movie-poster {
        height: 210px;
    }

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

    .movie-list-link {
        grid-template-columns: 132px 1fr;
    }

    .movie-list-poster {
        min-height: 158px;
    }

    .movie-list-info {
        padding: 14px;
    }

    .ranking-item a {
        grid-template-columns: 40px 72px 1fr;
        gap: 10px;
    }

    .ranking-item img {
        width: 72px;
        height: 54px;
    }

    .search-page-form {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 460px) {
    .brand-copy strong {
        font-size: 18px;
    }

    .brand-copy em {
        display: none;
    }

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

    .movie-poster {
        height: 190px;
    }

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