:root {
    --purple-950: #3b0764;
    --purple-900: #581c87;
    --purple-700: #7e22ce;
    --purple-600: #9333ea;
    --purple-500: #a855f7;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --blue-600: #2563eb;
    --amber-500: #f59e0b;
    --text: #1f2937;
    --muted: #6b7280;
    --soft: #faf5ff;
    --line: rgba(147, 51, 234, 0.14);
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(88, 28, 135, 0.16);
    --shadow-strong: 0 30px 80px rgba(88, 28, 135, 0.28);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(180deg, #faf5ff 0%, #ffffff 34%, #fff7fb 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: white;
    background: linear-gradient(90deg, var(--purple-700), var(--purple-500), var(--pink-500));
    box-shadow: 0 12px 30px rgba(88, 28, 135, 0.28);
}

.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.logo-mark {
    width: 40px;
    height: 40px;
    display: inline-block;
    border: 5px solid rgba(255, 255, 255, 0.86);
    border-radius: 999px;
    background: linear-gradient(135deg, #d8b4fe, var(--purple-600));
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.35);
    transition: transform 0.25s ease;
}

.logo:hover .logo-mark {
    transform: scale(1.1) rotate(8deg);
}

.logo-text {
    font-size: 1.18rem;
}

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

.main-nav > a,
.nav-dropdown > a {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 650;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.nav-dropdown:hover > a {
    color: #f3e8ff;
}

.nav-dropdown {
    position: relative;
    padding: 22px 0;
}

.dropdown-menu {
    position: absolute;
    top: 62px;
    left: -20px;
    width: 220px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.98);
    transition: all 0.22s ease;
}

.dropdown-menu a {
    padding: 9px 10px;
    color: #4b5563;
    border-radius: 12px;
}

.dropdown-menu a:hover {
    color: var(--purple-700);
    background: #faf5ff;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.top-search,
.mobile-search,
.hero-search {
    display: flex;
    align-items: center;
}

.top-search input,
.mobile-search input,
.hero-search input,
.filter-bar input,
.filter-bar select,
.inline-filter input,
.inline-filter select {
    border: 0;
    outline: 0;
    color: #374151;
    background: rgba(255, 255, 255, 0.92);
}

.top-search input {
    width: 230px;
    padding: 10px 16px;
    border-radius: 999px 0 0 999px;
}

.top-search button,
.mobile-search button,
.hero-search button,
.filter-bar button {
    border: 0;
    color: white;
    background: linear-gradient(135deg, var(--purple-700), var(--pink-600));
    font-weight: 700;
    cursor: pointer;
}

.top-search button {
    padding: 10px 16px;
    border-radius: 0 999px 999px 0;
}

.mobile-menu-button {
    display: none;
    margin-left: auto;
    border: 0;
    color: white;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 1.2rem;
}

.mobile-panel {
    display: none;
    padding: 0 18px 18px;
    background: rgba(88, 28, 135, 0.96);
}

.mobile-panel.is-open {
    display: grid;
    gap: 12px;
}

.mobile-panel a {
    padding: 8px 0;
    color: white;
}

.mobile-search input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 999px 0 0 999px;
}

.mobile-search button {
    padding: 10px 14px;
    border-radius: 0 999px 999px 0;
}

.mobile-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-category-links a {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: white;
    background: linear-gradient(115deg, var(--purple-700), var(--purple-500) 48%, var(--pink-500));
}

.hero::after,
.page-hero::after,
.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 20%, rgba(255,255,255,0.18), transparent 22%),
                radial-gradient(circle at 70% 20%, rgba(255,255,255,0.12), transparent 20%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(58px);
    animation: float 6s ease-in-out infinite;
}

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

.hero-glow-two {
    width: 230px;
    height: 230px;
    right: 10%;
    bottom: 70px;
    animation-delay: 1.5s;
}

.hero-glow-three {
    width: 140px;
    height: 140px;
    left: 46%;
    top: 48%;
    animation-delay: 0.8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-layout {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    align-items: center;
    gap: 48px;
    padding: 52px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--purple-600);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.detail-info .eyebrow,
.player-head .eyebrow {
    color: #f3e8ff;
}

.hero-text h1,
.page-hero h1,
.detail-info h1 {
    margin: 12px 0 18px;
    font-size: clamp(2.3rem, 7vw, 4.65rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-text p,
.page-hero p {
    max-width: 700px;
    color: #f3e8ff;
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.8;
}

.hero-search {
    max-width: 620px;
    margin: 32px 0 22px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 45px rgba(88, 28, 135, 0.22);
    backdrop-filter: blur(6px);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    padding: 15px 20px;
    border-radius: 999px 0 0 999px;
    background: rgba(255, 255, 255, 0.94);
}

.hero-search button {
    padding: 15px 24px;
    border-radius: 999px;
}

.hero-chips,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-chip,
.tag-row span,
.detail-tags span {
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-chip {
    color: white;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.hero-chip:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-stage {
    position: relative;
    min-height: 465px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    align-items: end;
    gap: 18px;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

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

.hero-poster-wrap {
    height: 390px;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.25);
    border-radius: 34px;
    box-shadow: var(--shadow-strong);
    transform: rotate(-3deg);
}

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

.hero-copy-card {
    margin-bottom: 28px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-strong);
}

.hero-copy-card h2 {
    margin: 10px 0;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.hero-copy-card p {
    color: #f5e8ff;
    line-height: 1.75;
}

.hero-dots {
    position: absolute;
    right: 28px;
    bottom: 0;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
}

.hero-dots button.is-active {
    width: 34px;
    background: white;
}

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

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: white;
    background: linear-gradient(135deg, var(--purple-600), var(--pink-600));
    box-shadow: 0 14px 34px rgba(219, 39, 119, 0.26);
}

.button.light {
    color: var(--purple-700);
    background: white;
}

.button.outline {
    color: var(--purple-700);
    border: 1px solid rgba(147, 51, 234, 0.28);
    background: #fff;
}

.main-stack {
    padding: 54px 0 72px;
}

.content-section {
    margin-bottom: 68px;
}

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

.section-heading h2,
.ranking-panel h2,
.detail-article h2 {
    margin: 6px 0 0;
    color: #1f2937;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.2;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

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

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

.play-hover {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translate(-50%, 12px);
    opacity: 0;
    padding: 9px 14px;
    color: white;
    border-radius: 999px;
    background: rgba(126, 34, 206, 0.92);
    font-weight: 800;
    transition: all 0.25s ease;
}

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

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--purple-600), var(--pink-600));
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(88, 28, 135, 0.34);
}

.movie-card-body {
    padding: 16px;
}

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--muted);
    font-size: 0.78rem;
}

.movie-meta-line span:not(:last-child)::after {
    content: "·";
    margin-left: 6px;
}

.movie-card h3 {
    margin: 8px 0;
    color: #111827;
    font-size: 1.05rem;
    line-height: 1.36;
}

.movie-card h3 a:hover {
    color: var(--purple-700);
}

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

.tag-row span {
    color: var(--purple-700);
    background: #f3e8ff;
}

.two-column-section {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
}

.left-heading {
    align-items: center;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 42px 64px 1fr;
    align-items: center;
    gap: 13px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(88, 28, 135, 0.08);
    transition: all 0.2s ease;
}

.rank-row:hover {
    transform: translateY(-3px);
    border-color: rgba(147, 51, 234, 0.38);
    box-shadow: var(--shadow);
}

.rank-number {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--purple-600), var(--pink-500));
    font-weight: 900;
}

.rank-row img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
}

.rank-copy {
    min-width: 0;
}

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

.rank-copy em {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.85rem;
    font-style: normal;
}

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

.category-tile {
    position: relative;
    min-height: 148px;
    overflow: hidden;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-radius: 22px;
    color: white;
    box-shadow: var(--shadow);
    isolation: isolate;
}

.category-tile img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1);
    transition: transform 0.3s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(88, 28, 135, 0.86));
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile span {
    font-size: 1.4rem;
    font-weight: 900;
}

.category-tile strong,
.category-tile em {
    display: block;
    margin-top: 4px;
    color: #f3e8ff;
    font-style: normal;
}

.category-tile em {
    font-size: 0.88rem;
    line-height: 1.5;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(120deg, var(--purple-700), var(--purple-500), var(--pink-500));
}

.compact-hero .container,
.category-hero .container {
    position: relative;
    z-index: 2;
    padding: 70px 0;
}

.page-hero h1 {
    margin-bottom: 14px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.breadcrumb a:hover {
    color: white;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.category-cover {
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 3 / 4;
}

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

.category-overview-card h2 {
    margin: 6px 0 8px;
    font-size: 1.55rem;
}

.category-overview-card p {
    color: var(--muted);
    line-height: 1.7;
}

.mini-title-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.mini-title-list span {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--purple-700);
    background: #f3e8ff;
    font-size: 0.82rem;
    font-weight: 700;
}

.category-tools,
.search-panel {
    padding: 44px 0 72px;
}

.inline-filter,
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 24px rgba(88, 28, 135, 0.08);
}

.inline-filter input {
    flex: 1;
    padding: 13px 16px;
    border-radius: 999px;
    background: #fff;
}

.inline-filter span {
    color: var(--purple-700);
    font-weight: 800;
}

.filter-bar {
    flex-wrap: wrap;
}

.filter-bar input {
    flex: 1 1 280px;
}

.filter-bar input,
.filter-bar select {
    padding: 13px 14px;
    border-radius: 999px;
    background: #fff;
}

.filter-bar button {
    padding: 13px 18px;
    border-radius: 999px;
}

.result-summary {
    margin-bottom: 18px;
    color: var(--muted);
    font-weight: 700;
}

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

.ranking-panel {
    padding: 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.ranking-panel h2 {
    margin-bottom: 16px;
}

.detail-hero {
    min-height: 560px;
    background: #111827;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(1.2);
    opacity: 0.3;
    transform: scale(1.08);
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(88, 28, 135, 0.96), rgba(126, 34, 206, 0.82), rgba(219, 39, 119, 0.62));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 44px 0 58px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    box-shadow: var(--shadow-strong);
}

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

.detail-info h1 {
    max-width: 850px;
}

.detail-one-line {
    max-width: 820px;
    color: #f3e8ff;
    font-size: 1.15rem;
    line-height: 1.85;
}

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

.detail-meta-grid span {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.detail-meta-grid strong {
    display: block;
    margin-bottom: 4px;
    color: #f3e8ff;
    font-size: 0.78rem;
}

.detail-main {
    padding: 44px 0 78px;
}

.player-panel,
.detail-article {
    overflow: hidden;
    margin-bottom: 34px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.player-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    color: white;
    background: linear-gradient(90deg, var(--purple-700), var(--pink-600));
}

.player-head h2 {
    margin: 6px 0 0;
}

.player-status {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
    font-weight: 700;
}

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

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

.big-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    border: 0;
    color: white;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.32), rgba(0, 0, 0, 0.58));
    cursor: pointer;
}

.big-play span {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--purple-600), var(--pink-600));
    box-shadow: 0 20px 50px rgba(219, 39, 119, 0.34);
}

.big-play strong {
    font-size: 1.1rem;
}

.big-play.is-hidden {
    display: none;
}

.detail-article {
    padding: 28px;
}

.detail-article h2 {
    margin: 0 0 12px;
}

.detail-article h2:not(:first-child) {
    margin-top: 26px;
}

.detail-article p {
    color: #4b5563;
    font-size: 1.02rem;
    line-height: 1.9;
}

.site-footer {
    color: white;
    background: linear-gradient(180deg, var(--purple-900), var(--purple-950));
}

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

.site-footer p,
.site-footer a {
    display: block;
    color: #e9d5ff;
    line-height: 1.75;
}

.site-footer a {
    margin: 8px 0;
}

.site-footer a:hover {
    color: white;
}

.site-footer h3 {
    margin: 0 0 14px;
}

.footer-bottom {
    padding: 18px 0 26px;
    border-top: 1px solid rgba(233, 213, 255, 0.18);
    color: #e9d5ff;
    text-align: center;
}

.hidden-by-filter,
.search-hidden {
    display: none !important;
}

@media (max-width: 1100px) {
    .top-search {
        display: none;
    }

    .hero-layout,
    .two-column-section,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .detail-poster {
        width: min(300px, 100%);
    }

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

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

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

    .mobile-menu-button {
        display: inline-flex;
    }

    .header-inner {
        height: 64px;
    }

    .hero,
    .hero-layout {
        min-height: auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        padding: 46px 0 62px;
    }

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

    .hero-poster-wrap {
        height: 250px;
        border-radius: 24px;
    }

    .hero-copy-card {
        padding: 20px;
    }

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

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

    .category-overview-card {
        grid-template-columns: 130px 1fr;
    }

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

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

    .logo-text {
        font-size: 1rem;
    }

    .hero-text h1,
    .page-hero h1,
    .detail-info h1 {
        font-size: 2.1rem;
    }

    .hero-search {
        display: grid;
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .hero-search input,
    .hero-search button {
        width: 100%;
        border-radius: 999px;
    }

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

    .hero-poster-wrap {
        width: min(240px, 100%);
        height: 300px;
    }

    .hero-copy-card {
        margin-bottom: 46px;
    }

    .movie-grid,
    .featured-grid,
    .compact-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .movie-card-body {
        padding: 12px;
    }

    .movie-card h3 {
        font-size: 0.96rem;
    }

    .movie-card p,
    .tag-row {
        display: none;
    }

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

    .inline-filter,
    .filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .detail-layout {
        gap: 22px;
    }

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

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

    .rank-row {
        grid-template-columns: 34px 54px 1fr;
        gap: 10px;
    }

    .rank-row img {
        width: 54px;
        height: 54px;
    }
}
