:root {
    --brand: #d97706;
    --brand-strong: #b45309;
    --brand-soft: #fff7ed;
    --blue: #2563eb;
    --text: #1f2937;
    --muted: #64748b;
    --line: #e5e7eb;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 36%, #ffffff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
}

.nav-shell {
    height: 80px;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.brand-badge {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.26);
    transition: transform 0.22s ease;
}

.brand:hover .brand-badge,
.footer-brand:hover .brand-badge {
    transform: scale(1.08);
}

.brand-copy strong {
    display: block;
    color: #111827;
    font-size: 24px;
    line-height: 1.1;
    transition: color 0.2s ease;
}

.brand:hover strong {
    color: var(--brand);
}

.brand-copy small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
}

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

.desktop-nav a,
.nav-dropdown > button {
    border: 0;
    color: #374151;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.nav-dropdown:hover > button {
    color: var(--brand);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    width: 220px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
}

.nav-dropdown-panel a:hover {
    background: #fffbeb;
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 286px;
    padding: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
}

.nav-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 8px 10px;
}

.nav-search button,
.wide-search button,
.search-page-form button,
.filter-panel button {
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--brand);
    padding: 8px 16px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-search button:hover,
.wide-search button:hover,
.search-page-form button:hover,
.filter-panel button:hover {
    background: var(--brand-strong);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    background: #111827;
    color: #ffffff;
    border-radius: 14px;
    padding: 10px 12px;
}

.mobile-panel {
    padding: 0 16px 16px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.mobile-panel a {
    display: block;
    padding: 14px 4px;
    border-top: 1px solid #f1f5f9;
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #b45309 0%, #f59e0b 48%, #f97316 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.20;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45) 0 2px, transparent 3px), radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.28) 0 1px, transparent 2px);
    background-size: 48px 48px, 80px 80px;
}

.hero-inner {
    position: relative;
    min-height: 640px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 420px);
    align-items: center;
    gap: 52px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: -80px;
    z-index: -1;
    background-image: linear-gradient(90deg, rgba(120, 53, 15, 0.82), rgba(120, 53, 15, 0.20)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(1.16);
    opacity: 0.36;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #f59e0b;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-kicker {
    color: #ffedd5;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.04;
    font-weight: 950;
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.hero-copy h2 {
    margin: 18px 0 12px;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.15;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 30px;
    color: #fff7ed;
    font-size: 18px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-primary {
    color: var(--brand-strong);
    background: #ffffff;
    box-shadow: 0 18px 35px rgba(255, 255, 255, 0.18);
}

.btn-ghost {
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.58);
    background: rgba(120, 53, 15, 0.20);
    backdrop-filter: blur(10px);
}

.btn-ghost-dark {
    color: #92400e;
    border: 1px solid #fcd34d;
    background: #fffbeb;
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 500px;
    border: 8px solid rgba(255, 255, 255, 0.24);
    border-radius: 32px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.30);
    background: linear-gradient(135deg, #78350f, #f59e0b);
}

.hero-poster.slim {
    min-height: 420px;
}

.hero-poster img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.hero-poster span,
.channel-feature strong {
    position: absolute;
    left: 24px;
    bottom: 24px;
}

.hero-poster span {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.94);
    font-size: 28px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.hero-dots {
    position: absolute;
    left: 0;
    bottom: 42px;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

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

.search-band {
    margin-top: -42px;
    position: relative;
    z-index: 4;
}

.search-band-inner {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 560px);
    gap: 24px;
    align-items: center;
    padding: 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.search-band strong {
    display: block;
    font-size: 22px;
}

.search-band span {
    color: var(--muted);
}

.wide-search,
.search-page-form {
    display: flex;
    gap: 10px;
    padding: 8px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.wide-search input,
.search-page-form input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 12px 16px;
}

.section-block {
    padding: 64px 0;
}

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

.section-head h2,
.page-hero h1,
.detail-copy h1,
.content-card h2,
.info-card h2,
.player-heading h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 950;
}

.section-more {
    color: var(--brand);
    font-weight: 900;
}

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

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

.movie-card-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.poster-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #111827, #f59e0b);
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, 0.72));
    opacity: 0.72;
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(245, 158, 11, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: 0.25s ease;
}

.movie-card-link:hover .play-mark,
.media-row:hover .media-thumb span {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.duration-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.duration-badge {
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    background: rgba(15, 23, 42, 0.72);
}

.rank-badge {
    left: 12px;
    top: 12px;
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.movie-card-body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.movie-title {
    color: #111827;
    font-size: 18px;
    font-weight: 950;
    line-height: 1.35;
}

.movie-card-link:hover .movie-title {
    color: var(--brand);
}

.movie-desc {
    color: var(--muted);
    font-size: 14px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: #64748b;
    font-size: 12px;
}

.movie-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f8fafc;
}

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

.category-tile {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff, #fff7ed);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile::after,
.category-overview-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -40px;
    top: -40px;
    border-radius: 999px;
    background: var(--tile-color);
    opacity: 0.10;
}

.category-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.category-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--tile-color);
    font-size: 24px;
    font-weight: 950;
}

.category-tile strong,
.category-tile em,
.category-tile small {
    position: relative;
    z-index: 1;
    display: block;
}

.category-tile strong {
    font-size: 20px;
    font-weight: 950;
}

.category-tile em {
    color: var(--brand);
    font-style: normal;
    font-weight: 800;
}

.category-tile small {
    margin-top: 8px;
    color: var(--muted);
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.8fr);
    gap: 34px;
}

.media-list,
.rank-grid,
.ranking-list,
.category-overview-list {
    display: grid;
    gap: 16px;
}

.media-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.media-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.media-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(135deg, #111827, #f59e0b);
    aspect-ratio: 16 / 10;
}

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

.media-thumb span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(245, 158, 11, 0.94);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: 0.2s ease;
}

.media-info {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 8px;
}

.media-info strong {
    font-size: 18px;
    font-weight: 950;
}

.media-info em {
    color: var(--muted);
    font-style: normal;
}

.media-info small {
    color: #94a3b8;
}

.rank-panel {
    min-width: 0;
}

.movie-card-compact .poster-wrap {
    aspect-ratio: 16 / 9;
}

.movie-card-compact .movie-card-body {
    padding: 14px;
}

.movie-card-compact .movie-title {
    font-size: 15px;
}

.movie-card-compact .movie-desc {
    font-size: 13px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.soft-hero {
    border-bottom: 1px solid #ffedd5;
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.channel-hero {
    background: linear-gradient(135deg, #ffffff, #fff7ed);
}

.channel-hero::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 340px;
    height: 340px;
    border-radius: 999px;
    background: var(--tile-color);
    opacity: 0.16;
}

.channel-hero-grid,
.ranking-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 46px;
}

.channel-feature {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 360px;
    border-radius: 28px;
    background: linear-gradient(135deg, #111827, var(--tile-color));
    box-shadow: var(--shadow);
}

.channel-feature img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.channel-feature strong {
    right: 24px;
    color: #ffffff;
    font-size: 22px;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.30);
}

.filter-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.filter-panel input,
.filter-panel select {
    min-height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    padding: 0 15px;
    outline: none;
}

.filter-panel input {
    flex: 1 1 280px;
}

.filter-empty,
.search-status {
    color: var(--muted);
    text-align: center;
    padding: 28px;
}

.category-overview-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.category-overview-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
}

.category-overview-head > span {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--tile-color);
    font-size: 24px;
    font-weight: 950;
}

.category-overview-head h2 {
    margin: 0 0 4px;
    font-size: 28px;
}

.category-overview-head p {
    margin: 0;
    color: var(--muted);
}

.category-overview-head a {
    color: var(--brand);
    font-weight: 900;
}

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

.ranking-hero {
    color: #ffffff;
    background: linear-gradient(135deg, #7c2d12, #f59e0b);
}

.ranking-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(120, 53, 15, 0.92), rgba(120, 53, 15, 0.38)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
    opacity: 0.45;
}

.ranking-hero .container {
    position: relative;
}

.ranking-hero h1,
.ranking-hero p {
    color: #ffffff;
}

.ranking-row {
    display: grid;
    grid-template-columns: 52px 134px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.ranking-index {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    font-weight: 950;
}

.ranking-cover {
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #111827, #f59e0b);
}

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

.ranking-info {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.ranking-info strong {
    font-size: 19px;
    font-weight: 950;
}

.ranking-info em {
    color: var(--muted);
    font-style: normal;
}

.ranking-info small {
    color: #94a3b8;
}

.ranking-play {
    color: var(--brand);
    font-weight: 900;
}

.search-page-panel {
    max-width: 1040px;
}

.search-page-form {
    margin-bottom: 16px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #7c2d12, #f59e0b);
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.84), rgba(15, 23, 42, 0.40)), var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(10px) saturate(1.1);
    transform: scale(1.06);
    opacity: 0.62;
}

.detail-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}

.detail-poster {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 440px;
    border: 7px solid rgba(255, 255, 255, 0.22);
    border-radius: 30px;
    background: linear-gradient(135deg, #111827, #f59e0b);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

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

.detail-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(245, 158, 11, 0.94);
    transform: translate(-50%, -50%);
    font-size: 28px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: #fed7aa;
    font-weight: 800;
}

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

.detail-copy h1 {
    color: #ffffff;
    font-size: clamp(36px, 5vw, 66px);
}

.detail-one-line {
    max-width: 780px;
    color: #fff7ed;
    font-size: 19px;
}

.detail-badges,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.detail-badges span,
.tag-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-weight: 800;
}

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

.player-section {
    padding: 64px 0 36px;
}

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

.player-heading a {
    color: var(--brand);
    font-weight: 900;
}

.player-frame {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #020617;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24);
    aspect-ratio: 16 / 9;
}

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

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    align-content: center;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.18), rgba(2, 6, 23, 0.52));
    cursor: pointer;
}

.player-start.is-hidden {
    display: none;
}

.player-start span {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand);
    font-size: 32px;
    box-shadow: 0 20px 45px rgba(245, 158, 11, 0.28);
}

.player-start strong {
    font-size: 20px;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    padding: 32px 0 20px;
}

.content-card,
.info-card {
    padding: 28px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.content-card h2,
.info-card h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 28px;
}

.content-card p {
    color: #475569;
    font-size: 17px;
}

.tag-cloud span {
    color: #92400e;
    background: #fffbeb;
}

.info-card dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.info-card div {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.info-card dt {
    color: #94a3b8;
    font-weight: 800;
}

.info-card dd {
    margin: 0;
    color: #111827;
    font-weight: 800;
}

.info-card a {
    color: var(--brand);
}

.site-footer {
    margin-top: 40px;
    color: #cbd5e1;
    background: #0f172a;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 0.7fr 0.7fr;
    gap: 38px;
    padding: 46px 0;
}

.footer-brand {
    color: #ffffff;
    font-size: 22px;
    font-weight: 950;
}

.site-footer p {
    max-width: 520px;
    color: #94a3b8;
}

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

.site-footer a:not(.footer-brand) {
    display: block;
    margin: 8px 0;
    color: #cbd5e1;
}

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

.footer-bottom {
    padding: 20px 16px;
    color: #94a3b8;
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

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

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

    .hero-slide,
    .channel-hero-grid,
    .ranking-hero-inner,
    .detail-hero-grid,
    .detail-content-grid,
    .split-layout,
    .search-band-inner {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        position: relative;
        display: none;
        padding: 58px 0 110px;
    }

    .hero-slide.is-active {
        display: grid;
    }

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

    .hero-poster,
    .hero-poster.slim,
    .detail-poster,
    .channel-feature {
        min-height: 360px;
    }

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

    .category-overview-head,
    .ranking-row {
        grid-template-columns: 1fr;
    }

    .ranking-cover {
        width: 100%;
    }

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

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

    .nav-shell {
        height: 68px;
    }

    .brand-badge {
        width: 42px;
        height: 42px;
    }

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

    .brand-copy small {
        display: none;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

    .hero-copy h2 {
        font-size: 24px;
    }

    .hero-copy p,
    .page-hero p,
    .detail-one-line {
        font-size: 16px;
    }

    .hero-poster,
    .detail-poster,
    .channel-feature {
        min-height: 300px;
    }

    .hero-dots {
        bottom: 28px;
    }

    .search-band {
        margin-top: -24px;
    }

    .wide-search,
    .search-page-form {
        border-radius: 24px;
        flex-direction: column;
    }

    .movie-grid,
    .category-grid,
    .mini-grid {
        grid-template-columns: 1fr;
    }

    .media-row {
        grid-template-columns: 1fr;
    }

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

    .page-hero,
    .detail-hero {
        padding: 54px 0;
    }

    .section-block,
    .player-section {
        padding: 42px 0;
    }

    .content-card,
    .info-card {
        padding: 22px;
    }
}
