:root {
    --candy-pink: #ffb3d9;
    --candy-rose: #ff8dc7;
    --candy-orange: #ffb347;
    --candy-yellow: #ffe66d;
    --candy-mint: #a8e6ce;
    --candy-blue: #87ceeb;
    --candy-purple: #c497ff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --white-soft: rgba(255, 255, 255, 0.86);
    --shadow-candy: 0 18px 50px rgba(255, 179, 217, 0.38);
    --shadow-soft: 0 18px 40px rgba(31, 41, 55, 0.12);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text-main);
    font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 179, 217, 0.42), transparent 26rem),
        radial-gradient(circle at 86% 20%, rgba(168, 230, 206, 0.38), transparent 28rem),
        linear-gradient(135deg, #fff5f8 0%, #ffffff 48%, #ffe5ec 100%);
    overflow-x: hidden;
}

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

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

button,
input {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

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

.glass-effect {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.gradient-text {
    background: linear-gradient(135deg, #ff8dc7, #ffb347, #ffe66d, #50cfa1, #6ebee8);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

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

.candy-button {
    color: #ffffff;
    background: linear-gradient(90deg, #ff8dc7, #ffb347, #a8e6ce);
    box-shadow: var(--shadow-candy);
}

.ghost-button {
    color: #ff5bab;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 141, 199, 0.32);
}

.candy-button:hover,
.ghost-button:hover {
    transform: translateY(-2px) scale(1.02);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-width: 0 0 1px;
    border-style: solid;
    border-color: rgba(255, 179, 217, 0.24);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--candy-rose), var(--candy-yellow), var(--candy-mint));
    box-shadow: 0 10px 26px rgba(255, 141, 199, 0.34);
}

.brand-name {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

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

.nav-link,
.mobile-nav-link {
    font-weight: 700;
    color: #374151;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: #ff5bab;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 179, 217, 0.28);
}

.header-search input,
.mobile-search input,
.page-filter,
.search-page-form input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #374151;
    background: transparent;
}

.header-search input {
    width: 240px;
    padding: 8px 10px 8px 16px;
}

.header-search button,
.mobile-search button {
    padding: 8px 14px;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff8dc7, #ffb347);
}

.quick-category-row {
    display: flex;
    gap: 10px;
    padding-bottom: 14px;
    overflow-x: auto;
}

.quick-category {
    flex-shrink: 0;
    padding: 8px 14px;
    color: #9d4770;
    font-size: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 179, 217, 0.28);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 179, 217, 0.16);
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: #ff5bab;
}

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

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

.mobile-search {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.hero-carousel {
    position: relative;
    min-height: 720px;
    padding: 46px 0 28px;
    overflow: hidden;
}

.candy-orb {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.45;
    animation: float 7s ease-in-out infinite;
}

.orb-one {
    left: 5%;
    top: 18%;
    background: var(--candy-pink);
}

.orb-two {
    right: 7%;
    bottom: 22%;
    background: var(--candy-mint);
    animation-delay: -3s;
}

.hero-stage {
    position: relative;
    width: min(100% - 32px, var(--container));
    height: 520px;
    margin: 0 auto;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(31, 41, 55, 0.26);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 360px;
    gap: 32px;
    align-items: center;
    padding: 54px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(135deg, #111827, #ffb3d9);
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    filter: saturate(1.18) blur(1px);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.38), rgba(255, 255, 255, 0.16)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 45%);
}

.hero-content-card {
    max-width: 680px;
    padding: 34px;
    border-radius: 30px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.42);
    border-color: rgba(255, 255, 255, 0.26);
}

.hero-kicker,
.section-kicker,
.category-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: #ff5bab;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.hero-kicker {
    color: #ffe66d;
}

.hero-content-card h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.hero-summary {
    max-width: 680px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}

.hero-tags,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #9d4770;
    background: rgba(255, 245, 248, 0.82);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.78);
}

.hero-stats span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.hero-poster {
    position: relative;
    display: block;
    width: 100%;
    max-width: 330px;
    margin-left: auto;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-6px);
}

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

.hero-poster span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 14px;
    color: #ffffff;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.56);
}

.hero-control-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
}

.hero-arrow,
.hero-dot {
    display: grid;
    place-items: center;
    color: #ff5bab;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 24px rgba(255, 179, 217, 0.25);
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 30px;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    opacity: 0.6;
}

.hero-dot.is-active {
    width: 34px;
    opacity: 1;
    background: linear-gradient(90deg, #ff8dc7, #ffe66d);
}

.hero-rail {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    padding-bottom: 6px;
    overflow-x: auto;
}

.hero-rail-card {
    position: relative;
    flex: 0 0 166px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.hero-rail-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hero-rail-card span {
    position: absolute;
    inset: auto 0 0 0;
    padding: 30px 10px 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 10px;
}

.stat-card {
    padding: 22px;
    border-radius: 22px;
    text-align: center;
}

.stat-card strong {
    display: block;
    color: #ff5bab;
    font-size: 32px;
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-weight: 700;
}

.content-section {
    margin-top: 54px;
}

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

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

.section-more {
    flex-shrink: 0;
    color: #ff5bab;
    font-weight: 900;
}

.movie-grid,
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}

.compact-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.featured-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 28px rgba(31, 41, 55, 0.1);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-frame {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe5ec, #e8fff6);
}

.poster-frame img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.55));
}

.poster-type,
.rank-badge,
.poster-play {
    position: absolute;
    z-index: 2;
    color: #ffffff;
    font-weight: 900;
}

.poster-type {
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: linear-gradient(90deg, #ff8dc7, #ffb347);
}

.rank-badge {
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: rgba(17, 24, 39, 0.62);
}

.poster-play {
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(8px);
}

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

.movie-card-meta,
.movie-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
}

.movie-card-meta a {
    color: #ff5bab;
}

.movie-card h3 {
    margin: 10px 0 8px;
    font-size: 19px;
    line-height: 1.3;
}

.movie-card h3 a:hover {
    color: #ff5bab;
}

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

.movie-card-compact p {
    min-height: 48px;
}

.movie-card-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 179, 217, 0.2);
}

.filter-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 18px;
}

.page-filter {
    min-height: 42px;
    padding: 0 4px;
}

.filter-panel span {
    flex-shrink: 0;
    color: #ff5bab;
    font-weight: 800;
}

.page-main {
    padding-top: 44px;
    padding-bottom: 74px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 36px;
    border-radius: 30px;
}

.compact-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
}

.compact-hero p {
    max-width: 820px;
    margin: 0;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.8;
}

.category-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 172px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-cover-stack {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.category-cover-stack img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.category-cover-stack span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 5px 8px;
    color: #ffffff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    background: rgba(0, 0, 0, 0.58);
}

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

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--text-muted);
    font-weight: 700;
}

.breadcrumb a:hover {
    color: #ff5bab;
}

.breadcrumb.light {
    color: rgba(255, 255, 255, 0.78);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 42px 0 58px;
    color: #ffffff;
}

.detail-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: #111827;
}

.detail-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) saturate(1.1);
    transform: scale(1.04);
    opacity: 0.65;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.42));
}

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

.detail-poster,
.detail-info {
    border-radius: 28px;
}

.detail-poster {
    overflow: hidden;
    padding: 10px;
    background: rgba(255, 255, 255, 0.22);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 22px;
}

.detail-info {
    padding: 30px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.42);
    border-color: rgba(255, 255, 255, 0.25);
}

.detail-info h1 {
    margin: 0 0 16px;
    font-size: clamp(36px, 6vw, 70px);
    line-height: 1.04;
}

.detail-one-line {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.8;
}

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

.detail-meta-grid span {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
}

.detail-tags {
    margin-bottom: 24px;
}

.player-section {
    margin-top: 44px;
}

.player-card {
    overflow: hidden;
    border-radius: 28px;
}

.player-box {
    position: relative;
    background: #000000;
}

.player-box video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.66));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-overlay span {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    font-size: 28px;
    background: linear-gradient(135deg, #ff8dc7, #ffb347, #a8e6ce);
    box-shadow: 0 18px 40px rgba(255, 141, 199, 0.42);
}

.player-overlay strong {
    font-size: 24px;
}

.player-overlay small {
    color: rgba(255, 255, 255, 0.78);
}

.player-note {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    color: var(--text-muted);
}

.player-note strong {
    color: #ff5bab;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
}

.detail-article,
.detail-side,
.table-wrap {
    padding: 24px;
    border-radius: 24px;
}

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

.detail-article p {
    margin: 0 0 24px;
    color: #4b5563;
    font-size: 17px;
    line-height: 2;
}

.detail-side dl {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px 12px;
    margin: 0;
}

.detail-side dt {
    color: #ff5bab;
    font-weight: 900;
}

.detail-side dd {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.table-wrap {
    overflow-x: auto;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.ranking-table th,
.ranking-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 179, 217, 0.22);
}

.ranking-table th {
    color: #ff5bab;
    font-weight: 900;
}

.ranking-table a {
    font-weight: 800;
}

.ranking-table a:hover {
    color: #ff5bab;
}

.search-page-form {
    display: flex;
    gap: 12px;
    max-width: 760px;
    margin-top: 24px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 179, 217, 0.28);
}

.search-page-form input {
    padding: 0 16px;
}

.site-footer {
    margin-top: 60px;
    padding: 48px 0;
    color: #4b5563;
    background: rgba(255, 255, 255, 0.58);
    border-top: 1px solid rgba(255, 179, 217, 0.24);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 26px;
}

.footer-brand {
    margin-bottom: 12px;
    font-size: 28px;
    font-weight: 900;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: #ff5bab;
    font-size: 18px;
}

.site-footer p {
    margin: 0;
    line-height: 1.8;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a:hover {
    color: #ff5bab;
}

.scrollbar-hide {
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

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

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

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

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

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

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 260px;
        padding: 34px;
    }

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

    .detail-poster {
        max-width: 280px;
    }

    .footer-grid,
    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .brand-name {
        font-size: 22px;
    }

    .quick-category-row {
        padding-bottom: 10px;
    }

    .hero-carousel {
        min-height: auto;
        padding-top: 20px;
    }

    .hero-stage {
        height: auto;
        min-height: 660px;
        border-radius: 24px;
    }

    .hero-slide {
        position: absolute;
        grid-template-columns: 1fr;
        padding: 22px;
    }

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

    .hero-poster {
        width: 210px;
        margin: 0;
    }

    .hero-summary,
    .compact-hero p,
    .detail-one-line {
        font-size: 16px;
    }

    .hero-rail-card {
        flex-basis: 140px;
    }

    .stats-strip,
    .footer-grid,
    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .filter-panel,
    .player-note,
    .search-page-form {
        align-items: stretch;
        flex-direction: column;
    }

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

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

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

    .movie-card p,
    .movie-card-footer,
    .movie-card-meta,
    .tag-list span {
        font-size: 12px;
    }

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

    .page-hero {
        padding: 24px;
    }

    .detail-info {
        padding: 22px;
    }
}

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