:root {
    --bg: #f6f9fc;
    --panel: #ffffff;
    --text: #172033;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.1);
    --cyan: #06b6d4;
    --blue: #2563eb;
    --teal: #14b8a6;
    --purple: #7c3aed;
    --pink: #ec4899;
    --red: #ef4444;
    --orange: #f97316;
    --green: #10b981;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --soft-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: linear-gradient(90deg, #06b6d4, #2563eb 52%, #14b8a6);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22);
}

.header-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #0e7490;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.brand-text {
    display: grid;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 22px;
    letter-spacing: 0.02em;
}

.brand-text small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-link,
.mobile-link {
    padding: 9px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.17);
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.header-search input {
    width: 220px;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
    padding: 8px 10px;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.header-search button,
.primary-button,
.secondary-button,
.ghost-button,
.inline-filter button {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button {
    color: #0e7490;
    background: #ffffff;
    padding: 8px 16px;
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
}

.mobile-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    margin: 5px auto;
    border-radius: 999px;
    background: #ffffff;
}

.mobile-nav {
    display: none;
    padding: 0 16px 18px;
}

.mobile-nav.is-open {
    display: grid;
    gap: 8px;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 15% 20%, rgba(34, 211, 238, 0.45), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(96, 165, 250, 0.45), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #155e75 48%, #1d4ed8 100%);
}

.hero-shell {
    position: relative;
    min-height: 640px;
    display: grid;
    align-items: center;
    padding: 58px 0 74px;
}

.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.45;
}

.hero-glow-one {
    left: -140px;
    bottom: 18%;
    background: #06b6d4;
}

.hero-glow-two {
    right: -160px;
    top: 8%;
    background: #7c3aed;
}

.hero-slide {
    position: absolute;
    inset: 58px 0 74px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    align-items: center;
    gap: 42px;
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0891b2;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #a5f3fc;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 16px 0 18px;
    font-size: clamp(42px, 7vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

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

.primary-button,
.secondary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
}

.primary-button {
    color: #ffffff;
    background: linear-gradient(90deg, #06b6d4, #2563eb);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.secondary-button {
    color: #0f172a;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

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

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.inline-filter button:hover,
.header-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.hero-visual {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
    transform: rotate(2deg);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.5));
}

.hero-visual img,
.hero-visual .poster-fallback {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
}

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

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

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

.section {
    padding: 72px 0;
}

.section.tinted {
    background: linear-gradient(180deg, #ffffff, #eef7fb);
}

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

.section-heading,
.compact-heading {
    margin-bottom: 28px;
}

.section h2,
.section-heading-row h2,
.toolbar h2 {
    margin: 8px 0 6px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section p,
.section-heading-row p,
.toolbar p {
    margin: 0;
    color: var(--muted);
}

.text-link {
    color: #0891b2;
    font-weight: 800;
}

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

.category-card,
.category-overview-main,
.page-hero,
.detail-hero {
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.category-card {
    min-height: 210px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
}

.category-card::after,
.category-overview-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -60px;
    top: -60px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.category-card strong {
    font-size: 22px;
}

.category-card em {
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-style: normal;
}

.category-card p {
    color: rgba(255, 255, 255, 0.82);
}

.category-preview {
    display: grid;
    gap: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--panel);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.movie-poster-link {
    position: relative;
    display: block;
}

.poster-wrap {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.poster-card {
    aspect-ratio: 16 / 10;
}

.poster-detail {
    aspect-ratio: 3 / 4;
    border-radius: 28px;
}

.cover-image {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-image.is-missing {
    display: none;
}

.poster-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    color: #ffffff;
    text-align: center;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.poster-fallback span {
    position: relative;
    z-index: 1;
    text-shadow: 0 5px 18px rgba(15, 23, 42, 0.34);
}

.poster-fallback::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.25), transparent 32%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.42));
}

.score-badge {
    position: absolute;
    z-index: 4;
    right: 12px;
    top: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 800;
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.category-pill {
    color: #0891b2;
    font-weight: 800;
}

.movie-card h3 {
    margin: 9px 0 8px;
    font-size: 20px;
    line-height: 1.28;
}

.movie-card h3 a:hover,
.rank-title:hover,
.overview-list a:hover,
.sitemap-section a:hover {
    color: #0891b2;
}

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

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

.tag {
    padding: 4px 9px;
    border-radius: 999px;
    color: #155e75;
    background: #ecfeff;
    font-size: 12px;
    font-weight: 700;
}

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.rank-panel,
.content-panel,
.side-card,
.filter-panel,
.table-wrap,
.category-overview-card,
.sitemap-section {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.rank-panel {
    position: sticky;
    top: 100px;
    padding: 24px;
}

.rank-panel-head {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
}

.rank-panel-head span {
    color: #ef4444;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.rank-panel-head h2 {
    margin: 0;
    font-size: 34px;
}

.rank-panel-head a {
    color: #0891b2;
    font-weight: 800;
}

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

.rank-list a {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: #f8fafc;
}

.rank-list span,
.rank-number {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #f97316);
    font-weight: 900;
}

.rank-list strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-list em {
    color: #ef4444;
    font-style: normal;
    font-weight: 900;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0;
}

.page-hero::before,
.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.26), transparent 28%),
        radial-gradient(circle at 84% 30%, rgba(255, 255, 255, 0.18), transparent 30%);
}

.page-hero-inner,
.detail-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

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

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

.page-hero h1,
.detail-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.page-hero p,
.detail-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.hero-count-card {
    min-width: 170px;
    padding: 26px;
    border-radius: 26px;
    text-align: center;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.hero-count-card strong {
    display: block;
    font-size: 46px;
    line-height: 1;
}

.hero-count-card span {
    color: rgba(255, 255, 255, 0.8);
}

.inline-filter,
.filter-panel {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inline-filter input,
.filter-panel input,
.filter-panel select {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 16px;
    outline: none;
    padding: 0 14px;
    background: #ffffff;
}

.inline-filter button {
    min-height: 46px;
    color: #ffffff;
    background: linear-gradient(90deg, #06b6d4, #2563eb);
    padding: 0 18px;
}

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

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

.category-overview-card {
    position: relative;
    overflow: hidden;
}

.category-overview-main {
    min-height: 210px;
    display: block;
    padding: 28px;
}

.category-overview-main h2 {
    margin: 16px 0 10px;
}

.category-overview-main p {
    color: rgba(255, 255, 255, 0.82);
}

.overview-count {
    display: inline-flex;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

.overview-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 20px 28px 26px;
    list-style: none;
}

.overview-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
}

.overview-list a {
    color: var(--text);
    font-weight: 700;
}

.table-wrap {
    overflow: hidden;
    overflow-x: auto;
}

.rank-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 880px;
}

.rank-table th,
.rank-table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.rank-table th {
    color: #0f172a;
    background: #f8fafc;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rank-title {
    display: block;
    font-weight: 900;
}

.rank-table small {
    display: block;
    color: var(--muted);
    margin-top: 4px;
}

.filter-panel {
    position: sticky;
    top: 92px;
    z-index: 8;
    flex-wrap: wrap;
    padding: 18px;
    margin-bottom: 26px;
}

.filter-panel label {
    display: grid;
    gap: 6px;
    flex: 1 1 220px;
    color: var(--muted);
    font-weight: 700;
}

.filter-panel label span {
    font-size: 13px;
}

.empty-state {
    padding: 32px;
    margin-bottom: 20px;
    border: 1px dashed rgba(6, 182, 212, 0.45);
    border-radius: 22px;
    color: #0e7490;
    background: #ecfeff;
    text-align: center;
    font-weight: 800;
}

.detail-hero-inner {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 38px;
    align-items: end;
}

.detail-poster .poster-wrap {
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
}

.detail-copy h1 {
    max-width: 900px;
}

.detail-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 18px;
}

.detail-facts span {
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.detail-tags .tag {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.detail-copy .primary-button {
    margin-top: 26px;
    background: #ffffff;
    color: #0e7490;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    align-items: start;
}

.content-panel {
    overflow: hidden;
}

.player-panel {
    position: relative;
    overflow: hidden;
    background: #020617;
    aspect-ratio: 16 / 9;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.72));
    font-size: 18px;
    font-weight: 900;
}

.play-overlay span {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.42);
}

.player-panel.is-ready .play-overlay {
    display: none;
}

.player-status {
    position: absolute;
    left: 18px;
    bottom: 14px;
    z-index: 5;
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.68);
    font-size: 12px;
}

.player-panel.is-ready .player-status {
    display: none;
}

.detail-section {
    padding: 28px;
    border-top: 1px solid var(--line);
}

.detail-section h2 {
    margin-top: 0;
    font-size: 28px;
}

.detail-section p {
    color: #334155;
    font-size: 17px;
}

.side-panel {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 18px;
}

.side-card {
    padding: 24px;
}

.side-card h2 {
    margin: 0 0 16px;
}

.info-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.info-list div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.info-list dt {
    color: var(--muted);
    font-weight: 700;
}

.info-list dd {
    margin: 0;
    font-weight: 800;
}

.info-list a {
    color: #0891b2;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: #0e7490;
    background: #ecfeff;
    font-weight: 800;
}

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

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

.sitemap-section {
    padding: 24px;
}

.sitemap-section h2 {
    margin-top: 0;
}

.sitemap-section ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sitemap-section li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    border-bottom: 1px dashed var(--line);
    padding-bottom: 6px;
}

.sitemap-section li a {
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-footer {
    color: #dbeafe;
    background: #0f172a;
    padding: 48px 0;
}

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

.footer-brand {
    color: #ffffff;
    font-size: 26px;
    font-weight: 900;
}

.site-footer p {
    color: #94a3b8;
}

.site-footer h3 {
    margin-top: 0;
    color: #67e8f9;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    padding: 6px 10px;
    border-radius: 999px;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
}

.footer-links a:hover {
    color: #ffffff;
    background: rgba(34, 211, 238, 0.18);
}

.accent-cyan-blue {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.accent-indigo-purple {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.accent-violet-pink {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.accent-red-orange {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.accent-pink-rose {
    background: linear-gradient(135deg, #ec4899, #fb7185);
}

.accent-blue-teal {
    background: linear-gradient(135deg, #2563eb, #14b8a6);
}

.accent-emerald-green {
    background: linear-gradient(135deg, #059669, #10b981);
}

.accent-amber-yellow {
    background: linear-gradient(135deg, #f59e0b, #eab308);
}

.accent-slate-blue {
    background: linear-gradient(135deg, #334155, #2563eb);
}

.accent-teal-cyan {
    background: linear-gradient(135deg, #0d9488, #06b6d4);
}

@media (max-width: 1080px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

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

    .two-column-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .rank-panel,
    .side-panel,
    .filter-panel {
        position: static;
    }
}

@media (max-width: 820px) {
    .header-inner {
        min-height: 68px;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .header-search {
        grid-column: 1 / -1;
        width: 100%;
        margin-bottom: 12px;
    }

    .header-search input {
        width: 100%;
    }

    .hero-shell {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .hero-visual {
        min-height: 320px;
        transform: none;
    }

    .hero-visual img,
    .hero-visual .poster-fallback {
        min-height: 320px;
    }

    .section-heading-row,
    .toolbar,
    .page-hero-inner {
        align-items: start;
        flex-direction: column;
    }

    .category-grid,
    .movie-grid,
    .movie-grid.two-wide,
    .category-page-grid,
    .category-overview-grid,
    .related-grid,
    .sitemap-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

    .sitemap-section ul {
        grid-template-columns: 1fr;
    }
}

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

    .brand-text strong {
        font-size: 18px;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-hero h1 {
        font-size: 38px;
    }

    .section {
        padding: 52px 0;
    }

    .movie-card-body,
    .side-card,
    .detail-section {
        padding: 20px;
    }

    .info-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
