:root {
    color-scheme: light;
    --page-bg: #fff7ed;
    --panel: rgba(255, 255, 255, 0.88);
    --panel-solid: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --line: rgba(249, 168, 212, 0.35);
    --pink: #ec4899;
    --orange: #f97316;
    --gold: #f59e0b;
    --rose: #fb7185;
    --blue: #3b82f6;
    --purple: #8b5cf6;
    --green: #10b981;
    --cyan: #06b6d4;
    --shadow: 0 22px 50px rgba(190, 86, 111, 0.18);
    --soft-shadow: 0 14px 35px rgba(130, 84, 60, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 12%, rgba(236, 72, 153, 0.12), transparent 32rem),
        radial-gradient(circle at 92% 8%, rgba(251, 146, 60, 0.14), transparent 28rem),
        linear-gradient(135deg, #fff1f2 0%, #fff7ed 45%, #fef9c3 100%);
}

body.no-scroll {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 28px rgba(236, 72, 153, 0.08);
}

.navbar {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.logo-mark {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--pink), var(--orange), var(--gold));
    box-shadow: 0 14px 30px rgba(236, 72, 153, 0.35);
}

.logo-mark::before {
    content: "";
    position: absolute;
    inset: 10px 9px 10px 12px;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.logo-text {
    background: linear-gradient(90deg, var(--pink), var(--orange), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--pink);
    background: rgba(252, 231, 243, 0.9);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #fff1f2;
    color: var(--pink);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.mobile-panel {
    display: none;
    padding: 0 0 16px;
}

.mobile-panel a {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    color: #374151;
    font-weight: 800;
}

.mobile-panel a:hover,
.mobile-panel a.active {
    color: var(--pink);
    background: #fff1f2;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 54%, #facc15 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
        radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.7) 0 2px, transparent 3px),
        radial-gradient(circle at 48% 68%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
        radial-gradient(circle at 85% 78%, rgba(255, 255, 255, 0.65) 0 2px, transparent 3px);
    background-size: 190px 190px, 240px 240px, 170px 170px, 210px 210px;
    animation: starFloat 18s linear infinite;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -12% -28% -12%;
    height: 300px;
    background: linear-gradient(180deg, transparent, rgba(255, 247, 237, 0.98));
}

.hero-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 42px;
    align-items: center;
    padding: 76px 0 90px;
}

.hero-copy {
    color: #ffffff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 800;
}

.hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.06em;
    text-shadow: 0 12px 32px rgba(105, 25, 52, 0.28);
}

.hero-lead {
    max-width: 680px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(18px, 2.3vw, 24px);
    line-height: 1.7;
}

.hero-actions,
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: var(--pink);
    font-weight: 900;
    box-shadow: 0 16px 36px rgba(90, 20, 30, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 22px 44px rgba(90, 20, 30, 0.22);
}

.btn.primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--pink), var(--orange));
}

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

.hero-search {
    display: flex;
    width: min(100%, 560px);
    margin-top: 30px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 44px rgba(70, 20, 30, 0.2);
}

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

.hero-search button {
    flex: none;
}

.hero-card {
    position: relative;
    overflow: hidden;
    min-height: 470px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 34px 80px rgba(90, 35, 25, 0.28);
    backdrop-filter: blur(22px);
}

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

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

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

.hero-slide-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 150px 30px 30px;
    color: #ffffff;
    background: linear-gradient(180deg, transparent 0%, rgba(16, 20, 32, 0.72) 38%, rgba(16, 20, 32, 0.94) 100%);
}

.hero-slide-content h2 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.18;
}

.hero-slide-content p {
    display: -webkit-box;
    margin: 0 0 18px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.86);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hero-dots {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 4;
}

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

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

.quick-strip {
    position: relative;
    z-index: 3;
    margin-top: -44px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.quick-icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #fce7f3, #fed7aa);
    font-size: 24px;
}

.quick-link strong {
    display: block;
    margin-bottom: 2px;
}

.quick-link span:last-child {
    color: var(--muted);
    font-size: 13px;
}

.section {
    padding: 54px 0;
}

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

.section-kicker {
    margin: 0 0 8px;
    color: var(--pink);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.section-desc {
    max-width: 680px;
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pink);
    font-weight: 900;
}

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

.movie-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(249, 168, 212, 0.4);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--soft-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(236, 72, 153, 0.45);
    box-shadow: var(--shadow);
}

.card-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #fce7f3, #fed7aa);
}

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

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

.card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(16, 20, 32, 0.72));
    transition: opacity 0.2s ease;
}

.movie-card:hover .card-cover::after {
    opacity: 1;
}

.play-chip {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--pink);
    font-size: 22px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.badge-row {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.78);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 900;
}

.badge.score {
    background: linear-gradient(90deg, var(--pink), var(--orange));
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.card-title {
    display: -webkit-box;
    min-height: 52px;
    margin: 0 0 8px;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.42;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-desc {
    display: -webkit-box;
    min-height: 54px;
    margin: 0 0 16px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    color: #6b7280;
    font-size: 13px;
}

.meta-pill {
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff1f2;
}

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

.category-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    padding: 26px;
    border-radius: 28px;
    color: #ffffff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow);
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.94;
}

.category-card.cat-pink::before { background: linear-gradient(135deg, #ec4899, #fb7185); }
.category-card.cat-gold::before { background: linear-gradient(135deg, #f59e0b, #f97316); }
.category-card.cat-red::before { background: linear-gradient(135deg, #ef4444, #ec4899); }
.category-card.cat-purple::before { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.category-card.cat-orange::before { background: linear-gradient(135deg, #f97316, #f59e0b); }
.category-card.cat-blue::before { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.category-card.cat-cyan::before { background: linear-gradient(135deg, #06b6d4, #10b981); }
.category-card.cat-green::before { background: linear-gradient(135deg, #10b981, #84cc16); }

.category-card > * {
    position: relative;
    z-index: 2;
}

.category-icon {
    margin-bottom: 18px;
    font-size: 48px;
}

.category-card h2,
.category-card h3 {
    margin: 0 0 10px;
    font-size: 25px;
}

.category-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 84px;
    color: #ffffff;
    background: linear-gradient(135deg, #ec4899, #f97316 58%, #facc15);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.26;
    background-image: radial-gradient(circle at 16% 22%, #ffffff 0 2px, transparent 3px), radial-gradient(circle at 72% 66%, #ffffff 0 2px, transparent 3px);
    background-size: 170px 170px, 230px 230px;
}

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

.page-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 19px;
    line-height: 1.75;
}

.filter-panel {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 180px 180px;
    gap: 12px;
    margin: -34px auto 32px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(14px);
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    height: 48px;
    border: 1px solid rgba(249, 168, 212, 0.48);
    border-radius: 16px;
    outline: 0;
    padding: 0 14px;
    background: #ffffff;
    color: #374151;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.empty-state {
    display: none;
    margin: 34px 0 0;
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    color: var(--muted);
    text-align: center;
}

.empty-state.is-visible {
    display: block;
}

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

.rank-card {
    display: grid;
    grid-template-columns: 92px 210px minmax(0, 1fr) 130px;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(249, 168, 212, 0.4);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-number {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    font-size: 26px;
    font-weight: 950;
}

.rank-cover {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    background: #fce7f3;
}

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

.rank-main h2,
.rank-main h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.rank-main p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rank-score {
    text-align: right;
}

.rank-score strong {
    display: block;
    color: var(--pink);
    font-size: 32px;
    line-height: 1;
}

.rank-score span {
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--pink);
    font-weight: 800;
}

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

.detail-main,
.detail-side {
    min-width: 0;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #111827;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.25);
}

.movie-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #111827;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    border: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.66));
    color: #ffffff;
    cursor: pointer;
}

.play-overlay span {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--pink);
    font-size: 38px;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease;
}

.play-overlay:hover span {
    transform: scale(1.08);
}

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

.detail-card {
    margin-top: 24px;
    padding: 26px;
    border: 1px solid rgba(249, 168, 212, 0.38);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--soft-shadow);
}

.detail-card h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.detail-card h2,
.side-card h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.detail-card p {
    color: #4b5563;
    line-height: 1.88;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 20px;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff1f2;
    color: #4b5563;
    font-size: 14px;
    font-weight: 800;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag-cloud span,
.tag-cloud a {
    padding: 7px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fce7f3, #ffedd5);
    color: #7c2d12;
    font-size: 13px;
    font-weight: 800;
}

.side-card {
    padding: 20px;
    border: 1px solid rgba(249, 168, 212, 0.38);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--soft-shadow);
}

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

.side-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.side-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    object-fit: cover;
}

.side-item strong {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.side-item span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.site-footer {
    margin-top: 44px;
    border-top: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(252, 231, 243, 0.95), rgba(255, 237, 213, 0.95), rgba(254, 249, 195, 0.95));
}

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

.footer-grid h2,
.footer-grid h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.footer-grid p,
.footer-grid li {
    color: #6b7280;
    line-height: 1.7;
}

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

.footer-bottom {
    padding: 18px 0 28px;
    border-top: 1px solid rgba(249, 168, 212, 0.34);
    color: #6b7280;
    text-align: center;
}

@keyframes starFloat {
    from { background-position: 0 0, 0 0, 0 0, 0 0; }
    to { background-position: 190px 190px, -240px 240px, 170px -170px, -210px -210px; }
}

@media (max-width: 1024px) {
    .hero-shell,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: 430px;
    }

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

    .rank-card {
        grid-template-columns: 70px 180px minmax(0, 1fr);
    }

    .rank-score {
        grid-column: 2 / -1;
        text-align: left;
    }
}

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

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: inline-block;
    }

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

    .hero {
        min-height: auto;
    }

    .hero-shell {
        gap: 24px;
        padding: 48px 0 74px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-search {
        display: grid;
        gap: 8px;
        border-radius: 24px;
    }

    .hero-search input {
        height: 44px;
    }

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

    .section-head {
        display: block;
    }

    .filter-panel {
        grid-template-columns: 1fr;
        margin-top: -24px;
    }

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

    .rank-cover {
        grid-column: 1 / -1;
    }

    .rank-main,
    .rank-score {
        grid-column: 1 / -1;
    }

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

    .side-item {
        grid-template-columns: 96px minmax(0, 1fr);
    }
}
