* {
    box-sizing: border-box;
}

:root {
    --bg: #f8fafc;
    --panel: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --teal: #0f766e;
    --cyan: #0891b2;
    --accent: #14b8a6;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    --soft-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 22px;
}

html {
    scroll-behavior: smooth;
}

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

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

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #0f766e, #0891b2);
}

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    box-shadow: 0 10px 24px rgba(20, 184, 166, 0.34);
}

.brand-text strong {
    display: block;
    font-size: 21px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #0f766e, #0891b2);
    background-clip: text;
    color: transparent;
}

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

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link,
.mobile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.active,
.mobile-link.active {
    color: #0f766e;
    background: #ecfeff;
}

.header-search {
    margin-left: auto;
    display: flex;
    width: min(360px, 34vw);
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.header-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 9px 12px;
    background: transparent;
    color: var(--ink);
}

.header-search button,
.big-search button {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e, #0891b2);
    color: #ffffff;
    padding: 9px 16px;
    font-weight: 800;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #334155;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 14px;
}

.mobile-nav.open {
    display: block;
}

.mobile-link {
    display: block;
    margin: 4px 0;
}

.mobile-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
}

.mobile-cats a,
.quick-links a,
.search-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #0f766e 0%, #0891b2 48%, #1d4ed8 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55), transparent 20%), radial-gradient(circle at 80% 0%, rgba(45, 212, 191, 0.5), transparent 26%), radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.5), transparent 28%);
}

.hero-inner {
    position: relative;
    min-height: 620px;
    display: grid;
    align-items: center;
}

.hero-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    align-items: center;
    gap: 56px;
    padding: 74px 0 96px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #ccfbf1;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.sub-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 70px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-copy p,
.sub-hero p,
.detail-copy p {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #0f766e;
    background: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    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);
}

.btn.primary {
    background: #ffffff;
    color: #0f766e;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.18);
}

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

.hero-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 12px solid rgba(255, 255, 255, 0.16);
    border-radius: 34px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.35);
    transform: rotate(2deg);
}

.hero-poster img {
    transition: transform 0.5s ease;
}

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

.hero-poster span,
.play-float,
.detail-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    color: #0f766e;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
    transform: translate(-50%, -50%);
}

.hero-controls {
    position: absolute;
    left: 0;
    bottom: 38px;
    display: flex;
    gap: 9px;
}

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

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

.quick-search-block {
    margin-top: -36px;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.big-search {
    display: flex;
    gap: 10px;
}

.big-search input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 14px 18px;
    outline: 0;
}

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

.section-pad {
    padding-top: 72px;
    padding-bottom: 72px;
}

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

.section-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(27px, 3.6vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
}

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0f766e;
    font-weight: 900;
}

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

.category-card,
.overview-card a {
    position: relative;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.overview-card a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #14b8a6, #0891b2);
}

.category-card h3,
.overview-card h2 {
    margin: 4px 0 0;
    font-size: 22px;
    letter-spacing: -0.03em;
}

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

.category-samples,
.overview-samples {
    display: grid;
    gap: 6px;
    margin-top: auto;
}

.category-samples a,
.overview-samples a {
    overflow: hidden;
    color: #334155;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-card strong,
.overview-card strong {
    color: #0f766e;
    font-size: 14px;
}

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

.rank-section {
    background: linear-gradient(135deg, #ecfeff, #f8fafc);
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.poster-wrap img {
    transition: transform 0.48s ease;
}

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

.poster-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.65));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.movie-card:hover .poster-wrap::after {
    opacity: 1;
}

.play-float {
    z-index: 2;
    width: 52px;
    height: 52px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.movie-card:hover .play-float {
    opacity: 1;
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-weight: 900;
}

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

.movie-title {
    display: -webkit-box;
    overflow: hidden;
    color: #0f172a;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-card:hover .movie-title,
.wide-card:hover .wide-head a {
    color: #0f766e;
}

.movie-card-body p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 44px;
    margin: 8px 0 12px;
    color: var(--muted);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.movie-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1f5f9;
}

.tag-row {
    margin-top: 12px;
}

.tag-row span {
    color: #0f766e;
    background: #ecfeff;
}

.compact-card .movie-card-body p,
.compact-card .tag-row {
    display: none;
}

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

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

.wide-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.wide-cover {
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 3 / 4;
}

.wide-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wide-rank {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    font-weight: 900;
}

.wide-head a {
    overflow: hidden;
    font-size: 17px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wide-body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 9px 0 12px;
    color: var(--muted);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cta-section {
    padding: 82px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #164e63);
}

.cta-inner {
    text-align: center;
}

.cta-inner h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.04em;
}

.cta-inner p {
    margin: 0 0 28px;
    color: #cbd5e1;
    font-size: 18px;
}

.sub-hero {
    padding: 84px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #0f766e, #0891b2, #2563eb);
}

.sub-hero h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 62px);
}

.sub-hero p {
    max-width: 760px;
}

.filter-panel {
    display: grid;
    gap: 16px;
    margin-top: -28px;
    position: relative;
    z-index: 3;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.filter-input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 14px 18px;
    outline: 0;
}

.filter-input:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill {
    border: 0;
    border-radius: 999px;
    padding: 8px 13px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 800;
    cursor: pointer;
}

.filter-pill.active {
    color: #ffffff;
    background: linear-gradient(135deg, #0f766e, #0891b2);
}

.searchable-card.hidden {
    display: none;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #0f172a;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.1);
}

.detail-hero-inner {
    position: relative;
    padding: 34px 0 72px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #cbd5e1;
    font-size: 14px;
}

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

.detail-intro {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 46px;
    align-items: end;
    margin-top: 34px;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    aspect-ratio: 3 / 4;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.detail-copy h1 {
    font-size: clamp(36px, 5vw, 64px);
}

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

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    font-weight: 800;
}

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

.player-section {
    margin-top: -34px;
    position: relative;
    z-index: 4;
}

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

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

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: radial-gradient(circle at center, rgba(20, 184, 166, 0.22), rgba(2, 6, 23, 0.58));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-start {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    color: #0f766e;
    background: #ffffff;
    font-size: 34px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
}

.detail-article,
.detail-side {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.detail-article {
    padding: 30px;
}

.detail-article h2,
.detail-side h2 {
    margin: 0 0 16px;
    font-size: 25px;
    letter-spacing: -0.03em;
}

.detail-article h2:not(:first-child) {
    margin-top: 30px;
}

.detail-article p {
    margin: 0 0 14px;
    color: #334155;
    font-size: 16px;
}

.detail-side {
    align-self: start;
    padding: 24px;
}

.detail-side dl {
    margin: 0;
    display: grid;
    gap: 12px;
}

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

.detail-side dt {
    color: var(--muted);
    font-weight: 800;
}

.detail-side dd {
    margin: 0;
    color: #0f172a;
}

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

.top-rank-card {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.top-rank-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
}

.top-rank-cover span {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-weight: 900;
}

.top-rank-card div {
    padding: 20px;
}

.top-rank-card h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.top-rank-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 14px;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.site-footer {
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f172a, #111827);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 34px;
    padding: 54px 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

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

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 18px;
    color: #ffffff;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
}

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

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

.accent-blue .category-icon,
.accent-blue .wide-rank {
    background: linear-gradient(135deg, #2563eb, #0891b2);
}

.accent-orange .category-icon {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.accent-emerald .category-icon {
    background: linear-gradient(135deg, #10b981, #0f766e);
}

.accent-teal .category-icon {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
}

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

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

.accent-rose .category-icon {
    background: linear-gradient(135deg, #f43f5e, #fb7185);
}

.accent-slate .category-icon {
    background: linear-gradient(135deg, #334155, #0f172a);
}

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

.accent-violet .category-icon {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

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

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

    .featured-grid,
    .wide-grid,
    .top-rank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

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

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

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 58px 0 86px;
    }

    .hero-poster {
        width: min(360px, 82vw);
        margin: 0 auto;
        transform: none;
    }

    .quick-search-block {
        grid-template-columns: 1fr;
    }

    .big-search {
        flex-direction: column;
    }

    .category-grid,
    .overview-grid,
    .movie-grid,
    .compact-grid,
    .featured-grid,
    .wide-grid,
    .top-rank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-intro,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(300px, 78vw);
    }

    .detail-copy h1 {
        font-size: clamp(34px, 10vw, 54px);
    }
}

@media (max-width: 560px) {
    .site-shell {
        width: min(100% - 22px, 1180px);
    }

    .brand-text small {
        display: none;
    }

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

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

    .category-grid,
    .overview-grid,
    .movie-grid,
    .compact-grid,
    .featured-grid,
    .wide-grid,
    .top-rank-grid {
        grid-template-columns: 1fr;
    }

    .wide-card {
        grid-template-columns: 82px minmax(0, 1fr);
    }

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

    .player-box {
        border-radius: 18px;
    }

    .detail-article,
    .detail-side {
        padding: 20px;
    }
}
