* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: #1f2937;
    background: linear-gradient(180deg, #ecfeff 0%, #ffffff 38%, #f8fafc 100%);
    line-height: 1.6;
}

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

img {
    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: 80;
    background: linear-gradient(90deg, rgba(236, 254, 255, 0.96), rgba(239, 246, 255, 0.96));
    border-bottom: 1px solid rgba(14, 165, 233, 0.14);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

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

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

.brand-icon,
.footer-brand span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #22d3ee, #2563eb);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

.brand-text strong {
    display: block;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #0891b2, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

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

.nav-link {
    padding: 10px 15px;
    border-radius: 12px;
    font-weight: 700;
    color: #475569;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.25);
}

.header-search,
.mobile-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
    border: 2px solid #bae6fd;
    border-radius: 999px;
    outline: none;
    background: #ffffff;
    color: #0f172a;
    transition: border 0.25s ease, box-shadow 0.25s ease;
}

.header-search input {
    width: 230px;
    padding: 11px 48px 11px 18px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

.header-search button {
    position: absolute;
    right: 6px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    cursor: pointer;
}

.menu-toggle {
    display: none;
    border: 0;
    border-radius: 12px;
    padding: 10px 12px;
    color: #0e7490;
    background: #cffafe;
    cursor: pointer;
}

.mobile-panel {
    border-top: 1px solid rgba(14, 165, 233, 0.16);
    padding: 14px 16px 18px;
    background: #ffffff;
}

.mobile-panel nav {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
}

.mobile-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.mobile-search {
    gap: 8px;
}

.mobile-search input {
    width: 100%;
    padding: 11px 16px;
}

.mobile-search button {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

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

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image: radial-gradient(circle at 20% 20%, #ffffff 0 2px, transparent 3px), radial-gradient(circle at 80% 30%, #ffffff 0 1px, transparent 2px);
    background-size: 58px 58px, 92px 92px;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    background: linear-gradient(0deg, #ecfeff, transparent);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-backdrop,
.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(22px) saturate(1.25);
    transform: scale(1.1);
    opacity: 0.24;
}

.hero-backdrop::after,
.detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 145, 178, 0.92), rgba(37, 99, 235, 0.82));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.78fr);
    gap: 54px;
    align-items: center;
    padding-top: 28px;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
}

.hero p,
.page-hero p,
.detail-copy p {
    font-size: clamp(17px, 2vw, 22px);
    color: #ecfeff;
    max-width: 760px;
    margin: 0 0 28px;
}

.hero-tags,
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.card-tags span {
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    padding: 7px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

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

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

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

.btn.primary {
    color: #0891b2;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
}

.btn.ghost {
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
}

.btn.light {
    color: #0891b2;
    background: #ffffff;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.18);
}

.hero-poster {
    position: relative;
    display: block;
    max-width: 360px;
    justify-self: center;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 34px 70px rgba(15, 23, 42, 0.35);
    transform: rotate(2deg);
    background: linear-gradient(135deg, #22d3ee, #2563eb);
}

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

.hero-poster span,
.play-icon,
.detail-poster span,
.player-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0891b2;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.24);
}

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 98px;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateX(-50%);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #0891b2;
    background: #ffffff;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.18);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

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

.hero-thumbs {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 22px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    transform: translateX(-50%);
}

.hero-thumb {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px;
    border-radius: 16px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.24);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    overflow: hidden;
}

.hero-thumb.is-active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

.hero-thumb img {
    width: 44px;
    height: 58px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #22d3ee, #2563eb);
}

.hero-thumb span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 800;
}

.stats-strip {
    padding: 36px 0 10px;
}

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

.stats-grid a,
.category-tile,
.movie-card,
.filter-panel,
.story-panel,
.info-panel,
.top-rank-card,
.view-bar,
.empty-state {
    border: 1px solid rgba(14, 165, 233, 0.12);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.stats-grid a {
    padding: 24px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stats-grid a:hover,
.category-tile:hover,
.movie-card:hover,
.top-rank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 55px rgba(15, 23, 42, 0.13);
}

.stats-grid strong {
    display: block;
    font-size: 25px;
    color: #0f172a;
}

.stats-grid span {
    color: #64748b;
}

.content-section {
    padding: 70px 0;
}

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

.section-head h2,
.preview-head h2,
.story-panel h2,
.info-panel h2,
.player-section h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.04em;
}

.section-head p,
.preview-head p {
    margin: 0;
    color: #64748b;
}

.section-more {
    color: #0891b2;
    font-weight: 900;
    white-space: nowrap;
}

.section-more span {
    font-size: 22px;
}

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

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

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

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

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

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

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #22d3ee, #2563eb);
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.58));
}

.badge {
    position: absolute;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(8, 145, 178, 0.88);
    backdrop-filter: blur(8px);
}

.top-left {
    left: 10px;
    top: 10px;
}

.top-right {
    right: 10px;
    top: 10px;
    background: rgba(37, 99, 235, 0.88);
}

.rank-mark {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #0891b2;
    background: #ffffff;
    font-weight: 1000;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.play-icon {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-icon {
    opacity: 1;
    transform: translateY(0);
}

.card-body {
    padding: 18px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.card-meta span {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.card-body h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.card-body h2 a:hover {
    color: #0891b2;
}

.card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 48px;
    overflow: hidden;
    margin: 0 0 13px;
    color: #64748b;
    font-size: 14px;
}

.card-tags span {
    padding: 5px 9px;
    color: #0e7490;
    background: #ecfeff;
}

.featured-card .card-body h2 {
    font-size: 23px;
}

.category-band,
.cta-band {
    padding: 70px 0;
    background: linear-gradient(90deg, #eff6ff, #ecfeff);
}

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

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

.category-tile {
    padding: 28px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #22d3ee, #2563eb);
    font-size: 28px;
    font-weight: 1000;
    box-shadow: 0 16px 35px rgba(37, 99, 235, 0.22);
}

.category-tile strong {
    display: block;
    margin: 18px 0 9px;
    color: #0f172a;
    font-size: 21px;
}

.category-tile em {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #64748b;
    font-style: normal;
    font-size: 14px;
}

.cta-band {
    color: #ffffff;
    background: linear-gradient(90deg, #06b6d4, #2563eb);
}

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

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

.cta-inner p {
    margin: 0 0 26px;
    color: #ecfeff;
    font-size: 20px;
}

.page-hero {
    position: relative;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background: radial-gradient(circle at 15% 20%, #ffffff 0 2px, transparent 3px), radial-gradient(circle at 78% 28%, #ffffff 0 1px, transparent 2px);
    background-size: 66px 66px, 92px 92px;
}

.small-hero .container {
    position: relative;
    z-index: 1;
    padding: 72px 0;
}

.page-hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    padding: 54px 0 78px;
}

.catalog-layout.single-column {
    display: block;
}

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

.filter-panel h2 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 22px;
}

.filter-panel label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.filter-panel span {
    color: #475569;
    font-weight: 900;
    font-size: 14px;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
}

.view-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    margin-bottom: 24px;
}

.view-bar strong {
    color: #0f172a;
    font-size: 20px;
}

.view-bar span {
    color: #64748b;
}

.empty-state {
    padding: 45px;
    text-align: center;
    color: #64748b;
    font-weight: 800;
}

.category-preview {
    margin-bottom: 58px;
}

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

.top-rank-card {
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    overflow: hidden;
    color: #ffffff;
}

.top-rank-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.35s ease;
}

.top-rank-card:hover img {
    transform: scale(1.08);
}

.top-rank-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.82));
}

.top-rank-card strong,
.top-rank-card em,
.top-rank-num {
    position: relative;
    z-index: 2;
}

.top-rank-num {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 18px;
    color: #0891b2;
    background: #ffffff;
    font-size: 25px;
    font-weight: 1000;
}

.top-rank-card strong {
    font-size: 25px;
    line-height: 1.2;
}

.top-rank-card em {
    margin-top: 8px;
    color: #cffafe;
    font-style: normal;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 46px;
    align-items: center;
    padding: 70px 0;
}

.detail-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #22d3ee, #2563eb);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.32);
}

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

.detail-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
}

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

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

.detail-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.03;
    letter-spacing: -0.06em;
}

.detail-tags {
    margin-top: 22px;
}

.player-section {
    padding: 60px 0 40px;
    background: #f8fafc;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 28px 65px rgba(15, 23, 42, 0.22);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.72));
    cursor: pointer;
}

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

.player-button {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    font-size: 34px;
}

.player-overlay strong {
    font-size: clamp(20px, 4vw, 34px);
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
}

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

.story-panel,
.info-panel {
    padding: 30px;
}

.story-panel h2:not(:first-child) {
    margin-top: 34px;
}

.story-panel p {
    margin: 0;
    color: #475569;
    font-size: 17px;
}

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

.info-panel li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.info-panel span {
    color: #64748b;
}

.info-panel strong {
    color: #0f172a;
    text-align: right;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 34px;
    padding: 50px 0 36px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 14px;
}

.site-footer p {
    max-width: 440px;
    margin: 0;
}

.site-footer h2 {
    margin: 0 0 15px;
    color: #67e8f9;
    font-size: 18px;
}

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

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

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

[hidden] {
    display: none !important;
}

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

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: 710px;
        text-align: center;
        padding-top: 36px;
    }

    .hero-copy {
        margin: 0 auto;
    }

    .hero-tags,
    .hero-actions {
        justify-content: center;
    }

    .hero-poster {
        max-width: 250px;
    }

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

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

    .featured-grid,
    .top-rank-grid,
    .footer-grid,
    .detail-body,
    .detail-hero-inner,
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        position: relative;
        top: auto;
    }

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

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

    .header-inner {
        height: 68px;
    }

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

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

    .brand-text em {
        display: none;
    }

    .hero {
        min-height: 760px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-controls {
        bottom: 122px;
    }

    .hero-thumbs {
        bottom: 18px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-thumb:nth-child(n+5) {
        display: none;
    }

    .stats-grid,
    .category-grid,
    .category-grid.large,
    .movie-grid,
    .compact-grid,
    .latest-grid,
    .featured-grid,
    .mini-grid,
    .top-rank-grid {
        grid-template-columns: 1fr;
    }

    .section-head,
    .preview-head,
    .view-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .small-hero .container {
        padding: 54px 0;
    }

    .catalog-layout {
        padding-top: 32px;
    }

    .detail-hero-inner {
        padding: 46px 0;
    }

    .detail-copy h1 {
        font-size: 36px;
    }

    .story-panel,
    .info-panel {
        padding: 22px;
    }
}
