* {
    box-sizing: border-box;
}

:root {
    --pink: #ec4899;
    --pink-dark: #db2777;
    --purple: #8b5cf6;
    --purple-dark: #7c3aed;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --rose: #f43f5e;
    --amber: #f59e0b;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #f2e7f3;
    --surface: #ffffff;
    --soft: #fff7fb;
    --shadow: 0 18px 45px rgba(129, 77, 151, 0.16);
    --shadow-soft: 0 10px 28px rgba(129, 77, 151, 0.11);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    background:
        radial-gradient(circle at 12% 18%, rgba(236, 72, 153, 0.12), transparent 30%),
        radial-gradient(circle at 80% 6%, rgba(59, 130, 246, 0.12), transparent 26%),
        linear-gradient(135deg, #fdf2f8 0%, #faf5ff 46%, #eff6ff 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 6px 24px rgba(118, 74, 124, 0.09);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 22px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.28);
}

.logo-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

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

.nav-link {
    position: relative;
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--pink);
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
}

.header-search {
    position: relative;
    width: min(260px, 26vw);
}

.header-search input {
    width: 100%;
    border: 1px solid #f9c7df;
    border-radius: 999px;
    padding: 10px 42px 10px 16px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.92);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.14);
}

.header-search button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 10px;
    background: #374151;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--line);
    padding: 14px 16px 18px;
    background: rgba(255, 255, 255, 0.96);
}

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

.mobile-panel nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.mobile-panel a,
.mobile-panel button {
    border: 0;
    border-radius: 14px;
    padding: 10px 12px;
    color: #4b5563;
    background: #fdf2f8;
    font-weight: 700;
}

.mobile-panel form {
    display: flex;
    gap: 10px;
}

.mobile-panel input {
    min-width: 0;
    flex: 1;
    border: 1px solid #f9c7df;
    border-radius: 14px;
    padding: 11px 12px;
}

.mobile-panel button {
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #f472b6 0%, #a78bfa 48%, #60a5fa 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(28, 25, 23, 0.20), rgba(28, 25, 23, 0.02));
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
    filter: blur(42px);
    animation: floatGlow 8s ease-in-out infinite;
}

.hero-glow.one {
    top: 56px;
    left: 8%;
    width: 140px;
    height: 140px;
}

.hero-glow.two {
    right: 10%;
    top: 150px;
    width: 190px;
    height: 190px;
    animation-delay: 1.2s;
}

.hero-glow.three {
    left: 34%;
    bottom: 54px;
    width: 170px;
    height: 170px;
    animation-delay: 2.1s;
}

@keyframes floatGlow {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(12px, -16px, 0) scale(1.05);
    }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    align-items: center;
    gap: 44px;
    min-height: 620px;
    padding: 78px 0;
}

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

.hero-copy h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-copy p.lead,
.page-hero p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(18px, 2.3vw, 24px);
}

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

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

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-primary {
    color: var(--pink);
    background: #fff;
    box-shadow: 0 18px 35px rgba(255, 255, 255, 0.24);
}

.btn-gradient {
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 18px 35px rgba(236, 72, 153, 0.24);
}

.btn-ghost {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
}

.hero-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(620px, 100%);
    margin-top: 28px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.hero-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    border-radius: 999px;
    padding: 14px 16px;
    outline: none;
    color: var(--text);
}

.hero-search button {
    border: 0;
    border-radius: 999px;
    padding: 14px 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    font-weight: 800;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-tags a,
.category-pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 15px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-tags a:hover,
.category-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 255, 255, 0.18);
}

.hero-stage {
    position: relative;
}

.hero-frame {
    position: relative;
    min-height: 470px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 34px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 70px rgba(53, 35, 84, 0.28);
    backdrop-filter: blur(12px);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

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

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

.hero-slide-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px;
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.15));
}

.hero-slide-content h2 {
    margin: 10px 0 8px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
}

.hero-slide-content p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-meta span,
.detail-tags span,
.card-meta span,
.poster-badge,
.meta-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 800;
}

.hero-meta span {
    padding: 6px 10px;
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    font-size: 13px;
}

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

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

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

.hero-arrow {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.section,
.section-alt,
.page-section {
    padding: 58px 0;
}

.section-alt {
    margin: 32px 0;
    background: linear-gradient(90deg, rgba(253, 242, 248, 0.72), rgba(250, 245, 255, 0.92));
}

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

.section-title {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
    color: var(--text);
    font-weight: 900;
    letter-spacing: -0.03em;
}

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

.text-link {
    color: var(--pink);
    font-weight: 800;
}

.category-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.category-pill {
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: var(--shadow-soft);
}

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

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

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

.movie-row-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 16px;
    scroll-snap-type: x proximity;
}

.movie-row-scroll .movie-card {
    width: 262px;
    flex: 0 0 262px;
    scroll-snap-align: start;
}

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

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

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

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

.poster-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.38), transparent 55%);
    pointer-events: none;
}

.poster-time {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.66);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 800;
}

.poster-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    padding: 5px 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    font-size: 12px;
}

.card-body {
    padding: 16px;
}

.card-body h3 {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--text);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 850;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card:hover .card-body h3 {
    color: var(--pink);
}

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

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.card-meta span {
    padding: 4px 8px;
    color: #7c2d60;
    background: #fce7f3;
    font-size: 12px;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border-radius: var(--radius-xl);
    padding: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:nth-child(3n + 2) {
    background: linear-gradient(135deg, var(--purple), var(--blue));
}

.category-card:nth-child(3n + 3) {
    background: linear-gradient(135deg, var(--rose), var(--amber));
}

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

.category-card::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -38px;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.category-card h2,
.category-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
}

.category-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

.category-card .count {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-top: 18px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.20);
    font-weight: 900;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #f472b6 0%, #a78bfa 50%, #60a5fa 100%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
    padding: 72px 0;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.24), transparent 28%);
}

.filter-panel,
.info-card,
.detail-card,
.related-panel,
.search-panel {
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.filter-panel,
.search-panel {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding: 16px;
}

.filter-panel input,
.search-panel input,
.filter-panel select {
    min-width: 0;
    border: 1px solid #f9c7df;
    border-radius: 999px;
    padding: 12px 15px;
    outline: none;
    background: #fff;
}

.filter-panel input,
.search-panel input {
    flex: 1;
}

.filter-panel select {
    min-width: 150px;
}

.search-panel button,
.filter-panel button {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    font-weight: 800;
}

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

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

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

.player-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    background: #050505;
    box-shadow: var(--shadow);
}

.player-card video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #050505;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background:
        radial-gradient(circle at center, rgba(236, 72, 153, 0.24), rgba(0, 0, 0, 0.52)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.18));
}

.play-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.play-circle {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.45);
    font-size: 36px;
    text-indent: 5px;
    transition: transform 0.2s ease;
}

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

.detail-card {
    margin-top: 22px;
    padding: 28px;
}

.detail-card h1 {
    margin: 0 0 20px;
    color: var(--text);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.16;
    font-weight: 900;
}

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

.meta-box {
    border-radius: 18px;
    padding: 12px;
    background: #fdf2f8;
}

.meta-box small {
    display: block;
    color: var(--muted);
    margin-bottom: 3px;
}

.meta-box strong {
    display: block;
    color: var(--text);
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 18px 0 24px;
}

.detail-tags span {
    padding: 6px 10px;
    color: #be185d;
    background: #fce7f3;
    font-size: 13px;
}

.detail-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.detail-section h2 {
    margin: 0 0 12px;
    font-size: 22px;
    color: var(--text);
}

.detail-section p {
    margin: 0 0 12px;
    color: #4b5563;
}

.review-box {
    border-radius: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fff1f2, #f5f3ff);
}

.related-panel {
    position: sticky;
    top: 92px;
    padding: 20px;
}

.related-panel h2 {
    margin: 0 0 16px;
    font-size: 22px;
}

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

.mini-card {
    display: grid;
    grid-template-columns: auto 96px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border-radius: 16px;
    padding: 8px;
    background: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mini-card:hover {
    transform: translateX(4px);
    background: #fdf2f8;
}

.mini-card img {
    width: 96px;
    height: 62px;
    border-radius: 12px;
    object-fit: cover;
    background: linear-gradient(135deg, #fce7f3, #e0e7ff);
    transition: transform 0.25s ease;
}

.mini-card strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text);
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mini-card em {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.rank-num {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    font-weight: 900;
    font-size: 13px;
}

.rank-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 24px;
}

.rank-feature {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    color: #fff;
    box-shadow: var(--shadow);
}

.rank-feature img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.rank-feature-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 34px;
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.92), transparent);
}

.rank-feature h2 {
    margin: 8px 0;
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.05;
}

.rank-list-panel {
    border-radius: var(--radius-xl);
    padding: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.no-results {
    display: none;
    border-radius: var(--radius-xl);
    padding: 48px;
    color: var(--muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.no-results.is-visible {
    display: block;
}

.site-footer {
    margin-top: 60px;
    background: linear-gradient(90deg, #fce7f3, #f3e8ff, #dbeafe);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.6fr) minmax(220px, 0.8fr);
    gap: 36px;
    padding: 46px 0;
}

.footer-grid p {
    margin: 12px 0 0;
    max-width: 420px;
    color: #5b5564;
}

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

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    color: #6b4a69;
    font-weight: 700;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.68);
    padding: 18px 16px;
    color: #6b4a69;
    text-align: center;
}

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

    .menu-toggle {
        display: block;
    }

    .hero-grid,
    .detail-layout,
    .rank-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
    }

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

    .related-panel {
        position: static;
    }

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

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

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

    .header-inner {
        min-height: 62px;
    }

    .logo {
        font-size: 20px;
    }

    .hero-grid,
    .page-hero .container {
        padding: 50px 0;
    }

    .hero-search,
    .filter-panel,
    .search-panel {
        align-items: stretch;
        flex-direction: column;
        border-radius: 22px;
    }

    .hero-search input,
    .hero-search button,
    .filter-panel input,
    .filter-panel select,
    .filter-panel button,
    .search-panel input,
    .search-panel button {
        width: 100%;
    }

    .hero-frame {
        min-height: 390px;
        border-radius: 26px;
    }

    .hero-slide-content {
        padding: 22px;
    }

    .section,
    .section-alt,
    .page-section {
        padding: 42px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .card-body {
        padding: 13px;
    }

    .card-body h3 {
        min-height: 42px;
        font-size: 16px;
    }

    .card-body p {
        min-height: auto;
    }

    .detail-card {
        padding: 20px;
    }

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

    .mini-card {
        grid-template-columns: auto 86px minmax(0, 1fr);
    }

    .mini-card img {
        width: 86px;
        height: 58px;
    }

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

@media (max-width: 480px) {
    .movie-grid,
    .movie-grid.three,
    .movie-grid.six,
    .category-cards {
        grid-template-columns: 1fr;
    }

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

    .hero-copy h1,
    .page-hero h1 {
        font-size: 34px;
    }

    .hero-frame {
        min-height: 360px;
    }

    .play-circle {
        width: 72px;
        height: 72px;
        font-size: 30px;
    }
}
