:root {
    --strawberry-50: #fff1f3;
    --strawberry-100: #ffe4e9;
    --strawberry-500: #ff3366;
    --strawberry-600: #ed1659;
    --candy-50: #fef1f9;
    --candy-100: #fee5f5;
    --candy-500: #ff33aa;
    --gummy-100: #fef9c3;
    --gummy-400: #facc15;
    --jelly-400: #2dd4bf;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --shadow-soft: 0 2px 15px -3px rgba(255, 51, 102, 0.30), 0 10px 20px -2px rgba(255, 51, 102, 0.15);
    --shadow-gummy: 0 8px 30px rgba(255, 51, 102, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.50);
    --shadow-float: 0 20px 60px -15px rgba(255, 51, 102, 0.40);
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    color: var(--gray-800);
    background: linear-gradient(135deg, #fdf2f8 0%, #fff1f2 45%, #fef2f2 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(255, 107, 142, 0.18);
}

.nav-wrap {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--strawberry-600);
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #ff3366, #ff6b8e, #ffa3b5);
    box-shadow: var(--shadow-gummy);
}

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

.nav-link {
    padding: 10px 16px;
    border-radius: 16px;
    color: var(--gray-600);
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--strawberry-600);
    background: var(--strawberry-50);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: var(--strawberry-50);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--strawberry-600);
}

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

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

.hero-section {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #ff6b8e 0%, #ff33aa 45%, #ffa3dd 100%);
}

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

.hero-bubbles span {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: #ffffff;
    animation: floatBubble 8s ease-in-out infinite;
}

.hero-bubbles span:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 48px;
    left: 8%;
}

.hero-bubbles span:nth-child(2) {
    width: 92px;
    height: 92px;
    right: 10%;
    top: 156px;
    animation-delay: 1.8s;
}

.hero-bubbles span:nth-child(3) {
    width: 180px;
    height: 180px;
    left: 32%;
    bottom: 70px;
    animation-delay: 3s;
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 44px;
    padding: 56px 0 112px;
}

.hero-heading h1,
.inner-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero-heading p,
.inner-hero p {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.18rem;
    line-height: 1.8;
}

.eyebrow,
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--strawberry-600);
    background: rgba(255, 255, 255, 0.86);
    font-size: 0.88rem;
    font-weight: 800;
}

.hero-search {
    display: flex;
    width: min(100%, 520px);
    padding: 7px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-gummy);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 16px;
    color: var(--gray-800);
    background: transparent;
}

.hero-search button,
.gummy-button {
    border: 0;
    border-radius: 18px;
    padding: 12px 22px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, #ff3366, #ff6b8e, #ffa3b5);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-search button:hover,
.gummy-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-float);
}

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

.hero-links a,
.ghost-button,
.category-jump a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 10px 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.20);
    transition: all 0.2s ease;
}

.hero-links a:hover,
.ghost-button:hover,
.category-jump a:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

.hero-carousel {
    position: relative;
    min-height: 420px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 24px;
    align-items: center;
    padding: 28px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.20);
    box-shadow: var(--shadow-gummy);
    backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateX(20px) scale(0.98);
    pointer-events: none;
    transition: all 0.55s ease;
}

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

.hero-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
}

.hero-copy p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.8;
}

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

.hero-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    box-shadow: var(--shadow-float);
}

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

.hero-poster:hover img {
    transform: scale(1.08);
}

.hero-poster span {
    position: absolute;
    inset: auto 18px 18px auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    color: var(--strawberry-500);
    background: rgba(255, 255, 255, 0.92);
}

.hero-dots {
    position: absolute;
    left: 32px;
    bottom: -44px;
    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

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

.featured-strip {
    position: relative;
    z-index: 5;
    margin-top: -70px;
    margin-bottom: 72px;
}

.featured-grid,
.movie-grid,
.category-grid,
.category-summary-grid {
    display: grid;
    gap: 24px;
}

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

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

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

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

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

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

.section-title h2 {
    margin: 0 0 6px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.section-title p {
    margin: 0;
    color: var(--gray-600);
}

.section-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 18px;
    color: #ffffff;
    font-weight: 900;
    box-shadow: var(--shadow-gummy);
}

.section-icon.strawberry {
    background: linear-gradient(135deg, #ff3366, #ff6b8e, #ffa3b5);
}

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

.section-icon.gummy {
    background: #facc15;
}

.section-icon.jelly {
    background: #2dd4bf;
}

.movie-card,
.category-card,
.category-summary-card,
.search-panel,
.rank-item,
.player-card,
.detail-side,
.detail-main {
    overflow: hidden;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover,
.category-card:hover,
.category-summary-card:hover,
.rank-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gummy);
}

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

.movie-card figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--strawberry-100);
}

.movie-card:not(.featured-card):not(.horizontal-card) figure {
    aspect-ratio: 16 / 10;
}

.featured-card figure {
    height: 390px;
}

.movie-card img,
.rank-item img,
.detail-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover img,
.rank-item:hover img {
    transform: scale(1.08);
}

.duration,
.play-badge {
    position: absolute;
    z-index: 2;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.68);
}

.duration {
    right: 12px;
    top: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
}

.play-badge {
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 0;
    transition: all 0.25s ease;
}

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

.featured-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 100px 22px 22px;
    color: #ffffff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42), transparent);
}

.card-body {
    padding: 18px;
}

.movie-card h3,
.featured-info h3,
.rank-item h2 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    line-height: 1.35;
}

.featured-info h3 {
    font-size: 1.55rem;
}

.movie-card p,
.featured-info p,
.rank-item p,
.category-card p,
.category-summary-card p,
.detail-main p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.75;
}

.featured-info p {
    color: rgba(255, 255, 255, 0.86);
}

.movie-meta,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.movie-meta {
    margin-top: 12px;
    color: var(--gray-500);
    font-size: 0.88rem;
}

.tag-row {
    margin-top: 14px;
}

.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--strawberry-600);
    background: var(--strawberry-50);
    font-size: 0.78rem;
    font-weight: 700;
}

.horizontal-card a {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 18px;
    align-items: stretch;
    padding: 12px;
}

.horizontal-card figure {
    border-radius: 24px;
    aspect-ratio: 4 / 3;
}

.soft-band,
.category-overview {
    padding: 68px 0;
    background: linear-gradient(90deg, var(--candy-50), var(--strawberry-50));
}

.movie-rail {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
}

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

.rail-item {
    width: 330px;
    flex: 0 0 auto;
}

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

.category-card,
.category-summary-card {
    padding: 24px;
}

.category-card span,
.category-summary-card span {
    display: inline-flex;
    margin-bottom: 14px;
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--strawberry-600);
    background: var(--strawberry-50);
    font-weight: 800;
}

.category-card strong,
.category-summary-card h2 {
    display: block;
    margin: 0 0 10px;
    color: var(--gray-800);
    font-size: 1.25rem;
}

.mini-links {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.mini-links a {
    color: var(--gray-600);
}

.mini-links a:hover {
    color: var(--strawberry-600);
}

.search-panel {
    padding: 32px;
}

.search-panel h2 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.search-tools,
.list-filter {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 14px;
    margin-top: 24px;
}

.search-tools input,
.search-tools select,
.list-filter input,
.list-filter select {
    width: 100%;
    border: 1px solid rgba(255, 51, 102, 0.18);
    border-radius: 18px;
    outline: 0;
    padding: 14px 16px;
    background: #ffffff;
}

.search-tools input:focus,
.search-tools select:focus,
.list-filter input:focus,
.list-filter select:focus {
    border-color: var(--strawberry-500);
    box-shadow: 0 0 0 4px rgba(255, 51, 102, 0.10);
}

.search-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.search-result-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    overflow: hidden;
    border-radius: 20px;
    padding: 10px;
    background: var(--strawberry-50);
}

.search-result-card img {
    width: 86px;
    height: 112px;
    border-radius: 16px;
    object-fit: cover;
}

.search-result-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.search-result-card p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.88rem;
    line-height: 1.55;
}

.inner-hero,
.detail-hero {
    padding: 72px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #ff6b8e 0%, #ff33aa 48%, #ffa3dd 100%);
}

.inner-hero h1 {
    max-width: 920px;
}

.inner-hero p {
    max-width: 780px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.86);
}

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

.category-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 980px;
}

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

.rank-item a {
    display: grid;
    grid-template-columns: 58px 128px 1fr;
    gap: 18px;
    align-items: center;
    padding: 14px;
}

.rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #ff3366, #ff6b8e, #ffa3b5);
    font-weight: 900;
}

.rank-item img {
    width: 128px;
    height: 88px;
    border-radius: 18px;
}

.detail-hero {
    padding-bottom: 46px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 26px;
    align-items: stretch;
}

.player-card {
    position: relative;
    background: #111827;
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111827;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--strawberry-500);
    background: rgba(17, 24, 39, 0.35);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-gummy);
    font-size: 2rem;
}

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

.detail-side {
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
}

.detail-side img {
    height: 330px;
    border-radius: 24px;
}

.detail-meta-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.detail-meta-list span {
    border-radius: 14px;
    padding: 10px;
    color: var(--strawberry-600);
    background: var(--strawberry-50);
    text-align: center;
    font-weight: 800;
}

.detail-content {
    margin-top: 36px;
}

.detail-main {
    padding: 32px;
}

.detail-main h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.08;
}

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

.detail-main h2 {
    margin: 34px 0 14px;
    font-size: 1.55rem;
}

.detail-tags {
    margin-top: 22px;
}

.detail-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.detail-nav-links a {
    border-radius: 18px;
    padding: 16px;
    color: var(--strawberry-600);
    background: var(--strawberry-50);
    font-weight: 800;
}

.site-footer {
    margin-top: 60px;
    padding-top: 58px;
    background: linear-gradient(to bottom, #ffffff, #fdf2f8);
}

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

.footer-brand {
    margin-bottom: 16px;
}

.site-footer p {
    max-width: 480px;
    color: var(--gray-600);
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 16px;
    font-size: 1.1rem;
    color: var(--strawberry-600);
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: var(--gray-600);
}

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

.footer-bottom {
    margin-top: 36px;
    border-top: 1px solid rgba(255, 51, 102, 0.13);
    padding: 22px;
    color: var(--gray-600);
    text-align: center;
}

[hidden] {
    display: none !important;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-22px) scale(1.05);
    }
}

@media (max-width: 1080px) {
    .hero-inner,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        position: relative;
        display: none;
    }

    .hero-slide.is-active {
        display: grid;
    }

    .featured-grid,
    .three-col,
    .four-col,
    .category-grid,
    .category-summary-grid,
    .search-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .menu-toggle {
        display: block;
    }

    .hero-section,
    .hero-inner {
        min-height: auto;
    }

    .hero-inner {
        padding: 42px 0 96px;
    }

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

    .hero-poster {
        max-width: 230px;
        margin: 0 auto;
    }

    .featured-strip {
        margin-top: -48px;
    }

    .featured-grid,
    .three-col,
    .four-col,
    .two-col,
    .category-grid,
    .category-summary-grid,
    .search-results,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .horizontal-card a,
    .rank-item a,
    .search-result-card {
        grid-template-columns: 1fr;
    }

    .rank-item img,
    .search-result-card img {
        width: 100%;
        height: 180px;
    }

    .search-tools,
    .list-filter,
    .detail-nav-links {
        grid-template-columns: 1fr;
    }

    .hero-search {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search input {
        min-height: 46px;
    }
}
