
:root {
    --strawberry: #ff3366;
    --strawberry-deep: #ed1659;
    --candy: #ff33aa;
    --candy-soft: #fef1f9;
    --gummy: #facc15;
    --jelly: #2dd4bf;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: rgba(255, 51, 102, 0.14);
    --soft-shadow: 0 2px 15px -3px rgba(255, 51, 102, 0.3), 0 10px 20px -2px rgba(255, 51, 102, 0.15);
    --float-shadow: 0 8px 30px rgba(255, 51, 102, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.5);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #fff7fb 0%, #ffffff 36%, #fff1f3 100%);
}

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

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

button,
input {
    font: inherit;
}

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

.glass-effect {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(16px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--soft-shadow);
}

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

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #ff6b8e, #ff33aa, #ffa3dd);
    box-shadow: var(--float-shadow);
}

.brand-name {
    font-size: clamp(20px, 3vw, 28px);
    background: linear-gradient(135deg, #ff3366, #ff33aa, #ffa3dd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #374151;
    font-weight: 700;
}

.nav-menu a {
    padding: 10px 12px;
    border-radius: 14px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--strawberry);
    background: #fff1f3;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    border: 0;
    color: var(--strawberry);
    background: #fff1f3;
    border-radius: 14px;
    padding: 10px 12px;
    cursor: pointer;
}

.bg-gradient-candy {
    background-image: linear-gradient(135deg, #ff6b8e, #ff33aa, #ffa3dd);
}

.hero-stage {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    color: #fff;
}

.hero-bubbles {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    pointer-events: none;
}

.hero-bubbles span {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: #fff;
}

.hero-bubbles span:nth-child(1) {
    width: 132px;
    height: 132px;
    top: 38px;
    left: 6vw;
    animation: float 6s ease-in-out infinite;
}

.hero-bubbles span:nth-child(2) {
    width: 92px;
    height: 92px;
    top: 190px;
    right: 12vw;
    animation: bounceSlow 3s ease-in-out infinite;
}

.hero-bubbles span:nth-child(3) {
    width: 168px;
    height: 168px;
    bottom: 38px;
    left: 34vw;
    animation: pulseSlow 4s ease-in-out infinite;
}

.hero-layout {
    min-height: 520px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    align-items: center;
    gap: 44px;
    padding: 54px 0 96px;
}

.hero-copy h1 {
    margin: 0 0 22px;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1.06;
    letter-spacing: -1.5px;
}

.hero-copy p {
    margin: 0 0 30px;
    max-width: 680px;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    color: var(--strawberry-deep);
    background: rgba(255, 255, 255, 0.82);
}

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

.white-button,
.ghost-button,
.gummy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 22px;
    border: 0;
    font-weight: 900;
    box-shadow: var(--float-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.white-button {
    color: var(--strawberry);
    background: #fff;
}

.ghost-button {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.36);
}

.gummy-button {
    color: #fff;
    background-image: linear-gradient(135deg, #ff3366, #ff6b8e, #ffa3b5);
}

.white-button:hover,
.ghost-button:hover,
.gummy-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px -15px rgba(255, 51, 102, 0.4);
}

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

.hero-tags a {
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.hero-focus {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    background: #fff;
}

.hero-focus a,
.featured-card a {
    position: relative;
    display: block;
    height: 100%;
    color: #fff;
}

.hero-focus img,
.featured-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-focus:hover img,
.featured-card:hover img,
.movie-card:hover img {
    transform: scale(1.08);
}

.hero-focus div {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 3;
}

.hero-focus strong {
    display: block;
    margin: 0 0 8px;
    font-size: 30px;
}

.hero-focus p {
    margin: 0 0 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.hero-focus span:not(.card-shade) {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--strawberry);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 900;
}

.card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.36), transparent);
}

.overlap-section {
    position: relative;
    z-index: 4;
    margin-top: -72px;
    margin-bottom: 76px;
}

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

.gummy-card {
    overflow: hidden;
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gummy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--float-shadow);
}

.featured-card {
    min-height: 385px;
}

.featured-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 26px;
}

.featured-copy h3,
.card-copy h3,
.horizontal-copy h3 {
    margin: 0 0 10px;
    line-height: 1.35;
}

.featured-copy h3 {
    font-size: 24px;
}

.featured-copy p,
.card-copy p,
.horizontal-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    margin: 0 0 14px;
    line-height: 1.65;
    color: var(--muted);
}

.featured-copy p {
    -webkit-line-clamp: 2;
    color: rgba(255, 255, 255, 0.86);
}

.play-float,
.poster-hover {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    color: var(--strawberry);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.play-float {
    width: 76px;
    height: 76px;
    left: calc(50% - 38px);
    top: calc(50% - 38px);
    font-size: 34px;
}

.poster-hover {
    width: 62px;
    height: 62px;
    left: calc(50% - 31px);
    top: calc(50% - 31px);
    font-size: 26px;
}

.featured-card:hover .play-float,
.movie-card:hover .poster-hover {
    opacity: 1;
    transform: scale(1);
}

.block-section {
    margin-bottom: 78px;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0 0 5px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.section-icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, #ff3366, #ff6b8e, #ffa3b5);
    box-shadow: var(--float-shadow);
    font-size: 24px;
}

.section-more {
    margin-left: auto;
    padding: 10px 16px;
    border-radius: 16px;
    color: var(--strawberry);
    background: #fff1f3;
    font-weight: 900;
}

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

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

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

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

.poster-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 32px 32px 0 0;
    aspect-ratio: 3 / 4.1;
    background: #fff1f3;
}

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

.poster-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.36);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.movie-card:hover .poster-wrap::after {
    opacity: 1;
}

.poster-type,
.rank-badge {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(0, 0, 0, 0.68);
}

.poster-type {
    top: 12px;
    right: 12px;
    padding: 6px 10px;
}

.rank-badge {
    top: 12px;
    left: 12px;
    min-width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #ff3366, #ff33aa);
    box-shadow: var(--float-shadow);
}

.card-copy {
    padding: 18px;
}

.card-copy h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 18px;
    transition: color 0.2s ease;
}

.movie-card:hover .card-copy h3,
.horizontal-card:hover h3 {
    color: var(--strawberry);
}

.card-copy p,
.horizontal-copy p {
    -webkit-line-clamp: 2;
    font-size: 14px;
}

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

.meta-row span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f9fafb;
}

.tag-line {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.tag-line span {
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--strawberry-deep);
    background: #fff1f3;
    font-size: 12px;
    font-weight: 800;
}

.soft-band,
.category-band {
    margin-bottom: 78px;
    padding: 64px 0;
    background: linear-gradient(90deg, #fef1f9, #fff1f3);
}

.movie-rail {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scrollbar-width: none;
}

.movie-rail::-webkit-scrollbar {
    display: none;
}

.rail-item {
    flex: 0 0 300px;
}

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

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

.horizontal-card a {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
}

.horizontal-cover {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 3 / 4;
    background: #fff1f3;
}

.horizontal-cover img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.horizontal-copy {
    align-self: center;
}

.horizontal-copy h3 {
    font-size: 20px;
}

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

.category-tile {
    display: block;
    padding: 24px;
}

.category-tile span {
    display: block;
    margin-bottom: 12px;
    color: var(--strawberry-deep);
    font-size: 20px;
    font-weight: 900;
}

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

.search-panel {
    margin-bottom: 28px;
    padding: 20px;
}

.search-panel input {
    width: 100%;
    min-height: 52px;
    border: 2px solid rgba(255, 51, 102, 0.12);
    border-radius: 20px;
    padding: 0 18px;
    outline: none;
    color: var(--ink);
    background: #fff;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-panel input:focus {
    border-color: rgba(255, 51, 102, 0.46);
    box-shadow: 0 0 0 4px rgba(255, 51, 102, 0.08);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.filter-chip {
    border: 0;
    border-radius: 999px;
    padding: 9px 16px;
    color: #374151;
    background: #f3f4f6;
    cursor: pointer;
    font-weight: 900;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
    color: #fff;
    background: linear-gradient(135deg, #ff6b8e, #ff33aa, #ffa3dd);
    transform: translateY(-1px);
}

.page-hero {
    color: #fff;
    overflow: hidden;
}

.slim-hero {
    padding: 86px 0 74px;
    margin-bottom: 62px;
}

.slim-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 64px);
}

.slim-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.8;
}

.compact-actions {
    margin-top: 24px;
    margin-bottom: 0;
}

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

.category-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    min-height: 230px;
}

.category-card-cover {
    position: relative;
    overflow: hidden;
}

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

.category-card-cover span {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}

.category-card-copy {
    align-self: center;
    padding: 24px;
}

.category-card-copy h2 {
    margin: 0 0 12px;
    font-size: 26px;
    color: var(--strawberry-deep);
}

.category-card-copy p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.75;
}

.category-card-copy strong {
    color: var(--strawberry);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #111827;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.34;
    filter: blur(4px);
    transform: scale(1.02);
}

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

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.88), rgba(255, 51, 170, 0.8), rgba(17, 24, 39, 0.82));
}

.detail-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 48px 0 64px;
}

.breadcrumb {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

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

.detail-poster {
    aspect-ratio: 3 / 4.2;
}

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

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.12;
}

.detail-line {
    margin: 0 0 24px;
    max-width: 780px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.8;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

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

.watch-player {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.watch-player video {
    width: 100%;
    height: 100%;
    display: block;
    background: #020617;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--strawberry);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.12));
    cursor: pointer;
}

.player-overlay span {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--strawberry);
    background: rgba(255, 255, 255, 0.92);
    font-size: 38px;
    box-shadow: var(--float-shadow);
    transition: transform 0.2s ease;
}

.player-overlay:hover span {
    transform: scale(1.08);
}

.player-overlay.is-hidden {
    display: none;
}

.article-section {
    max-width: 980px;
    color: #374151;
    font-size: 18px;
    line-height: 1.95;
}

.article-section h2 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 30px;
}

.article-section p {
    margin: 0 0 28px;
}

.site-footer {
    padding-top: 54px;
    color: #4b5563;
    background: linear-gradient(180deg, #fff, #fdf2f8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.85fr 0.85fr 1fr;
    gap: 34px;
    padding-bottom: 42px;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--strawberry-deep);
    font-size: 18px;
}

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

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

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

.site-footer a:hover {
    color: var(--strawberry);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 51, 102, 0.12);
    padding: 20px 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.is-hidden-card {
    display: none !important;
}

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

@keyframes bounceSlow {
    0%, 100% {
        transform: translateY(-18%);
    }
    50% {
        transform: translateY(0);
    }
}

@keyframes pulseSlow {
    0%, 100% {
        opacity: 0.85;
    }
    50% {
        opacity: 0.42;
    }
}

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

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

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

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--soft-shadow);
    }

    .nav-menu.is-open {
        display: flex;
    }

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

    .hero-focus {
        min-height: 320px;
    }

    .featured-grid,
    .horizontal-grid,
    .ranking-list,
    .big-ranking,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .hero-layout {
        padding: 44px 0 102px;
        gap: 28px;
    }

    .overlap-section {
        margin-top: -58px;
    }

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

    .card-copy {
        padding: 14px;
    }

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

    .card-copy p,
    .tag-line {
        display: none;
    }

    .horizontal-card a,
    .category-card {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
    }

    .horizontal-copy h3,
    .category-card-copy h2 {
        font-size: 17px;
    }

    .horizontal-copy p,
    .category-card-copy p {
        -webkit-line-clamp: 3;
        font-size: 13px;
    }

    .category-card-copy {
        padding: 16px;
    }

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

    .section-more {
        display: none;
    }

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

    .slim-hero {
        padding: 62px 0 56px;
    }

    .player-overlay span {
        width: 72px;
        height: 72px;
        font-size: 30px;
    }
}
