* {
    box-sizing: border-box;
}

:root {
    --orange: #f97316;
    --orange-deep: #ea580c;
    --pink: #ec4899;
    --rose: #fb7185;
    --purple: #8b5cf6;
    --slate: #111827;
    --muted: #6b7280;
    --line: rgba(17, 24, 39, 0.1);
    --soft: #fff7ed;
    --card: #ffffff;
    --shadow: 0 20px 45px rgba(236, 72, 153, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2937;
    background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 45%, #faf5ff 100%);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(249, 115, 22, 0.12);
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
    backdrop-filter: blur(18px);
}

.nav-shell {
    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-size: 26px;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: -0.03em;
}

.brand span:last-child,
.gradient-text {
    background: linear-gradient(90deg, var(--orange), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.28);
    font-size: 16px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #4b5563;
    font-weight: 700;
}

.desktop-nav a {
    position: relative;
    padding: 8px 0;
    transition: color 0.25s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orange), var(--pink));
    transition: width 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--orange);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #fff7ed;
    color: var(--orange);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
    border-top: 1px solid rgba(249, 115, 22, 0.12);
}

.mobile-nav a {
    display: block;
    padding: 12px 4px;
    color: #4b5563;
    font-weight: 700;
}

.hero {
    position: relative;
    height: 78vh;
    min-height: 580px;
    overflow: hidden;
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #1f2937, #f97316);
    transform: scale(1.02);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.56) 44%, rgba(0, 0, 0, 0.12) 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    color: #ffffff;
}

.hero-copy {
    max-width: 720px;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 999px;
    background: var(--orange);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(249, 115, 22, 0.28);
}

.hero h1 {
    margin: 18px 0;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: -0.05em;
}

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

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 13px 24px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--orange), var(--pink));
    font-weight: 900;
    box-shadow: 0 18px 32px rgba(236, 72, 153, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 26px 44px rgba(236, 72, 153, 0.34);
}

.btn-light {
    color: var(--orange);
    background: #ffffff;
}

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

.hero-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

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

.search-band {
    position: relative;
    z-index: 5;
    width: min(1040px, calc(100% - 32px));
    margin: -48px auto 0;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
}

.search-band input,
.filter-box input,
.filter-box select {
    width: 100%;
    border: 1px solid rgba(249, 115, 22, 0.18);
    border-radius: 999px;
    padding: 14px 18px;
    outline: 0;
    color: #374151;
    background: #ffffff;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-band input:focus,
.filter-box input:focus,
.filter-box select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

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

.section-shell {
    padding: 76px 0;
}

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

.section-head h2,
.page-title h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.16;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-head p,
.page-title p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.category-tile {
    min-height: 142px;
    border-radius: 26px;
    padding: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    box-shadow: 0 18px 36px rgba(249, 115, 22, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 28px 52px rgba(236, 72, 153, 0.28);
}

.category-tile strong {
    display: block;
    font-size: 20px;
    margin-bottom: 10px;
}

.category-tile span {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.6;
}

.accent-slate { background: linear-gradient(135deg, #475569, #111827); }
.accent-rose { background: linear-gradient(135deg, #fb7185, #ec4899); }
.accent-red { background: linear-gradient(135deg, #f97316, #ef4444); }
.accent-violet { background: linear-gradient(135deg, #7c3aed, #111827); }
.accent-purple { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.accent-yellow { background: linear-gradient(135deg, #facc15, #f97316); }
.accent-blue { background: linear-gradient(135deg, #38bdf8, #6366f1); }
.accent-green { background: linear-gradient(135deg, #22c55e, #0f766e); }
.accent-cyan { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.accent-pink { background: linear-gradient(135deg, #f472b6, #f97316); }
.accent-amber { background: linear-gradient(135deg, #f59e0b, #ef4444); }

.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-grid.wide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.movie-card {
    min-width: 0;
}

.movie-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 52px rgba(236, 72, 153, 0.18);
}

.poster-wrap {
    position: relative;
    margin: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #fb923c, #db2777);
}

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

.movie-link:hover .poster-wrap img {
    transform: scale(1.1);
}

.poster-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 14px;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.68) 100%);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.movie-link:hover .poster-layer {
    opacity: 1;
}

.category-pill,
.rank-mark,
.play-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
}

.category-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 11px;
    color: var(--orange);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
    font-size: 12px;
}

.rank-mark {
    min-width: 34px;
    height: 34px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--pink));
}

.play-chip {
    padding: 8px 13px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(12px);
    font-size: 13px;
}

.movie-info {
    padding: 17px;
}

.movie-info h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.movie-link:hover h3 {
    color: var(--orange);
}

.movie-desc {
    min-height: 44px;
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.movie-meta span {
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
}

.movie-card-wide .movie-link {
    display: grid;
    grid-template-columns: 34% 1fr;
}

.movie-card-wide .poster-wrap {
    aspect-ratio: auto;
    min-height: 210px;
}

.movie-card-large .movie-info h3 {
    font-size: 22px;
}

.feature-band {
    background: linear-gradient(90deg, rgba(255, 237, 213, 0.92), rgba(252, 231, 243, 0.92));
}

.cta-band {
    padding: 78px 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    text-align: center;
}

.cta-band h2 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.cta-band p {
    margin: 0 auto 26px;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.8;
}

.page-hero {
    padding: 58px 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--pink));
}

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

.page-title h1 {
    color: #ffffff;
}

.page-title p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

.breadcrumb {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 17px 0;
    color: #6b7280;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--orange);
    font-weight: 800;
}

.filter-box {
    margin: 36px auto 28px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07);
    display: grid;
    grid-template-columns: 1fr 190px 170px;
    gap: 14px;
}

.empty-state {
    display: none;
    margin: 28px 0;
    padding: 38px;
    border-radius: 24px;
    background: #ffffff;
    color: #6b7280;
    text-align: center;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.empty-state.active {
    display: block;
}

.detail-hero {
    padding: 42px 0 56px;
    background: radial-gradient(circle at 12% 20%, rgba(249, 115, 22, 0.36), transparent 28%), radial-gradient(circle at 82% 10%, rgba(236, 72, 153, 0.34), transparent 28%), #111827;
    color: #ffffff;
}

.detail-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 34px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(135deg, #fb923c, #db2777);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.36);
    aspect-ratio: 1 / 1;
}

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

.detail-copy h1 {
    margin: 16px 0;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.detail-copy p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.85;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 800;
}

.content-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 44px auto 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
}

.content-card,
.side-card,
.player-card {
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}

.content-card {
    padding: 30px;
}

.content-card h2,
.side-card h2,
.player-card h2 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 26px;
    font-weight: 950;
}

.content-card p {
    margin: 0 0 22px;
    color: #4b5563;
    line-height: 2;
    font-size: 16px;
}

.player-card {
    overflow: hidden;
    margin-bottom: 28px;
}

.player-card h2 {
    padding: 24px 26px 0;
}

.video-shell {
    position: relative;
    background: #000000;
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    background: #000000;
}

.play-cover {
    position: absolute;
    inset: 0;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.3), rgba(0, 0, 0, 0.72)), linear-gradient(135deg, rgba(17, 24, 39, 0.28), rgba(236, 72, 153, 0.36));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
    z-index: 2;
}

.play-cover.is-hidden {
    display: none;
}

.play-cover .play-circle {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--orange);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
    font-size: 34px;
    line-height: 1;
    padding-left: 5px;
}

.play-cover strong {
    font-size: 21px;
    letter-spacing: 0.04em;
}

.side-card {
    padding: 22px;
    position: sticky;
    top: 96px;
}

.side-list {
    display: grid;
    gap: 13px;
}

.side-list a {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    padding: 9px;
    border-radius: 16px;
    background: #fff7ed;
    transition: transform 0.2s ease, background 0.2s ease;
}

.side-list a:hover {
    transform: translateX(4px);
    background: #ffe4e6;
}

.side-list img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
    background: linear-gradient(135deg, #fb923c, #db2777);
}

.side-list strong {
    display: block;
    color: #111827;
    line-height: 1.35;
}

.side-list span {
    display: block;
    margin-top: 5px;
    color: #9a3412;
    font-size: 13px;
    font-weight: 800;
}

.site-footer {
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
    border-top: 1px solid rgba(249, 115, 22, 0.12);
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
    gap: 30px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 20px;
    color: #111827;
}

.footer-grid p {
    margin: 0;
    color: #6b7280;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.footer-links a {
    color: #6b7280;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding: 18px 16px;
    text-align: center;
    color: #6b7280;
    border-top: 1px solid rgba(249, 115, 22, 0.12);
}

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .side-card {
        position: static;
    }

    .detail-grid {
        grid-template-columns: 260px 1fr;
    }

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

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

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

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

    .brand {
        font-size: 22px;
    }

    .hero {
        height: 72vh;
        min-height: 520px;
    }

    .hero h1 {
        font-size: 42px;
    }

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

    .search-band,
    .filter-box {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .section-head {
        display: block;
    }

    .section-actions {
        margin-top: 18px;
    }

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

    .movie-card-wide .movie-link {
        display: block;
    }

    .movie-card-wide .poster-wrap {
        aspect-ratio: 1 / 1;
        min-height: 0;
    }

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

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

    .content-card {
        padding: 22px;
    }

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

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

    .hero-actions,
    .section-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn,
    .btn-light {
        width: 100%;
    }
}
