:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --cyan-400: #22d3ee;
    --text: #111827;
    --muted: #64748b;
    --soft: #f8fbff;
    --card: #ffffff;
    --line: rgba(96, 165, 250, 0.22);
    --shadow: 0 24px 70px rgba(30, 64, 175, 0.14);
    --shadow-soft: 0 14px 38px rgba(30, 64, 175, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.58), #ffffff 22%, rgba(239, 246, 255, 0.62));
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.08);
}

.nav-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 76px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
    transition: transform 0.5s ease;
}

.brand:hover .brand-mark {
    transform: rotate(180deg);
}

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

.brand-text strong,
.footer-brand strong {
    font-size: 24px;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, var(--blue-400), var(--cyan-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.nav-links a,
.mobile-links a {
    color: #334155;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.mobile-links a:hover {
    color: var(--blue-500);
}

.top-search,
.mobile-search,
.panel-search,
.search-page-form {
    position: relative;
    display: flex;
    align-items: center;
}

.top-search input,
.mobile-search input,
.panel-search input,
.search-page-form input {
    border: 1px solid var(--blue-200);
    outline: none;
    background: rgba(239, 246, 255, 0.72);
    color: #0f172a;
    border-radius: 999px;
    padding: 11px 96px 11px 18px;
    min-width: 240px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.top-search input:focus,
.mobile-search input:focus,
.panel-search input:focus,
.search-page-form input:focus {
    border-color: var(--blue-400);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
}

.top-search button,
.mobile-search button,
.panel-search button,
.search-page-form button {
    position: absolute;
    right: 4px;
    border: 0;
    border-radius: 999px;
    padding: 8px 17px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
    cursor: pointer;
    font-weight: 700;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background: #334155;
    margin: 5px auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

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

.mobile-search {
    margin-bottom: 14px;
}

.mobile-search input {
    width: 100%;
}

.mobile-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

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

.hero-shell {
    position: relative;
    min-height: 620px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.34), transparent 32%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.93), rgba(30, 64, 175, 0.72) 52%, rgba(15, 23, 42, 0.38)),
        linear-gradient(180deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.84));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 620px;
    padding: 74px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 46px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue-500);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero .eyebrow,
.detail-info .eyebrow,
.page-hero .eyebrow,
.search-hero .eyebrow {
    color: #bfdbfe;
}

.hero h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.07em;
    text-wrap: balance;
}

.hero-summary {
    max-width: 720px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
}

.hero-tags,
.tag-list,
.term-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-tags span,
.tag-list span,
.term-list span {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.tag-list span,
.term-list span {
    color: var(--blue-600);
    background: var(--blue-50);
}

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

.primary-btn,
.ghost-btn,
.section-link,
.category-card-body span,
.player-title-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    color: var(--blue-600);
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(255, 255, 255, 0.24);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-link:hover,
.category-card:hover,
.movie-card:hover,
.rank-item:hover {
    transform: translateY(-3px);
}

.ghost-btn {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
}

.hero-poster {
    position: relative;
    justify-self: center;
    width: min(360px, 100%);
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
    transform: rotate(2deg);
}

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

.hero-poster span,
.play-hover {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--blue-500);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.hero-dots {
    position: absolute;
    left: 74px;
    bottom: 34px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

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

.hero-dot.is-active {
    width: 30px;
    border-radius: 999px;
    background: #ffffff;
}

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

.section-soft {
    width: 100%;
    max-width: none;
    padding: 72px max(16px, calc((100% - 1180px) / 2));
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.70), rgba(255, 255, 255, 0.54));
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.section-link,
.player-title-row a {
    color: var(--blue-600);
    background: var(--blue-50);
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    box-shadow: var(--shadow);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

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

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

.duration-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #ffffff;
    font-size: 13px;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
}

.play-hover {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
    padding: 20px;
}

.meta-row,
.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.meta-row span,
.rank-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--blue-50);
}

.movie-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.25;
}

.movie-card h3 a:hover,
.rank-item h3 a:hover {
    color: var(--blue-600);
}

.movie-card p {
    margin: 0 0 14px;
    color: #526173;
    font-size: 14px;
}

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

.category-tile {
    position: relative;
    min-height: 168px;
    overflow: hidden;
    border-radius: 24px;
    padding: 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #22d3ee);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile img {
    position: absolute;
    right: -10px;
    bottom: -20px;
    width: 120px;
    height: 150px;
    object-fit: cover;
    border-radius: 18px;
    opacity: 0.42;
    transform: rotate(8deg);
}

.category-tile span,
.category-tile small {
    position: relative;
    z-index: 2;
    display: block;
}

.category-tile span {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 8px;
}

.category-tile small {
    max-width: 160px;
}

.category-tile.cyan,
.category-card.cyan a {
    background: linear-gradient(135deg, #06b6d4, #38bdf8);
}

.category-tile.indigo,
.category-card.indigo a {
    background: linear-gradient(135deg, #6366f1, #818cf8);
}

.category-tile.sky,
.category-card.sky a {
    background: linear-gradient(135deg, #0ea5e9, #60a5fa);
}

.category-tile.rose,
.category-card.rose a {
    background: linear-gradient(135deg, #f43f5e, #fb7185);
}

.category-tile.purple,
.category-card.purple a {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.category-tile.amber,
.category-card.amber a {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.category-tile.pink,
.category-card.pink a {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.category-tile.violet,
.category-card.violet a {
    background: linear-gradient(135deg, #8b5cf6, #c084fc);
}

.category-tile.emerald,
.category-card.emerald a {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.8fr);
    gap: 32px;
}

.rank-list {
    display: grid;
    gap: 16px;
}

.rank-item {
    display: grid;
    grid-template-columns: 58px 104px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-num {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
}

.rank-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
}

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

.rank-item h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.rank-item p {
    margin: 0 0 8px;
    color: #526173;
    font-size: 14px;
}

.side-panel {
    align-self: start;
    position: sticky;
    top: 100px;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(160deg, #1d4ed8, #06b6d4);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.side-panel h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.16;
}

.side-panel p {
    color: rgba(255, 255, 255, 0.86);
}

.panel-search {
    margin: 22px 0;
}

.panel-search input {
    width: 100%;
    border-color: transparent;
    background: rgba(255, 255, 255, 0.92);
}

.quick-tags,
.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-tags a,
.search-tags a {
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.16);
}

.page-hero,
.search-hero {
    position: relative;
    overflow: hidden;
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 0;
    border-radius: 32px;
    padding: 72px;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 15%, rgba(34, 211, 238, 0.50), transparent 34%),
        linear-gradient(135deg, #1d4ed8, #0f172a);
    box-shadow: var(--shadow);
}

.page-hero h1,
.search-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

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

.category-hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 34px;
    align-items: center;
}

.category-hero > img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.30);
}

.compact-actions {
    margin-top: 24px;
}

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

.category-card {
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.24s ease;
}

.category-card a {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    min-height: 220px;
    padding: 24px;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #22d3ee);
}

.category-card-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.category-card-images img {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.category-card-body h2 {
    margin: 0 0 12px;
    font-size: 32px;
}

.category-card-body p {
    color: rgba(255, 255, 255, 0.88);
}

.category-card-body span {
    margin-top: 12px;
    color: var(--blue-600);
    background: #ffffff;
}

.search-hero {
    text-align: center;
}

.search-hero p {
    margin: 0 auto 28px;
}

.search-page-form {
    max-width: 760px;
    margin: 0 auto 20px;
}

.search-page-form input {
    width: 100%;
    padding-top: 17px;
    padding-bottom: 17px;
    background: #ffffff;
}

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

.search-tags {
    justify-content: center;
}

.empty-state {
    padding: 42px;
    text-align: center;
    color: var(--muted);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    color: #ffffff;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px) saturate(1.08);
    transform: scale(1.08);
}

.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 12%, rgba(34, 211, 238, 0.32), transparent 28%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(30, 64, 175, 0.68), rgba(15, 23, 42, 0.72));
}

.detail-wrap {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 80px 0;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 44px;
    align-items: center;
}

.detail-cover {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

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

.breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.76);
}

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

.detail-info h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.detail-one-line {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
    margin: 22px 0;
}

.detail-meta-grid span {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
}

.detail-section {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap: 30px;
    align-items: start;
}

.player-card,
.story-card {
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.video-box {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #020617;
}

.video-trigger {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.58));
}

.video-trigger span {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--blue-600);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
}

.video-trigger.is-hidden {
    display: none;
}

.player-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
}

.player-title-row h2 {
    margin: 0;
    font-size: 24px;
}

.story-card {
    padding: 28px;
}

.story-card h2 {
    margin: 0 0 12px;
    font-size: 25px;
}

.story-card p {
    margin: 0 0 26px;
    color: #405066;
}

.term-list strong {
    width: 100%;
    margin-bottom: 2px;
}

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

.compact-card .poster-link {
    aspect-ratio: 16 / 9;
}

.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.72), #ffffff);
}

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

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

.footer-grid p,
.footer-grid a {
    color: var(--muted);
    font-size: 14px;
}

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

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

.footer-grid a:hover {
    color: var(--blue-600);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1080px) {
    .nav-links,
    .top-search {
        display: none;
    }

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

    .hero-content,
    .detail-wrap,
    .detail-section,
    .split-section,
    .category-hero,
    .category-card a {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 56px;
    }

    .hero-poster {
        display: none;
    }

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

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

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

    .side-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .nav-wrap {
        min-height: 66px;
    }

    .brand-text strong {
        font-size: 20px;
    }

    .hero,
    .page-hero,
    .search-hero {
        width: calc(100% - 20px);
        margin-top: 14px;
        border-radius: 24px;
    }

    .hero-shell,
    .hero-content {
        min-height: 560px;
    }

    .hero-content,
    .page-hero,
    .search-hero {
        padding: 36px 24px;
    }

    .hero-dots {
        left: 24px;
        bottom: 24px;
    }

    .content-section,
    .section-soft {
        width: calc(100% - 20px);
        padding: 44px 0;
    }

    .section-soft {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .section-heading,
    .footer-bottom,
    .player-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .movie-grid,
    .feature-grid,
    .related-grid,
    .category-grid,
    .category-overview,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .rank-item {
        grid-template-columns: 48px 86px 1fr;
        gap: 12px;
    }

    .rank-item p {
        display: none;
    }

    .detail-wrap {
        padding: 44px 0;
    }

    .detail-cover {
        width: min(260px, 100%);
    }

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

    .story-card {
        padding: 22px;
    }
}
