body {
    color: #2f2933;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 181, 167, 0.42), transparent 30%),
        radial-gradient(circle at 86% 12%, rgba(255, 158, 181, 0.32), transparent 28%),
        linear-gradient(135deg, #fff5f2 0%, #ffe4e1 46%, #fff8f5 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(255, 181, 167, 0.25);
}

.header-inner,
.footer-grid,
.page,
.home-section,
.breadcrumb {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

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

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffb5a7, #ff8fa3);
    box-shadow: 0 12px 28px rgba(255, 143, 163, 0.34);
}

.brand-name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 15px;
    font-weight: 600;
    color: #5f5563;
    flex: 1;
}

.main-nav a,
.mobile-nav a,
.footer-links a {
    transition: color 0.25s ease, transform 0.25s ease;
}

.main-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
    color: #ff8888;
}

.header-search,
.mobile-search,
.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.search-bar input,
.category-filter input {
    width: 230px;
    height: 42px;
    border: 1px solid rgba(255, 181, 167, 0.42);
    border-radius: 999px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.82);
    color: #3f3742;
}

.header-search button,
.mobile-search button,
.search-bar button,
.category-filter button {
    height: 42px;
    border-radius: 999px;
    padding: 0 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #ffb5a7, #ff8fa3);
    box-shadow: 0 10px 22px rgba(255, 143, 163, 0.28);
}

.nav-toggle {
    display: none;
    border-radius: 999px;
    padding: 10px 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #ffb5a7, #ff8fa3);
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 40px rgba(255, 143, 163, 0.18);
}

.mobile-nav nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 14px;
    font-weight: 700;
}

.mobile-nav.open {
    display: block;
}

.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    border-radius: 0 0 46px 46px;
    background: linear-gradient(135deg, #ffb5a7 0%, #ff9eb5 48%, #ffc9b9 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    filter: blur(1px);
}

.hero::before {
    width: 290px;
    height: 290px;
    right: 7%;
    top: 90px;
}

.hero::after {
    width: 170px;
    height: 170px;
    left: 8%;
    bottom: 70px;
}

.hero-slide {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 600px;
    position: relative;
    z-index: 2;
    align-items: center;
    gap: 54px;
    padding: 70px 0 110px;
}

.hero-slide.active {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    animation: fadeIn 0.5s ease;
}

.hero-kicker,
.section-kicker,
.detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #7a3541;
    background: rgba(255, 255, 255, 0.52);
    font-size: 14px;
    font-weight: 700;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(40px, 7vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    max-width: 780px;
    text-shadow: 0 18px 42px rgba(114, 50, 67, 0.26);
}

.hero-text p {
    margin-top: 20px;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 19px;
    line-height: 1.9;
}

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

.hero-actions a,
.detail-actions a,
.soft-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 800;
}

.hero-actions .primary,
.detail-actions .primary {
    color: #ff7d91;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 36px rgba(112, 46, 63, 0.2);
}

.hero-actions .secondary,
.detail-actions .secondary,
.soft-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.18);
}

.hero-poster {
    position: relative;
    padding: 18px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(16px);
    box-shadow: 0 32px 70px rgba(112, 46, 63, 0.24);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 24px 50px rgba(63, 35, 44, 0.22);
}

.hero-card-info {
    position: absolute;
    left: -24px;
    right: 24px;
    bottom: 30px;
    padding: 18px;
    color: #49343d;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 46px rgba(112, 46, 63, 0.18);
}

.hero-card-info strong {
    display: block;
    font-size: 20px;
    color: #2f2933;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 10px;
}

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

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

.home-section,
.page {
    padding: 62px 0;
}

.overlap-section {
    margin-top: -72px;
    position: relative;
    z-index: 6;
    padding-top: 0;
}

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

.section-head h2,
.page-title h1,
.detail-info h1 {
    font-size: clamp(28px, 4vw, 46px);
    color: #2f2933;
    letter-spacing: -0.03em;
}

.section-head p,
.page-title p {
    margin-top: 10px;
    max-width: 780px;
    color: #736573;
    line-height: 1.8;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 42px rgba(255, 143, 163, 0.15);
    border: 1px solid rgba(255, 181, 167, 0.2);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe4e1, #fff5f2);
}

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

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

.poster-glow {
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.48), transparent);
}

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

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #ff7d91;
    font-size: 13px;
    font-weight: 800;
}

.movie-card h2 {
    font-size: 20px;
    font-weight: 800;
    color: #2f2933;
    line-height: 1.28;
}

.movie-card p {
    margin-top: 10px;
    color: #736573;
    line-height: 1.7;
    font-size: 14px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag-row span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 0 10px;
    color: #8b4a55;
    background: rgba(255, 229, 224, 0.82);
    font-size: 12px;
    font-weight: 700;
}

.movie-card.large {
    display: grid;
    grid-template-columns: 42% 1fr;
    min-height: 255px;
}

.movie-card.large .poster-link img {
    height: 100%;
    aspect-ratio: auto;
}

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

.category-chip,
.category-tile {
    display: block;
    padding: 24px;
    border-radius: 28px;
    box-shadow: 0 18px 38px rgba(255, 143, 163, 0.15);
}

.category-chip strong,
.category-tile h2 {
    display: block;
    color: #2f2933;
    font-size: 22px;
    font-weight: 800;
}

.category-chip span,
.category-tile p {
    display: block;
    margin-top: 10px;
    color: #736573;
    line-height: 1.7;
}

.category-tile .tile-links {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tile .tile-links a {
    padding: 7px 12px;
    border-radius: 999px;
    color: #8b4a55;
    background: rgba(255, 245, 242, 0.9);
    font-size: 13px;
    font-weight: 700;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 70px 82px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 32px rgba(255, 143, 163, 0.12);
}

.rank-num {
    font-size: 30px;
    font-weight: 900;
    color: #ff8fa3;
    text-align: center;
}

.rank-item img {
    width: 82px;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    object-fit: cover;
}

.rank-item h2 {
    font-size: 18px;
    font-weight: 800;
    color: #2f2933;
}

.rank-item p {
    margin-top: 6px;
    color: #736573;
    line-height: 1.6;
    font-size: 14px;
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #ff8fa3, #ffb5a7);
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(255, 143, 163, 0.38);
}

.page-title {
    padding: 44px 0 22px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 30px;
    color: #8b7380;
    font-size: 14px;
}

.breadcrumb a {
    color: #ff7d91;
    font-weight: 700;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 36px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 60px rgba(255, 143, 163, 0.16);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 26px 54px rgba(112, 46, 63, 0.2);
}

.detail-info h1 {
    margin-bottom: 18px;
}

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

.detail-meta span {
    padding: 8px 14px;
    border-radius: 999px;
    color: #8b4a55;
    background: rgba(255, 229, 224, 0.9);
    font-weight: 800;
}

.detail-info .lead {
    color: #554851;
    font-size: 18px;
    line-height: 1.9;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

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

.detail-actions .primary {
    color: #ffffff;
    background: linear-gradient(135deg, #ffb5a7, #ff8fa3);
}

.player-section,
.content-section,
.related-section {
    margin-top: 34px;
    padding: 30px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 22px 52px rgba(255, 143, 163, 0.14);
}

.player-section h2,
.content-section h2,
.related-section h2 {
    margin-bottom: 18px;
    color: #2f2933;
    font-size: 28px;
    font-weight: 900;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #111111;
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.play-layer {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #ffffff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
}

.play-layer .play-icon {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ff8fa3;
    background: rgba(255, 255, 255, 0.92);
    font-size: 34px;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.play-layer strong {
    font-size: 20px;
}

.player-shell.is-playing .play-layer {
    display: none;
}

.content-section p {
    margin-bottom: 18px;
    color: #554851;
    font-size: 17px;
    line-height: 2;
}

.category-filter,
.search-panel {
    margin: 22px 0 30px;
    padding: 20px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 36px rgba(255, 143, 163, 0.12);
}

.category-filter form,
.search-panel form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.category-filter input,
.search-bar input {
    width: min(520px, 100%);
    flex: 1;
}

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

.site-footer {
    margin-top: 60px;
    padding: 54px 0 28px;
    background: rgba(255, 255, 255, 0.66);
    border-top: 1px solid rgba(255, 181, 167, 0.26);
}

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

.footer-grid p {
    margin-top: 14px;
    color: #736573;
    line-height: 1.8;
}

.footer-grid h2 {
    margin-bottom: 16px;
    color: #2f2933;
    font-size: 18px;
    font-weight: 900;
}

.footer-links {
    display: grid;
    gap: 10px;
    color: #736573;
    font-weight: 700;
}

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

.copyright {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 0;
    color: #8b7380;
    font-size: 14px;
}

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

    .nav-toggle {
        display: inline-flex;
    }

    .header-search {
        margin-left: auto;
    }

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

    .hero-poster {
        max-width: 360px;
    }

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

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

@media (max-width: 760px) {
    .header-inner {
        min-height: 64px;
        gap: 10px;
    }

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

    .header-search {
        display: none;
    }

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

    .hero-slide {
        padding: 42px 0 94px;
    }

    .hero-card-info {
        left: 14px;
        right: 14px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .section-head {
        display: block;
    }

    .feature-grid,
    .movie-grid,
    .movie-grid.compact,
    .category-grid,
    .rank-list,
    .footer-grid,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .movie-card.large {
        grid-template-columns: 1fr;
    }

    .rank-item {
        grid-template-columns: 50px 76px 1fr;
    }

    .detail-hero,
    .player-section,
    .content-section,
    .related-section {
        padding: 20px;
        border-radius: 26px;
    }

    .page,
    .home-section {
        padding: 42px 0;
    }
}
