:root {
    --cake-cream: #fff5e1;
    --cake-rose: #ffc0cb;
    --cake-strawberry: #ffb6c1;
    --cake-peach: #ffdab9;
    --cake-vanilla: #fffacd;
    --cake-mint: #98d8c8;
    --cake-coral: #ff7f50;
    --bow-pink: #ff69b4;
    --bow-hotpink: #ff1493;
    --text-main: #1f2937;
    --text-soft: #6b7280;
    --white: #ffffff;
    --shadow-cake: 0 8px 16px -4px rgba(255, 182, 193, 0.3);
    --shadow-hover: 0 12px 24px -4px rgba(255, 105, 180, 0.4);
    --radius-cake: 2rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at 6% 12%, rgba(255, 105, 180, 0.16), transparent 32%),
        radial-gradient(circle at 92% 8%, rgba(152, 216, 200, 0.18), transparent 30%),
        linear-gradient(180deg, #fff5e1 0%, #fff8f0 42%, #fff 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 182, 193, 0.36);
    box-shadow: var(--shadow-cake);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-cake);
    background: linear-gradient(135deg, var(--cake-strawberry), var(--bow-hotpink));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
    font-size: 22px;
    font-weight: 900;
}

.logo-mark::after {
    content: "🎀";
    position: absolute;
    right: -10px;
    top: -12px;
    font-size: 20px;
    animation: bounce-soft 3s linear infinite;
}

.logo-name {
    display: block;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.05;
    background: linear-gradient(90deg, var(--bow-pink), var(--bow-hotpink), var(--bow-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-subtitle {
    display: block;
    margin-top: 3px;
    color: var(--cake-coral);
    font-size: 12px;
    font-weight: 700;
}

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

.nav-link,
.nav-drop-button {
    border: 0;
    background: transparent;
    padding: 10px 14px;
    border-radius: 999px;
    color: #374151;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-drop:hover .nav-drop-button {
    color: var(--bow-hotpink);
    background: rgba(255, 192, 203, 0.34);
    transform: translateY(-1px);
}

.nav-drop {
    position: relative;
}

.nav-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 12px);
    width: 240px;
    padding: 12px;
    background: var(--white);
    border: 1px solid rgba(255, 182, 193, 0.45);
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.nav-drop:hover .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu a {
    padding: 9px 10px;
    border-radius: 14px;
    font-size: 14px;
    color: #4b5563;
}

.nav-menu a:hover {
    background: rgba(255, 192, 203, 0.4);
    color: var(--bow-hotpink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form input,
.inline-search input {
    width: 240px;
    height: 42px;
    border: 2px solid rgba(255, 182, 193, 0.54);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    outline: 0;
    padding: 0 46px 0 16px;
    color: var(--text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form input:focus,
.inline-search input:focus {
    border-color: var(--bow-hotpink);
    box-shadow: 0 0 0 4px rgba(255, 20, 147, 0.1);
}

.search-form button,
.inline-search button {
    position: absolute;
    right: 6px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(90deg, var(--bow-pink), var(--bow-hotpink));
    cursor: pointer;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 192, 203, 0.45);
    color: var(--bow-hotpink);
    cursor: pointer;
    font-size: 22px;
}

.mobile-panel {
    display: none;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 18px;
}

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

.mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 182, 193, 0.36);
}

.mobile-nav a {
    padding: 12px 14px;
    background: rgba(255, 192, 203, 0.32);
    border-radius: 18px;
    font-weight: 700;
    color: #374151;
}

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

.hero {
    position: relative;
    overflow: hidden;
    min-height: 660px;
    border-radius: 0 0 46px 46px;
    background: linear-gradient(180deg, #ffb6c1, #ffc0cb 36%, #fffacd 72%, #fff8f0);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.86) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 105, 180, 0.28) 2px, transparent 2px);
    background-size: 34px 34px, 42px 42px;
    background-position: 0 0, 16px 18px;
    opacity: 0.45;
}

.hero-shell {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0 54px;
}

.hero-slider {
    position: relative;
    min-height: 500px;
}

.hero-slide {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.72fr);
    gap: 44px;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    inset: 0;
    transform: translateX(26px) scale(0.98);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-copy {
    padding: 34px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: var(--shadow-hover);
    backdrop-filter: blur(12px);
}

.eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--bow-hotpink);
    font-size: 14px;
    font-weight: 900;
    box-shadow: var(--shadow-cake);
}

.hero h1,
.page-hero h1,
.detail-title h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #ff1493, #ff69b4, #ff7f50);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero h2 {
    margin: 0 0 16px;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.1;
    color: #111827;
}

.hero-desc,
.page-hero p,
.detail-lead {
    color: #4b5563;
    line-height: 1.82;
    font-size: 17px;
}

.hero-tags,
.tag-list,
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.pill,
.tag,
.filter-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 182, 193, 0.6);
    background: rgba(255, 255, 255, 0.72);
    color: #374151;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 5px 12px rgba(255, 182, 193, 0.22);
}

.filter-button {
    cursor: pointer;
}

.filter-button.is-active,
.filter-button:hover {
    color: var(--white);
    border-color: transparent;
    background: linear-gradient(90deg, var(--bow-pink), var(--bow-hotpink));
}

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(90deg, var(--bow-pink), var(--bow-hotpink));
}

.btn-ghost {
    color: var(--bow-hotpink);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 182, 193, 0.68);
}

.hero-visual {
    position: relative;
    min-height: 470px;
}

.hero-poster {
    position: absolute;
    inset: 0 8% 0 0;
    border-radius: 38px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(255, 20, 147, 0.32);
    background: #111827;
    transform: rotate(-2deg);
}

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

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.72));
}

.hero-mini-card {
    position: absolute;
    left: 0;
    bottom: 28px;
    right: 0;
    margin: auto;
    width: min(88%, 350px);
    padding: 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-hover);
}

.hero-mini-card strong {
    display: block;
    font-size: 22px;
    margin-bottom: 8px;
}

.hero-mini-card span {
    color: var(--bow-hotpink);
    font-weight: 900;
}

.hero-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 36px;
    background: var(--bow-hotpink);
}

.hero-arrows {
    display: flex;
    gap: 10px;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    color: var(--bow-hotpink);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-cake);
    cursor: pointer;
}

.main-section {
    padding: 54px 0;
}

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

.section-kicker {
    color: var(--bow-hotpink);
    font-weight: 900;
    margin: 0 0 8px;
}

.section-title {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.12;
}

.section-desc {
    margin: 10px 0 0;
    color: var(--text-soft);
    line-height: 1.7;
}

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

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

.movie-card {
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 182, 193, 0.42);
    box-shadow: var(--shadow-cake);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe3ea, #fffacd);
}

.movie-card.horizontal .poster-link {
    aspect-ratio: 16 / 10;
}

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

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

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    min-height: 50%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.card-badge,
.card-rating,
.rank-number {
    position: absolute;
    top: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    color: var(--white);
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(8px);
}

.card-badge {
    left: 12px;
}

.card-rating {
    right: 12px;
    background: linear-gradient(90deg, #fbbf24, #f97316);
}

.rank-number {
    left: 12px;
    background: linear-gradient(90deg, var(--bow-pink), var(--bow-hotpink));
}

.card-body {
    padding: 16px;
}

.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
    color: #111827;
}

.card-title:hover {
    color: var(--bow-hotpink);
}

.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
    margin: 9px 0 14px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
}

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

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

.category-card {
    position: relative;
    min-height: 238px;
    padding: 26px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 182, 193, 0.45);
    box-shadow: var(--shadow-cake);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -48px;
    top: -48px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.28), transparent 66%);
}

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

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

.category-card p {
    position: relative;
    color: var(--text-soft);
    line-height: 1.72;
}

.category-preview {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 24px;
}

.category-preview a {
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 192, 203, 0.35);
    color: #374151;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-hero {
    position: relative;
    margin: 34px auto 26px;
    padding: 38px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 182, 193, 0.45);
    box-shadow: var(--shadow-cake);
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.18), transparent 70%);
}

.page-hero h1 {
    font-size: clamp(34px, 4vw, 54px);
}

.inline-search {
    position: relative;
    width: min(100%, 520px);
    margin-top: 20px;
}

.inline-search input {
    width: 100%;
    height: 48px;
}

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

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

.rank-item {
    display: grid;
    grid-template-columns: 66px 96px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 182, 193, 0.38);
    box-shadow: var(--shadow-cake);
}

.rank-index {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--bow-pink), var(--bow-hotpink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
}

.rank-thumb {
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    overflow: hidden;
    background: #ffe3ea;
}

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

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

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

.detail-title {
    margin: 34px auto 22px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 700;
}

.breadcrumb a:hover {
    color: var(--bow-hotpink);
}

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

.player-card,
.detail-panel,
.side-panel {
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 182, 193, 0.42);
    box-shadow: var(--shadow-cake);
    overflow: hidden;
}

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

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    color: var(--white);
    cursor: pointer;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.68));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 2;
}

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

.play-icon {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bow-pink), var(--bow-hotpink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    line-height: 1;
    box-shadow: 0 18px 38px rgba(255, 20, 147, 0.42);
}

.play-title {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    font-size: 18px;
    font-weight: 900;
}

.detail-panel {
    padding: 28px;
    margin-top: 24px;
}

.detail-panel h2,
.side-panel h2 {
    margin: 0 0 18px;
    font-size: 25px;
}

.detail-panel p {
    color: #4b5563;
    line-height: 1.9;
}

.meta-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.meta-cell {
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 192, 203, 0.22);
}

.meta-cell span {
    display: block;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 6px;
}

.meta-cell strong {
    color: #111827;
}

.side-panel {
    padding: 20px;
}

.detail-cover {
    border-radius: 26px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #ffe3ea;
    margin-bottom: 18px;
}

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

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

.side-rank a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 192, 203, 0.2);
}

.side-rank a:hover {
    background: rgba(255, 192, 203, 0.38);
}

.side-rank img {
    width: 42px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.side-rank strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-rank span {
    color: var(--text-soft);
    font-size: 13px;
}

.empty-state {
    display: none;
    padding: 28px;
    text-align: center;
    color: var(--text-soft);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 182, 193, 0.4);
}

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

.site-footer {
    margin-top: 64px;
    background: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 182, 193, 0.44);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 38px 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-title {
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--bow-pink), var(--bow-hotpink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-inner p {
    color: var(--text-soft);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links a {
    color: #4b5563;
}

.footer-links a:hover {
    color: var(--bow-hotpink);
}

.copyright {
    border-top: 1px solid rgba(255, 182, 193, 0.32);
    padding: 18px 24px;
    text-align: center;
    color: var(--text-soft);
}

@keyframes bounce-soft {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@media (max-width: 1120px) {
    .movie-grid,
    .movie-grid.compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

@media (max-width: 920px) {
    .main-nav,
    .header-actions .search-form {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        border-radius: 0 0 34px 34px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .hero-visual {
        min-height: 420px;
    }

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

@media (max-width: 680px) {
    .header-inner {
        padding: 0 16px;
        min-height: 72px;
    }

    .logo-name {
        font-size: 20px;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
    }

    .hero-shell,
    .container {
        width: min(100% - 24px, 1280px);
    }

    .hero-copy,
    .page-hero,
    .detail-panel {
        padding: 22px;
        border-radius: 26px;
    }

    .hero-visual {
        min-height: 340px;
    }

    .hero-poster {
        inset: 0;
    }

    .hero-mini-card {
        width: calc(100% - 28px);
    }

    .hero-controls,
    .section-head,
    .rank-item {
        align-items: stretch;
        flex-direction: column;
    }

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

    .card-body {
        padding: 13px;
    }

    .card-title {
        font-size: 16px;
    }

    .rank-item {
        display: grid;
        grid-template-columns: 48px 76px minmax(0, 1fr);
    }

    .rank-item .btn {
        grid-column: 1 / -1;
    }

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

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

@media (max-width: 420px) {
    .movie-grid,
    .movie-grid.compact {
        grid-template-columns: 1fr;
    }
}
