:root {
    --primary: #db2777;
    --primary-dark: #be185d;
    --rose: #f43f5e;
    --pink-soft: #fff1f2;
    --pink-light: #fdf2f8;
    --text: #111827;
    --muted: #6b7280;
    --line: #f3dce5;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(190, 24, 93, 0.12);
    --shadow-strong: 0 28px 70px rgba(190, 24, 93, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(135deg, #fff7fb 0%, #ffffff 38%, #fff1f2 100%);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(244, 114, 182, 0.18);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(190, 24, 93, 0.08);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.logo-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--rose));
    box-shadow: 0 14px 28px rgba(219, 39, 119, 0.28);
}

.logo-text {
    font-size: 21px;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--primary-dark), var(--rose));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link,
.mobile-nav-link {
    color: #4b5563;
    font-weight: 700;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
}

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

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 0;
    border-radius: 14px;
    background: var(--pink-light);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--primary);
    border-radius: 999px;
}

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

.mobile-nav.open {
    display: grid;
    gap: 8px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
    background: var(--pink-light);
}

main {
    overflow: hidden;
}

.hero-section {
    position: relative;
    min-height: 680px;
    padding: 86px 0 76px;
    color: #ffffff;
    overflow: hidden;
    background: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.22), transparent 26%), linear-gradient(135deg, #be185d 0%, #e11d48 48%, #f43f5e 100%);
}

.hero-blob {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    opacity: 0.26;
    filter: blur(24px);
    background: rgba(255, 255, 255, 0.58);
    animation: blobFloat 12s ease-in-out infinite;
}

.hero-blob-one {
    top: 70px;
    left: 5%;
}

.hero-blob-two {
    right: 6%;
    top: 170px;
    animation-delay: 2s;
}

.hero-blob-three {
    left: 44%;
    bottom: 40px;
    animation-delay: 4s;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
    align-items: center;
    gap: 46px;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 16px 0 18px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 660px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 2vw, 23px);
    line-height: 1.7;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-section .eyebrow,
.page-hero .eyebrow {
    color: #ffe4ef;
}

.hero-search {
    display: flex;
    width: min(620px, 100%);
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(136, 19, 55, 0.2);
}

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

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.hero-search button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero-search button,
.button-light {
    color: var(--primary-dark);
    background: #ffffff;
    box-shadow: 0 16px 35px rgba(136, 19, 55, 0.18);
}

.button-outline-light {
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.76);
    background: transparent;
}

.button:hover,
.hero-search button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

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

.hero-carousel {
    position: relative;
    min-height: 510px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 36px 90px rgba(88, 7, 32, 0.34);
    background: rgba(255, 255, 255, 0.14);
}

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

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

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

.hero-slide-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.08) 0%, rgba(17, 24, 39, 0.82) 100%);
}

.hero-slide-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px;
}

.hero-slide-content h2 {
    margin: 10px 0 10px;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.12;
}

.hero-slide-content p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.7;
}

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

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

.hero-dot.active {
    width: 32px;
    background: #ffffff;
}

.feature-strip {
    width: min(1180px, calc(100% - 32px));
    margin: -42px auto 0;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-strip article {
    padding: 26px;
    border: 1px solid rgba(244, 114, 182, 0.16);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.feature-strip strong {
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
}

.feature-strip span {
    color: var(--muted);
    line-height: 1.7;
}

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

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

.section-heading.centered {
    display: block;
    text-align: center;
}

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

.section-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

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

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

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

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

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

.movie-card {
    min-width: 0;
    border-radius: 24px;
    background: var(--card);
    box-shadow: 0 10px 30px rgba(190, 24, 93, 0.1);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

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

.poster-wrap {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #fdf2f8, #ffe4e6);
}

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

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

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

.poster-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 10px;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--rose));
    font-size: 12px;
    font-weight: 800;
}

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

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

.movie-meta-line span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tag-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag-strip span,
.genre-badges span,
.tags-block span {
    display: inline-flex;
    padding: 5px 9px;
    color: var(--primary-dark);
    border: 1px solid rgba(244, 114, 182, 0.22);
    border-radius: 999px;
    background: var(--pink-light);
    font-size: 12px;
    font-weight: 700;
}

.category-section {
    width: 100%;
    padding: 78px max(16px, calc((100vw - 1180px) / 2));
    background: linear-gradient(90deg, #eff6ff 0%, #fdf2f8 100%);
}

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

.category-tile {
    position: relative;
    min-height: 230px;
    padding: 24px;
    overflow: hidden;
    border-radius: 30px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--rose));
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-tile:hover {
    transform: translateY(-7px) scale(1.01);
    box-shadow: var(--shadow-strong);
}

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

.category-tile strong {
    margin-bottom: 10px;
    font-size: 24px;
}

.category-tile em {
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    line-height: 1.65;
}

.category-tile img {
    position: absolute;
    right: -18px;
    bottom: -34px;
    width: 150px;
    height: 210px;
    object-fit: cover;
    border-radius: 24px;
    opacity: 0.48;
    transform: rotate(8deg);
}

.category-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.24), transparent 34%);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.section-panel {
    min-width: 0;
    padding: 28px;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.rose-panel {
    background: linear-gradient(135deg, #fff7fb, #fff1f2);
}

.compact-heading {
    margin-bottom: 20px;
}

.compact-heading h2 {
    font-size: 30px;
}

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

.rank-item a {
    display: grid;
    grid-template-columns: 54px 82px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 20px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.rank-item a:hover {
    background: var(--pink-light);
    transform: translateX(4px);
}

.rank-number {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--rose));
    font-weight: 900;
}

.rank-item img {
    width: 82px;
    height: 82px;
    border-radius: 16px;
    object-fit: cover;
}

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

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

.page-hero {
    padding: 72px max(16px, calc((100vw - 1180px) / 2));
    color: #ffffff;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.24), transparent 30%), linear-gradient(135deg, #be185d 0%, #f43f5e 100%);
}

.page-hero h1 {
    margin: 12px 0;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
}

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

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

.category-card-large {
    overflow: hidden;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.category-card-large a {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 260px;
}

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

.category-card-body {
    padding: 28px;
}

.category-card-body h2 {
    margin: 8px 0 10px;
    font-size: 30px;
}

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

.sample-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.sample-list span {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--pink-light);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(150px, 0.7fr));
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(244, 114, 182, 0.18);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.all-filter {
    grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(140px, 0.7fr));
}

.filter-bar label {
    display: grid;
    gap: 8px;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #f4c5d6;
    border-radius: 16px;
    outline: 0;
    background: #ffffff;
    color: var(--text);
}

.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(219, 39, 119, 0.1);
}

.filter-note {
    margin: 18px 0 22px;
    color: var(--muted);
    font-size: 14px;
}

.movie-card.is-hidden,
.rank-item.is-hidden {
    display: none;
}

.ranking-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.full-rank-list {
    gap: 10px;
}

.full-rank-list .rank-item a {
    grid-template-columns: 62px 96px minmax(0, 1fr);
}

.full-rank-list .rank-item img {
    width: 96px;
    height: 96px;
}

.detail-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 80px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--primary);
    font-weight: 800;
}

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

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

.player-card,
.movie-detail-card,
.side-card {
    border-radius: 30px;
    background: #ffffff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.video-player {
    position: relative;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    background: #050505;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

.video-player video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #050505;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.08) 0%, rgba(17, 24, 39, 0.74) 100%);
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.video-player.is-playing .player-cover {
    opacity: 0;
    pointer-events: none;
}

.play-symbol {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    padding-left: 4px;
    border-radius: 999px;
    background: rgba(219, 39, 119, 0.92);
    box-shadow: 0 20px 50px rgba(219, 39, 119, 0.42);
    font-size: 30px;
}

.movie-detail-card {
    margin-top: 24px;
    padding: 30px;
}

.detail-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 24px;
    align-items: start;
}

.detail-title-row h1 {
    margin: 8px 0 12px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.detail-subtitle {
    margin: 0;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.75;
    border-left: 4px solid var(--primary);
    padding-left: 16px;
}

.detail-poster {
    width: 160px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 42px rgba(190, 24, 93, 0.18);
}

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

.detail-meta-grid div {
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff7fb, #fff1f2);
}

.detail-meta-grid span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.detail-meta-grid strong {
    color: #111827;
    font-size: 15px;
}

.genre-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

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

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

.detail-text-block p {
    margin: 0;
    color: #374151;
    font-size: 16px;
    line-height: 1.95;
}

.tags-block div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-side {
    position: sticky;
    top: 96px;
}

.side-card {
    padding: 22px;
}

.side-grid {
    grid-template-columns: 1fr;
    gap: 14px;
}

.side-grid .movie-card {
    border-radius: 18px;
}

.side-grid .movie-card-link {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
}

.side-grid .poster-wrap {
    height: 138px;
    aspect-ratio: auto;
}

.side-grid .movie-card-body {
    padding: 14px;
}

.side-grid .movie-card p,
.mini-grid .movie-card p {
    min-height: auto;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
}

.footer-logo .logo-text {
    color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.footer-brand p,
.footer-column p {
    color: #cbd5e1;
    line-height: 1.75;
}

.footer-column h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 18px;
}

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

.footer-column a:hover {
    color: #f9a8d4;
}

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

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(28px, -32px) scale(1.08);
    }

    66% {
        transform: translate(-24px, 24px) scale(0.94);
    }
}

@media (max-width: 1100px) {
    .hero-inner,
    .detail-grid,
    .split-section,
    .ranking-layout {
        grid-template-columns: 1fr;
    }

    .hero-carousel {
        min-height: 460px;
    }

    .detail-side {
        position: static;
    }

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

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

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

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

    .mobile-menu-button {
        display: block;
    }

    .hero-section {
        min-height: auto;
        padding-top: 64px;
    }

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

    .hero-search {
        border-radius: 24px;
        flex-direction: column;
        gap: 8px;
    }

    .hero-search input,
    .hero-search button {
        min-height: 48px;
    }

    .feature-strip {
        grid-template-columns: 1fr;
    }

    .category-large-grid,
    .category-card-large a,
    .filter-bar,
    .all-filter,
    .detail-title-row,
    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: 132px;
    }

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

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

@media (max-width: 540px) {
    .header-inner {
        height: 64px;
    }

    .logo-text {
        font-size: 18px;
    }

    .hero-carousel {
        min-height: 420px;
        border-radius: 26px;
    }

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

    .content-section {
        padding: 50px 0;
    }

    .catalog-grid,
    .featured-grid,
    .movie-grid,
    .mini-grid,
    .category-grid {
        gap: 14px;
    }

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

    .movie-card h3 {
        font-size: 16px;
    }

    .movie-card p {
        font-size: 13px;
    }

    .section-panel,
    .movie-detail-card,
    .side-card {
        padding: 18px;
        border-radius: 24px;
    }

    .rank-item a {
        grid-template-columns: 42px 68px minmax(0, 1fr);
        gap: 10px;
    }

    .rank-number {
        width: 38px;
        height: 38px;
        border-radius: 14px;
    }

    .rank-item img,
    .full-rank-list .rank-item img {
        width: 68px;
        height: 68px;
    }

    .full-rank-list .rank-item a {
        grid-template-columns: 42px 68px minmax(0, 1fr);
    }

    .side-grid .movie-card-link {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .side-grid .poster-wrap {
        height: 116px;
    }
}
