/*
 * Static movie site styles generated from the uploaded orange themed React/Tailwind source.
 * The stylesheet is intentionally formatted for readability.
 */
:root {
    --bg: #f9fafb;
    --surface: #ffffff;
    --surface-soft: #fff7ed;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --orange: #f97316;
    --orange-deep: #ea580c;
    --red: #ef4444;
    --pink: #ec4899;
    --yellow: #fde047;
    --slate: #111827;
    --shadow: 0 20px 35px rgba(15, 23, 42, 0.10);
    --shadow-soft: 0 12px 26px rgba(15, 23, 42, 0.08);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--orange-deep);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.28);
    font-size: 15px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #374151;
    font-weight: 600;
}

.site-nav > a,
.nav-dropdown > a {
    padding: 22px 0;
    transition: color 0.2s ease;
}

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

.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% - 4px);
    left: 50%;
    width: 210px;
    padding: 10px;
    display: grid;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-dropdown-panel a {
    padding: 9px 12px;
    border-radius: 10px;
    color: #4b5563;
}

.nav-dropdown-panel a:hover {
    color: var(--orange-deep);
    background: var(--surface-soft);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: var(--surface-soft);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--orange-deep);
    border-radius: 999px;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--orange), var(--red), var(--pink));
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.05);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(249, 115, 22, 0.55), transparent 32%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.18));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding: 86px 0 88px;
}

.hero-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    color: #ffedd5;
    font-weight: 700;
}

.hero h1 {
    width: min(780px, 100%);
    margin: 0 0 18px;
    font-size: clamp(40px, 7vw, 78px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero p {
    width: min(720px, 100%);
    margin: 0 0 34px;
    color: #f3f4f6;
    font-size: clamp(18px, 2vw, 24px);
}

.hero-actions,
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-button,
.secondary-button,
.ghost-button,
.small-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
    padding: 13px 26px;
    color: var(--orange-deep);
    background: #fff;
    box-shadow: 0 16px 30px rgba(255, 255, 255, 0.18);
}

.primary-button:hover,
.small-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.secondary-button {
    padding: 12px 25px;
    border: 2px solid rgba(255, 255, 255, 0.82);
    color: #fff;
}

.secondary-button:hover {
    color: var(--orange-deep);
    background: #fff;
}

.small-button {
    padding: 9px 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.ghost-button {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #fed7aa;
    color: var(--orange-deep);
    background: #fff7ed;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
}

.hero-prev {
    left: max(18px, calc((100vw - 1180px) / 2 - 72px));
}

.hero-next {
    right: max(18px, calc((100vw - 1180px) / 2 - 72px));
}

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

.hero-dot {
    width: 34px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.44);
    cursor: pointer;
}

.hero-dot.active {
    background: #fff;
}

.hero-blob {
    position: absolute;
    z-index: 1;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    opacity: 0.26;
    filter: blur(40px);
    mix-blend-mode: screen;
    animation: blob 7s infinite;
}

.hero-blob-one {
    top: 80px;
    left: 8%;
    background: #facc15;
}

.hero-blob-two {
    top: 220px;
    right: 9%;
    background: #f472b6;
    animation-delay: 2s;
}

.hero-blob-three {
    bottom: 60px;
    left: 35%;
    background: #fb923c;
    animation-delay: 4s;
}

@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.92);
    }
}

.section {
    padding: 70px 0;
}

.section.tight {
    padding-top: 42px;
}

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

.section-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--orange-deep);
    font-weight: 800;
}

.section-heading h2,
.page-hero h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-heading p,
.page-hero p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.section-link {
    flex: none;
    color: var(--orange-deep);
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid rgba(229, 231, 235, 0.85);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: #fed7aa;
    box-shadow: var(--shadow);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #fb923c, #ef4444);
}

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

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

.play-chip,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
}

.play-chip {
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    color: #fff;
    background: rgba(234, 88, 12, 0.92);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.rank-badge {
    left: 12px;
    top: 12px;
    padding: 6px 10px;
    color: #713f12;
    background: var(--yellow);
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--orange-deep);
    font-size: 13px;
    font-weight: 800;
}

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.32;
}

.movie-card h3 a:hover {
    color: var(--orange-deep);
}

.card-summary {
    min-height: 52px;
    margin: 0 0 13px;
    color: var(--muted);
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-summary.compact {
    min-height: 0;
    font-size: 14px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-row span,
.info-pill {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    color: #9a3412;
    background: #ffedd5;
    font-size: 12px;
    font-weight: 800;
}

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

.category-card {
    min-height: 190px;
    padding: 26px;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.category-card::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.category-card h2,
.category-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: 26px;
}

.category-card p,
.category-card span {
    position: relative;
    z-index: 1;
}

.category-card p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.84);
}

.category-card span {
    font-weight: 800;
}

.rank-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 76px 72px 1fr;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.rank-row:hover {
    border-color: #fed7aa;
    transform: translateY(-2px);
}

.rank-row img {
    width: 76px;
    height: 96px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-row strong {
    color: var(--orange-deep);
}

.rank-row h3 {
    margin: 0 0 5px;
    line-height: 1.3;
}

.rank-row p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.page-hero {
    padding: 76px 0;
    color: #fff;
    background: linear-gradient(135deg, #ea580c, #ef4444);
}

.page-hero h1,
.page-hero p {
    color: #fff;
}

.page-hero p {
    color: #ffedd5;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1.7fr) repeat(3, minmax(130px, 0.8fr)) auto auto;
    align-items: end;
    gap: 14px;
    padding: 18px;
    margin-bottom: 26px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: #4b5563;
    font-weight: 800;
    font-size: 13px;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    outline: none;
    color: #374151;
    background: #fff;
}

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

.result-count {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: var(--muted);
    font-weight: 800;
}

.empty-state {
    display: none;
    padding: 36px;
    margin-top: 18px;
    text-align: center;
    color: var(--muted);
    border-radius: 20px;
    background: #fff;
    border: 1px dashed #fdba74;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0;
    color: var(--muted);
    font-size: 14px;
}

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

.detail-hero {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 34px;
    align-items: stretch;
    padding: 30px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.65), transparent 34%),
        linear-gradient(135deg, #1f2937, #111827 65%, #7c2d12);
    box-shadow: var(--shadow);
}

.detail-poster {
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.22);
}

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

.detail-info h1 {
    margin: 8px 0 14px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-info p {
    color: #e5e7eb;
    font-size: 18px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 18px 0 22px;
}

.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffedd5;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 800;
}

.player-section {
    margin-top: 36px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.video-shell video {
    width: 100%;
    height: 100%;
    background: #000;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.32), rgba(0, 0, 0, 0.68));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-button-large {
    width: 94px;
    height: 94px;
    border: 0;
    border-radius: 999px;
    color: var(--orange-deep);
    background: #fff;
    font-size: 38px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.28);
    cursor: pointer;
}

.player-status {
    position: absolute;
    left: 18px;
    bottom: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    margin-top: 34px;
}

.content-card,
.sidebar-card,
.static-card {
    padding: 26px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.content-card + .content-card,
.sidebar-card + .sidebar-card {
    margin-top: 22px;
}

.content-card h2,
.sidebar-card h2,
.static-card h2 {
    margin: 0 0 15px;
    font-size: 26px;
}

.content-card p,
.static-card p {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
}

.info-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    color: #4b5563;
}

.info-list strong {
    color: var(--text);
}

.related-mini-list {
    display: grid;
    gap: 12px;
}

.related-mini {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
}

.related-mini img {
    width: 64px;
    height: 84px;
    object-fit: cover;
    border-radius: 10px;
}

.related-mini h3 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.35;
}

.related-mini p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.static-layout {
    display: grid;
    gap: 24px;
}

.sitemap-list {
    columns: 3;
}

.sitemap-list a {
    display: block;
    break-inside: avoid;
    padding: 5px 0;
    color: #374151;
}

.sitemap-list a:hover {
    color: var(--orange-deep);
}

.site-footer {
    margin-top: 70px;
    padding: 54px 0;
    color: #d1d5db;
    background: #111827;
}

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

.footer-brand {
    color: #fff;
    margin-bottom: 14px;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #fff;
}

.site-footer p {
    margin: 0;
    color: #9ca3af;
}

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

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

.site-footer a:hover {
    color: #fb923c;
}

.hidden-by-filter {
    display: none !important;
}

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

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

@media (max-width: 900px) {
    .site-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 18px 20px;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-soft);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav > a,
    .nav-dropdown > a {
        padding: 12px 0;
    }

    .nav-dropdown-panel {
        position: static;
        width: 100%;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        border-radius: 14px;
        margin-top: 4px;
    }

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

    .hero {
        min-height: 560px;
    }

    .hero-arrow {
        display: none;
    }

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

    .detail-poster img {
        height: auto;
        min-height: 0;
    }

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

@media (max-width: 680px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .brand {
        font-size: 20px;
    }

    .hero {
        min-height: 520px;
    }

    .hero-content {
        padding-top: 96px;
    }

    .movie-grid,
    .movie-grid.compact-grid,
    .category-grid,
    .footer-grid,
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .rank-row {
        grid-template-columns: 64px 1fr;
    }

    .rank-row span {
        display: none;
    }

    .sitemap-list {
        columns: 1;
    }

    .detail-hero {
        padding: 20px;
    }

    .play-button-large {
        width: 76px;
        height: 76px;
        font-size: 30px;
    }
}
