
:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --orange-50: #fff7ed;
    --orange-600: #ea580c;
    --slate-950: #0f172a;
    --slate-800: #1f2937;
    --slate-600: #4b5563;
    --slate-500: #6b7280;
    --white: #ffffff;
    --soft-shadow: 0 20px 45px rgba(146, 64, 14, 0.16);
    --hard-shadow: 0 30px 70px rgba(15, 23, 42, 0.26);
}

body {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--amber-50) 0%, var(--orange-50) 48%, var(--white) 100%);
    color: var(--slate-800);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(217, 119, 6, 0.14);
    background: rgba(255, 251, 235, 0.88);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--slate-950);
}

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(217, 119, 6, 0.28);
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    font-family: "Noto Serif SC", "Noto Sans SC", serif;
    font-size: 22px;
    letter-spacing: 0.06em;
}

.brand-copy small {
    color: var(--slate-500);
    font-size: 12px;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.desktop-menu a,
.mobile-menu a,
.site-footer a {
    color: var(--slate-600);
    transition: color 0.2s ease;
}

.desktop-menu a:hover,
.desktop-menu a.is-active,
.mobile-menu a:hover,
.site-footer a:hover {
    color: var(--amber-700);
}

.header-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.header-search input {
    width: 210px;
    padding: 10px 14px;
    outline: none;
    background: transparent;
}

.header-search button,
.wide-search button,
.inline-search button,
.primary-button {
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button {
    margin-right: 4px;
    padding: 8px 14px;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    text-decoration: none;
}

.primary-button:hover,
.header-search button:hover,
.wide-search button:hover,
.inline-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(217, 119, 6, 0.32);
}

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 12px;
    color: var(--slate-800);
}

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

.mobile-menu {
    display: none;
    padding: 0 16px 16px;
    text-align: center;
}

.mobile-menu.is-open {
    display: grid;
    gap: 12px;
}

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

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

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

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

.hero-image,
.detail-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 30%, rgba(245, 158, 11, 0.32), transparent 28%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.66) 43%, rgba(15, 23, 42, 0.22) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.76) 0%, rgba(15, 23, 42, 0.08) 48%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 600px;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 60px;
}

.hero-copy {
    max-width: 760px;
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--amber-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-copy .eyebrow,
.detail-info .eyebrow,
.page-hero .eyebrow {
    color: #fbbf24;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
    margin: 0;
    font-family: "Noto Serif SC", "Noto Sans SC", serif;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero-copy h1 {
    max-width: 760px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.06;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.38);
}

.hero-copy p {
    max-width: 680px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.9;
}

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

.hero-tags span,
.detail-tags span {
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    padding: 6px 12px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 13px;
}

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

.hero-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    box-shadow: var(--hard-shadow);
    transform: rotate(2deg);
}

.hero-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.hero-card span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    border-radius: 999px;
    padding: 7px 13px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(12px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    font-size: 34px;
    transform: translateY(-50%);
    backdrop-filter: blur(14px);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.44);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: var(--amber-500);
}

.quick-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    margin-top: -60px;
    margin-bottom: 70px;
    position: relative;
    z-index: 8;
}

.quick-search-card,
.quick-category-card,
.category-overview-card,
.story-card,
.category-tile,
.movie-card,
.ranking-list,
.watch-section,
.page-hero {
    border: 1px solid rgba(217, 119, 6, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(18px);
}

.quick-search-card,
.quick-category-card {
    padding: 28px;
}

.quick-search-card h2,
.section-heading h2,
.story-card h2,
.watch-section h2 {
    font-family: "Noto Serif SC", "Noto Sans SC", serif;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    color: var(--slate-950);
}

.wide-search,
.inline-search {
    display: flex;
    margin-top: 20px;
    gap: 10px;
}

.wide-search input,
.inline-search input {
    min-width: 0;
    flex: 1;
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: 999px;
    padding: 13px 18px;
    background: rgba(255, 255, 255, 0.86);
    outline: none;
}

.wide-search button,
.inline-search button {
    padding: 0 24px;
}

.chip-cloud,
.filter-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-cloud a,
.filter-toolbar button {
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: 999px;
    padding: 9px 14px;
    color: var(--amber-700);
    background: rgba(255, 251, 235, 0.9);
    transition: transform 0.2s ease, background 0.2s ease;
}

.chip-cloud a:hover,
.filter-toolbar button:hover,
.filter-toolbar button.is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    transform: translateY(-2px);
}

.content-section,
.ranking-section,
.category-overview,
.article-section {
    margin-top: 70px;
}

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

.section-heading a {
    color: var(--amber-700);
    font-weight: 700;
}

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

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

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

.movie-card {
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(146, 64, 14, 0.24);
}

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amber-100), var(--orange-50));
}

.movie-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.72) 100%);
}

.poster-year,
.poster-type,
.rank-number {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.74);
    backdrop-filter: blur(10px);
}

.poster-year {
    top: 12px;
    left: 12px;
}

.poster-type {
    right: 12px;
    bottom: 12px;
}

.rank-number {
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
}

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

.movie-card-body h3 {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--slate-950);
}

.movie-card-body h3 a:hover {
    color: var(--amber-700);
}

.movie-card-body p {
    margin-top: 10px;
    min-height: 48px;
    color: var(--slate-600);
    line-height: 1.7;
}

.movie-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    color: var(--slate-500);
    font-size: 13px;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 24px;
}

.ranking-list {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 18px;
}

.ranking-list a {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    padding: 13px 14px;
    transition: background 0.2s ease;
}

.ranking-list a:hover {
    background: rgba(245, 158, 11, 0.1);
}

.ranking-list span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    font-weight: 800;
}

.ranking-list strong {
    color: var(--slate-950);
}

.ranking-list em {
    color: var(--slate-500);
    font-style: normal;
}

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

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

.category-tile > a,
.category-overview-link {
    display: grid;
    gap: 8px;
}

.category-tile span,
.category-overview-link span {
    color: var(--amber-700);
    font-weight: 800;
}

.category-tile strong,
.category-overview-link strong {
    color: var(--slate-950);
    font-size: 18px;
    line-height: 1.6;
}

.category-tile div,
.category-mini-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.mini-movie-link {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    border-radius: 14px;
    padding: 6px;
    background: rgba(255, 251, 235, 0.75);
}

.mini-movie-link img {
    width: 42px;
    height: 58px;
    border-radius: 10px;
    object-fit: cover;
}

.mini-movie-link span {
    overflow: hidden;
    color: var(--slate-800);
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-hero {
    margin-top: 36px;
    padding: 44px;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(146, 64, 14, 0.86));
    color: var(--white);
}

.page-hero h1 {
    max-width: 820px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.16;
}

.page-hero p {
    max-width: 780px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

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

.search-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.inline-search {
    min-width: min(420px, 100%);
    margin-top: 0;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    background: var(--slate-950);
}

.detail-mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.72) 48%, rgba(15, 23, 42, 0.36) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.16));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 64px 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 46px;
    align-items: center;
}

.detail-poster-wrap {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 28px;
    box-shadow: var(--hard-shadow);
}

.detail-poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.detail-info {
    color: var(--white);
}

.detail-info h1 {
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.1;
}

.detail-one-line {
    max-width: 780px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.9;
}

.detail-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.detail-facts div {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.detail-facts dt {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

.detail-facts dd {
    margin: 6px 0 0;
    color: var(--white);
    font-weight: 800;
}

.watch-section {
    margin-top: -80px;
    padding: 24px;
    position: relative;
    z-index: 4;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #020617;
    box-shadow: var(--hard-shadow);
}

.movie-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 14px;
    color: var(--white);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.78));
    text-align: center;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-symbol {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
    box-shadow: 0 22px 40px rgba(217, 119, 6, 0.4);
    font-size: 34px;
    text-indent: 5px;
}

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

.player-message {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 5;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.article-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.story-card {
    padding: 28px;
}

.story-card p {
    margin-top: 16px;
    color: var(--slate-600);
    font-size: 16px;
    line-height: 2;
}

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

.site-footer {
    margin-top: 90px;
    border-top: 1px solid rgba(217, 119, 6, 0.16);
    background: rgba(255, 251, 235, 0.9);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 120px;
}

.footer-inner strong {
    color: var(--slate-950);
    font-size: 20px;
}

.footer-inner p {
    margin-top: 6px;
    color: var(--slate-500);
}

.footer-inner nav {
    display: flex;
    gap: 18px;
}

.movie-card.is-hidden {
    display: none;
}

@media (max-width: 1180px) {
    .catalog-grid,
    .related-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

@media (max-width: 920px) {
    .desktop-menu,
    .header-search {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .hero-content,
    .quick-panel,
    .ranking-layout,
    .detail-layout,
    .article-section {
        grid-template-columns: 1fr;
    }

    .hero-card {
        display: none;
    }

    .hero-arrow {
        display: none;
    }

    .movie-grid,
    .featured-grid,
    .catalog-grid,
    .related-grid,
    .category-showcase,
    .category-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .detail-layout {
        gap: 28px;
    }

    .detail-poster-wrap {
        max-width: 260px;
    }

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

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

    .site-nav {
        min-height: 66px;
    }

    .brand-copy small {
        display: none;
    }

    .brand-copy strong {
        font-size: 19px;
    }

    .hero,
    .hero-content {
        min-height: 560px;
    }

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

    .quick-panel {
        margin-top: -34px;
    }

    .quick-search-card,
    .quick-category-card,
    .page-hero,
    .story-card,
    .watch-section {
        border-radius: 22px;
        padding: 22px;
    }

    .wide-search,
    .inline-search {
        flex-direction: column;
    }

    .wide-search button,
    .inline-search button {
        min-height: 44px;
    }

    .movie-grid,
    .featured-grid,
    .catalog-grid,
    .related-grid,
    .category-showcase,
    .category-overview {
        grid-template-columns: 1fr;
    }

    .category-tile div,
    .category-mini-list {
        grid-template-columns: 1fr;
    }

    .ranking-list a {
        grid-template-columns: 34px 1fr;
    }

    .ranking-list em {
        grid-column: 2;
    }

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

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 0;
    }
}
