* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #e2e8f0;
    background: linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
    border-bottom: 1px solid rgba(51, 65, 85, 0.85);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #22d3ee;
}

.brand span:last-child {
    background: linear-gradient(90deg, #22d3ee, #3b82f6);
    -webkit-background-clip: text;
    color: transparent;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #ffffff;
    border-radius: 12px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 10px 24px rgba(34, 211, 238, 0.28);
}

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

.nav-link,
.mobile-link {
    color: #cbd5e1;
    font-weight: 650;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: #22d3ee;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-form input,
.mobile-search input,
.big-search input,
.quick-search-panel input {
    width: 250px;
    height: 40px;
    padding: 0 16px;
    color: #ffffff;
    background: rgba(51, 65, 85, 0.86);
    border: 1px solid #475569;
    border-radius: 999px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-form input:focus,
.mobile-search input:focus,
.big-search input:focus,
.quick-search-panel input:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
    background: rgba(30, 41, 59, 0.96);
}

.search-form button,
.mobile-search button,
.big-search button,
.quick-search-panel button {
    height: 40px;
    padding: 0 18px;
    color: #ffffff;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #06b6d4, #2563eb);
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.search-form button:hover,
.mobile-search button:hover,
.big-search button:hover,
.quick-search-panel button:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.menu-button {
    display: none;
    margin-left: auto;
    color: #e2e8f0;
    background: transparent;
    border: 0;
    font-size: 28px;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(51, 65, 85, 0.8);
    padding: 14px 20px 18px;
}

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

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

.mobile-search {
    display: flex;
    gap: 8px;
}

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

.hero-carousel {
    position: relative;
    height: 76vh;
    min-height: 600px;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    filter: saturate(1.1);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.22), transparent 32%),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.82) 45%, rgba(2, 6, 23, 0.3) 100%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.5), rgba(2, 6, 23, 0.75));
}

.hero-content {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 340px;
    align-items: end;
    gap: 56px;
    padding-top: 120px;
    padding-bottom: 88px;
}

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

.hero-tags,
.tag-row,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-tags span,
.hero-tags a,
.tag,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 12px;
    color: #dffaff;
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span:first-child {
    color: #ffffff;
    background: linear-gradient(90deg, #06b6d4, #2563eb);
    border-color: transparent;
}

.hero-copy h1 {
    margin: 22px 0 18px;
    color: #ffffff;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.065em;
    text-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}

.hero-copy p {
    margin: 0 0 30px;
    max-width: 720px;
    color: #cbd5e1;
    font-size: 19px;
    line-height: 1.8;
}

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.ghost-button {
    color: #dffaff;
    border: 1px solid rgba(34, 211, 238, 0.32);
    background: rgba(15, 23, 42, 0.66);
}

.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(34, 211, 238, 0.2);
}

.hero-poster {
    position: relative;
    display: block;
    align-self: end;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(37, 99, 235, 0.12));
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.45);
}

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

.hero-poster span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 12px;
    color: #ffffff;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 700;
}

.hero-dots {
    position: absolute;
    right: calc((100vw - min(1180px, calc(100% - 32px))) / 2);
    bottom: 42px;
    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.8);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

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

.quick-search-panel {
    position: relative;
    z-index: 2;
    margin-top: -38px;
    padding: 22px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.88);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
}

.quick-search-panel form {
    display: flex;
    gap: 12px;
}

.quick-search-panel input {
    width: 100%;
    height: 48px;
}

.quick-search-panel button {
    height: 48px;
    min-width: 118px;
}

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

.quick-links a {
    padding: 8px 12px;
    color: #cbd5e1;
    border-radius: 999px;
    background: rgba(51, 65, 85, 0.72);
    transition: color 0.2s ease, background 0.2s ease;
}

.quick-links a:hover {
    color: #ffffff;
    background: rgba(6, 182, 212, 0.28);
}

.page-section {
    padding: 62px 0;
}

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

.section-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 8px 0 0;
    color: #94a3b8;
    line-height: 1.7;
}

.section-more {
    flex: 0 0 auto;
    padding: 10px 14px;
    color: #67e8f9;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
}

.movie-grid {
    display: grid;
    gap: 20px;
}

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

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

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

.movie-card {
    position: relative;
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(71, 85, 105, 0.72);
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.58);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.55);
    box-shadow: 0 24px 52px rgba(8, 145, 178, 0.16);
}

.poster-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    background: radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.22), rgba(15, 23, 42, 0.9));
}

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

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

.score-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 28px;
    padding: 0 9px;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.movie-card-body {
    display: grid;
    gap: 8px;
    padding: 15px;
}

.movie-card-body strong {
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 17px;
}

.movie-meta,
.movie-desc {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.55;
}

.movie-desc {
    display: -webkit-box;
    min-height: 40px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.movie-card-compact .movie-desc {
    min-height: 0;
}

.category-panel {
    padding: 40px;
    border: 1px solid rgba(71, 85, 105, 0.62);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.44));
}

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

.category-tile {
    display: grid;
    gap: 10px;
    min-height: 152px;
    padding: 22px;
    border: 1px solid rgba(34, 211, 238, 0.16);
    border-radius: 22px;
    background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.18), rgba(30, 41, 59, 0.55));
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.5);
}

.category-tile strong {
    color: #ffffff;
    font-size: 20px;
}

.category-tile span {
    color: #94a3b8;
    line-height: 1.65;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 34px;
    align-items: start;
}

.rank-panel,
.detail-info-card,
.detail-main-card,
.filter-panel,
.category-overview-card {
    border: 1px solid rgba(71, 85, 105, 0.7);
    border-radius: 22px;
    background: rgba(30, 41, 59, 0.56);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.rank-panel {
    position: sticky;
    top: 90px;
    padding: 22px;
}

.small-heading h2 {
    font-size: 26px;
}

.rank-list {
    display: grid;
    gap: 12px;
}

.rank-item {
    display: grid;
    grid-template-columns: 34px 54px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 10px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.58);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
    transform: translateX(3px);
    background: rgba(8, 145, 178, 0.16);
}

.rank-number {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    font-weight: 800;
}

.rank-item img {
    width: 54px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.8);
}

.rank-content {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.rank-content strong {
    overflow: hidden;
    color: #ffffff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-content span,
.rank-heat {
    color: #94a3b8;
    font-size: 13px;
}

.sub-page {
    padding-top: 86px;
}

.page-hero {
    margin-top: 34px;
    padding: 56px;
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 32px;
    background:
        radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.52));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.page-hero h1 {
    margin: 10px 0 14px;
    max-width: 900px;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
}

.eyebrow {
    display: inline-flex;
    padding: 7px 12px;
    color: #67e8f9;
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 999px;
    background: rgba(8, 145, 178, 0.12);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.filter-panel {
    margin-top: 28px;
    padding: 24px;
}

.filter-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.filter-row + .filter-row {
    margin-top: 18px;
}

.filter-row strong {
    color: #ffffff;
    padding-top: 9px;
}

.filter-row div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-button {
    padding: 9px 14px;
    color: #cbd5e1;
    border: 1px solid rgba(71, 85, 105, 0.9);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.6);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(90deg, #06b6d4, #2563eb);
}

.category-overview-list {
    display: grid;
    gap: 28px;
    padding: 46px 0 70px;
}

.category-overview-card {
    padding: 28px;
}

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

.category-overview-head h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 30px;
}

.category-overview-head p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.7;
}

.ranking-list-full {
    display: grid;
    gap: 12px;
    padding: 46px 0 72px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 56px 72px minmax(0, 1fr) 70px;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(71, 85, 105, 0.68);
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.55);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ranking-row:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 211, 238, 0.48);
    background: rgba(15, 23, 42, 0.78);
}

.ranking-index {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    font-weight: 900;
}

.ranking-row img {
    width: 72px;
    height: 96px;
    object-fit: cover;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.86);
}

.ranking-main {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.ranking-main strong {
    color: #ffffff;
    font-size: 18px;
}

.ranking-main em {
    color: #cbd5e1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: normal;
}

.ranking-main span,
.ranking-score {
    color: #94a3b8;
}

.ranking-score {
    color: #fbbf24;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
}

.big-search {
    display: flex;
    max-width: 720px;
    gap: 12px;
    margin-top: 24px;
}

.big-search input {
    width: 100%;
    height: 50px;
}

.big-search button {
    height: 50px;
    min-width: 118px;
}

.detail-page {
    padding-top: 66px;
}

.detail-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #020617;
}

.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(6px) saturate(1.1);
    transform: scale(1.08);
    opacity: 0.5;
}

.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 24%, rgba(34, 211, 238, 0.18), transparent 36%),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.78) 70%, rgba(2, 6, 23, 0.58) 100%);
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 42px;
    align-items: end;
    min-height: 560px;
    padding-top: 98px;
    padding-bottom: 52px;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.42);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #67e8f9;
    font-weight: 700;
}

.detail-copy h1 {
    margin: 16px 0 18px;
    color: #ffffff;
    font-size: clamp(36px, 6vw, 66px);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.detail-copy p {
    max-width: 820px;
    margin: 0 0 20px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
}

.detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.detail-stats span {
    padding: 10px 14px;
    color: #cbd5e1;
    border: 1px solid rgba(71, 85, 105, 0.8);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.62);
}

.detail-stats strong {
    color: #ffffff;
}

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

.movie-player {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 26px;
    background: #000000;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

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

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    color: #ffffff;
    border: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.24), rgba(2, 6, 23, 0.56));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 20px 44px rgba(34, 211, 238, 0.34);
    font-size: 30px;
}

.player-start span:last-child {
    font-size: 18px;
    font-weight: 800;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
    padding-top: 52px;
}

.detail-main-card,
.detail-info-card {
    padding: 28px;
}

.detail-main-card h2,
.detail-info-card h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 26px;
}

.detail-main-card h2:not(:first-child) {
    margin-top: 32px;
}

.detail-main-card p {
    margin: 0;
    color: #cbd5e1;
    line-height: 2;
    font-size: 16px;
}

.detail-info-card {
    position: sticky;
    top: 90px;
}

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

.detail-info-card dt {
    color: #94a3b8;
    font-size: 13px;
}

.detail-info-card dd {
    margin: 4px 0 0;
    color: #ffffff;
    font-weight: 700;
}

.site-footer {
    margin-top: 36px;
    border-top: 1px solid rgba(51, 65, 85, 0.8);
    background: linear-gradient(180deg, #0f172a, #000000);
}

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

.footer-brand {
    margin-bottom: 16px;
}

.site-footer p {
    max-width: 360px;
    color: #94a3b8;
    line-height: 1.8;
}

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

.site-footer a:not(.brand) {
    display: block;
    margin: 10px 0;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.site-footer a:not(.brand):hover {
    color: #22d3ee;
}

.footer-bottom {
    padding: 18px;
    color: #64748b;
    border-top: 1px solid rgba(51, 65, 85, 0.62);
    text-align: center;
}

.hidden-by-filter {
    display: none;
}

@media (max-width: 1120px) {
    .compact-grid,
    .catalogue-grid,
    .mini-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .split-section,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .rank-panel,
    .detail-info-card {
        position: static;
    }
}

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

    .menu-button {
        display: block;
    }

    .brand {
        font-size: 20px;
    }

    .hero-carousel {
        min-height: 720px;
        height: 88vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: end;
        padding-top: 112px;
        padding-bottom: 84px;
    }

    .hero-poster {
        width: min(230px, 70vw);
    }

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

    .quick-search-panel form,
    .big-search {
        flex-direction: column;
    }

    .quick-search-panel button,
    .big-search button {
        width: 100%;
    }

    .compact-grid,
    .catalogue-grid,
    .feature-grid,
    .mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .page-hero,
    .category-panel {
        padding: 32px;
        border-radius: 24px;
    }

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

    .ranking-row {
        grid-template-columns: 42px 60px minmax(0, 1fr);
    }

    .ranking-score {
        grid-column: 2 / 4;
        text-align: left;
        font-size: 18px;
    }

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

    .detail-poster {
        width: min(240px, 72vw);
    }

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

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

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

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

    .hero-dots {
        left: 18px;
        right: auto;
        bottom: 26px;
    }

    .compact-grid,
    .catalogue-grid,
    .feature-grid,
    .mini-grid,
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .movie-card-body strong {
        font-size: 15px;
    }

    .movie-desc,
    .tag-row {
        display: none;
    }

    .category-tile {
        min-height: 132px;
        padding: 18px;
    }

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

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