:root {
    --color-orange: #f97316;
    --color-pink: #ec4899;
    --color-purple: #7e22ce;
    --color-text: #111827;
    --color-muted: #6b7280;
    --color-soft: #fff7ed;
    --color-border: #f3f4f6;
    --shadow-card: 0 18px 45px rgba(17, 24, 39, 0.12);
    --shadow-soft: 0 12px 30px rgba(249, 115, 22, 0.15);
}

body {
    color: var(--color-text);
    background: #ffffff;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
    min-height: 70vh;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(243, 244, 246, 0.95);
}

.site-header-inner {
    max-width: 80rem;
    height: 5rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 800;
}

.brand-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
    box-shadow: var(--shadow-soft);
}

.brand-text {
    font-size: 1.25rem;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #374151;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-orange);
}

.mobile-menu-button {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    padding: 0 0.75rem;
    background: #f9fafb;
}

.mobile-menu-button span {
    height: 2px;
    border-radius: 999px;
    background: #374151;
}

.mobile-nav {
    display: none;
    padding: 0.5rem 1rem 1rem;
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
}

.mobile-nav.is-open {
    display: grid;
    gap: 0.5rem;
}

.mobile-nav-link {
    padding: 0.8rem 1rem;
    border-radius: 0.9rem;
    color: #374151;
    font-weight: 700;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    background: #fff7ed;
    color: var(--color-orange);
}

.hero-slider {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
    background: linear-gradient(135deg, #fb923c, #ec4899, #7e22ce);
}

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

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

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
}

.hero-layer {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 28rem),
        linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.54), rgba(17, 24, 39, 0.18)),
        linear-gradient(0deg, rgba(17, 24, 39, 0.7), transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    min-height: 90vh;
    margin: 0 auto;
    padding: 8rem 1rem 5rem;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 44rem;
    color: #ffffff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(16px);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 1.25rem;
}

.hero-copy h1 span {
    display: block;
    font-size: clamp(1.45rem, 3vw, 2.4rem);
    color: #ffedd5;
    letter-spacing: 0;
    margin-top: 0.8rem;
}

.hero-copy p {
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-meta span,
.tag-chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-meta span {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.button-primary,
.button-secondary,
.button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 1.45rem;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
    box-shadow: var(--shadow-soft);
}

.button-secondary {
    color: var(--color-orange);
    background: #ffffff;
}

.button-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(16px);
}

.button-primary:hover,
.button-secondary:hover,
.button-ghost:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-card);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 2.4rem;
    z-index: 3;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

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

.hero-dot.is-active {
    width: 2.4rem;
    background: #ffffff;
}

.hero-arrow {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
}

.section {
    max-width: 80rem;
    margin: 0 auto;
    padding: 5rem 1rem;
}

.section-soft {
    background: linear-gradient(135deg, #fff7ed, #fdf2f8, #faf5ff);
}

.section-hot {
    background: linear-gradient(135deg, #fb923c, #ec4899, #7e22ce);
    color: #ffffff;
}

.section-heading {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 3rem;
}

.section-kicker {
    color: var(--color-orange);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.section-intro {
    margin-top: 1rem;
    color: var(--color-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.section-hot .section-kicker,
.section-hot .section-intro {
    color: rgba(255, 255, 255, 0.9);
}

.movie-grid,
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.4rem;
}

.movie-grid.wide {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

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

.movie-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-card);
    border-color: rgba(249, 115, 22, 0.45);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

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

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

.movie-year,
.movie-type {
    position: absolute;
    top: 0.75rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(12px);
    font-size: 0.75rem;
    font-weight: 900;
}

.movie-year {
    left: 0.75rem;
}

.movie-type {
    right: 0.75rem;
    background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
}

.movie-card-body {
    padding: 1rem;
}

.movie-meta {
    color: var(--color-orange);
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 0.4rem;
}

.movie-title {
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 900;
    margin-bottom: 0.55rem;
}

.movie-title a:hover {
    color: var(--color-orange);
}

.movie-line {
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    min-height: 4.4em;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.85rem;
}

.category-card {
    background: #ffffff;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-0.4rem);
    box-shadow: var(--shadow-card);
}

.category-card-link {
    display: block;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.category-mark {
    display: block;
    width: 3rem;
    height: 0.35rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
    margin-bottom: 1rem;
}

.category-card h2 {
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 0.55rem;
}

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

.category-samples {
    display: grid;
    gap: 0.65rem;
    padding: 1rem 1.5rem 1.5rem;
}

.category-samples a {
    color: #4b5563;
    font-weight: 700;
    font-size: 0.9rem;
}

.category-samples a:hover {
    color: var(--color-orange);
}

.page-hero {
    padding: 9rem 1rem 4rem;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.22), transparent 28rem),
        linear-gradient(135deg, #fb923c, #ec4899, #7e22ce);
}

.page-hero-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.page-hero h1 {
    max-width: 56rem;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.page-hero p {
    max-width: 52rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.16rem;
    line-height: 1.8;
}

.filter-panel {
    max-width: 80rem;
    margin: -2rem auto 0;
    padding: 1rem;
    position: relative;
    z-index: 4;
}

.filter-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-card);
}

.search-input,
.filter-select {
    width: 100%;
    min-height: 3rem;
    padding: 0 1rem;
    border-radius: 0.9rem;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    outline: none;
}

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

.rank-list {
    display: grid;
    gap: 1rem;
}

.rank-item {
    display: grid;
    grid-template-columns: auto 5.5rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.rank-number {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
    font-weight: 900;
}

.rank-cover {
    aspect-ratio: 2 / 3;
    border-radius: 0.85rem;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

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

.rank-info h2 {
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.rank-info p {
    color: var(--color-muted);
    line-height: 1.65;
}

.detail-hero {
    position: relative;
    padding: 8rem 1rem 4rem;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(12px) saturate(1.15);
    transform: scale(1.08);
    opacity: 0.5;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.36)),
        linear-gradient(0deg, rgba(17, 24, 39, 0.95), transparent 55%);
}

.detail-inner {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.detail-poster {
    width: min(100%, 18rem);
    aspect-ratio: 2 / 3;
    border-radius: 1.25rem;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fbcfe8);
    box-shadow: var(--shadow-card);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.74);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.detail-copy h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
}

.detail-copy p {
    max-width: 48rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.85;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.5rem 0;
}

.detail-meta span {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-weight: 800;
}

.content-grid {
    display: grid;
    gap: 1.5rem;
}

.content-card {
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.content-card h2 {
    font-size: 1.45rem;
    line-height: 1.25;
    font-weight: 900;
    margin-bottom: 1rem;
}

.content-card p {
    color: #4b5563;
    line-height: 1.9;
}

.info-list {
    display: grid;
    gap: 0.8rem;
}

.info-row {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    color: #4b5563;
}

.info-row strong {
    width: 4.5rem;
    flex: 0 0 auto;
    color: #111827;
}

.stream-player {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #030712;
    box-shadow: var(--shadow-card);
}

.stream-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #030712;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.player-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.25), rgba(3, 7, 18, 0.78));
}

.player-start {
    position: relative;
    z-index: 2;
    width: 5rem;
    height: 5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease;
}

.player-cover:hover .player-start {
    transform: scale(1.08);
}

.stream-player.is-playing .player-cover {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-footer {
    background: linear-gradient(135deg, #fff7ed, #fdf2f8, #faf5ff);
    border-top: 1px solid #f3f4f6;
}

.footer-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 4rem 1rem 2rem;
    display: grid;
    gap: 2rem;
}

.footer-brand p {
    max-width: 28rem;
    color: var(--color-muted);
    line-height: 1.8;
    margin-top: 1rem;
}

.footer-group {
    display: grid;
    gap: 0.65rem;
    align-content: start;
}

.footer-group h2 {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
}

.footer-group a {
    color: #4b5563;
    font-weight: 700;
}

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

.footer-bottom {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.25rem 1rem 2rem;
    color: var(--color-muted);
    border-top: 1px solid rgba(229, 231, 235, 0.9);
}

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

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

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

    .filter-card {
        grid-template-columns: minmax(0, 1fr) 12rem 12rem;
        align-items: center;
    }

    .detail-inner {
        grid-template-columns: 18rem minmax(0, 1fr);
        align-items: end;
    }

    .content-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    }

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

@media (max-width: 640px) {
    .site-header-inner {
        height: 4.25rem;
    }

    .hero-content {
        padding-top: 7rem;
    }

    .hero-controls {
        bottom: 1.2rem;
    }

    .rank-item {
        grid-template-columns: auto 4.5rem minmax(0, 1fr);
        gap: 0.8rem;
    }

    .movie-grid,
    .movie-grid.wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .movie-card-body {
        padding: 0.8rem;
    }

    .movie-line {
        display: none;
    }
}
