:root {
    --slate-950: #020617;
    --slate-925: #06101f;
    --slate-900: #0f172a;
    --slate-850: #121c31;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --white: #ffffff;
    --emerald: #10b981;
    --emerald-dark: #059669;
    --cyan: #22d3ee;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --radius-xl: 1.5rem;
    --radius-lg: 1rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--slate-300);
    background:
        radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.14), transparent 34rem),
        radial-gradient(circle at 90% 18%, rgba(34, 211, 238, 0.12), transparent 30rem),
        linear-gradient(180deg, var(--slate-950), var(--slate-900) 48%, var(--slate-950));
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--white);
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4rem;
    gap: 1rem;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    color: var(--slate-950);
    background: linear-gradient(135deg, var(--emerald), var(--cyan));
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.45);
    font-size: 0.8rem;
}

.brand-text,
.footer-brand {
    font-size: 1.45rem;
    background: linear-gradient(90deg, #34d399, #22d3ee);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    color: var(--slate-300);
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #34d399;
}

.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    padding: 1.25rem 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: grid;
    min-width: 13rem;
    padding: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 0.8rem;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a,
.mobile-panel a {
    padding: 0.7rem 0.8rem;
    border-radius: 0.55rem;
    color: var(--slate-300);
}

.dropdown-menu a:hover,
.mobile-panel a:hover {
    color: var(--white);
    background: rgba(51, 65, 85, 0.8);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(51, 65, 85, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.header-search input,
.mobile-search input,
.catalog-toolbar input,
.catalog-toolbar select {
    color: var(--white);
    background: transparent;
    border: 0;
    outline: 0;
}

.header-search input,
.mobile-search input {
    width: 13rem;
    padding: 0.62rem 0.9rem;
}

.header-search button,
.mobile-search button {
    border: 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--emerald), var(--cyan));
    padding: 0.62rem 1rem;
    cursor: pointer;
}

.mobile-menu-button {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 0.8rem;
    color: var(--white);
    background: rgba(51, 65, 85, 0.7);
    cursor: pointer;
}

.mobile-panel {
    display: none;
    padding: 0 1rem 1rem;
}

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

.mobile-panel nav {
    display: grid;
    gap: 0.25rem;
    margin-top: 0.75rem;
}

.hero {
    position: relative;
    height: 72vh;
    min-height: 31rem;
    overflow: hidden;
    background: var(--slate-950);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.88)),
        linear-gradient(90deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.18) 58%, rgba(2, 6, 23, 0.72));
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: clamp(4rem, 9vh, 7rem);
    transform: translateX(-50%);
    color: var(--white);
}

.hero-pill,
.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    color: var(--white);
    background: rgba(16, 185, 129, 0.9);
    box-shadow: 0 12px 38px rgba(16, 185, 129, 0.28);
}

.hero-pill {
    padding: 0.48rem 0.95rem;
    margin-bottom: 1rem;
}

.eyebrow {
    padding: 0.28rem 0.7rem;
    margin-bottom: 0.8rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.hero h1,
.hero h2 {
    max-width: 52rem;
    margin: 0 0 1rem;
    color: var(--white);
    font-size: clamp(2.4rem, 7vw, 5.9rem);
    line-height: 0.95;
    letter-spacing: -0.08em;
}

.hero h1 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.3rem, 3vw, 2rem);
    letter-spacing: -0.03em;
    color: #67e8f9;
}

.hero p {
    max-width: 46rem;
    margin: 0 0 1.6rem;
    color: var(--slate-300);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions,
.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.primary-button,
.ghost-button,
.page-hero-actions a,
.topic-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button,
.page-hero-actions a:first-child,
.topic-link {
    color: var(--white);
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
}

.ghost-button,
.page-hero-actions a:last-child {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(15, 23, 42, 0.44);
    backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.page-hero-actions a:hover,
.topic-link:hover {
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.48);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease;
    font-size: 2rem;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.72);
}

.hero-prev {
    left: 1rem;
}

.hero-next {
    right: 1rem;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    z-index: 10;
    display: flex;
    gap: 0.45rem;
    transform: translateX(-50%);
}

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

.hero-dot.active {
    width: 2.2rem;
    background: var(--emerald);
}

.section-block {
    padding: 4rem 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.section-heading h2,
.page-hero h1,
.detail-info h1,
.story-block h2,
.side-box h2 {
    margin: 0;
    color: var(--white);
    letter-spacing: -0.04em;
}

.section-heading h2,
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading a {
    color: #34d399;
    font-weight: 700;
}

.movie-grid {
    display: grid;
    gap: 1.4rem;
}

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

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

.rank-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.2rem;
}

.movie-card,
.list-card,
.category-card,
.detail-info,
.side-box,
.catalog-toolbar,
.player-card {
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(30, 41, 59, 0.52);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.32);
    background: rgba(30, 41, 59, 0.82);
}

.card-link {
    display: block;
    height: 100%;
}

.card-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.7);
}

.card-cover img,
.list-cover img,
.related-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover .card-cover img,
.list-card:hover .list-cover img,
.related-row:hover img {
    transform: scale(1.1);
}

.play-hover,
.list-cover span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(0, 0, 0, 0.36);
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: 2.8rem;
}

.movie-card:hover .play-hover,
.list-card:hover .list-cover span {
    opacity: 1;
}

.region-badge,
.rank-badge {
    position: absolute;
    top: 0.65rem;
    border-radius: 999px;
    color: var(--white);
    font-size: 0.75rem;
    line-height: 1;
}

.region-badge {
    right: 0.65rem;
    padding: 0.42rem 0.62rem;
    background: rgba(0, 0, 0, 0.72);
}

.rank-badge {
    left: 0.65rem;
    padding: 0.5rem 0.55rem;
    background: linear-gradient(135deg, var(--emerald), var(--cyan));
    font-weight: 900;
}

.card-body {
    padding: 1rem;
}

.card-body h3 {
    display: -webkit-box;
    min-height: 3.1rem;
    margin: 0 0 0.5rem;
    overflow: hidden;
    color: var(--white);
    font-size: 1rem;
    line-height: 1.45;
    transition: color 0.2s ease;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card:hover .card-body h3,
.list-card:hover h3,
.related-row:hover strong {
    color: #34d399;
}

.card-body p,
.list-info p {
    display: -webkit-box;
    margin: 0 0 0.8rem;
    overflow: hidden;
    color: var(--slate-400);
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta,
.list-info div,
.detail-meta,
.detail-tags,
.genre-links div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.card-meta {
    justify-content: space-between;
    color: var(--slate-500);
    font-size: 0.78rem;
}

.card-meta span,
.detail-tags span,
.genre-links span {
    border-radius: 0.4rem;
    color: #34d399;
    background: rgba(16, 185, 129, 0.14);
}

.card-meta span {
    padding: 0.3rem 0.48rem;
}

.card-meta em {
    font-style: normal;
}

.feature-panel {
    padding: 3rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.22), rgba(8, 145, 178, 0.18));
}

.list-stack {
    display: grid;
    gap: 1rem;
}

.list-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.list-card a {
    display: grid;
    grid-template-columns: 16rem 1fr;
    gap: 1rem;
    min-height: 10rem;
}

.list-cover {
    position: relative;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.7);
}

.list-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1rem 1rem 0;
}

.list-info h3 {
    margin: 0 0 0.5rem;
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.list-info div span,
.detail-meta span {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    color: var(--slate-300);
    background: rgba(51, 65, 85, 0.75);
    font-size: 0.82rem;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.category-buttons a {
    padding: 0.8rem 1.05rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    color: var(--white);
    background: rgba(30, 41, 59, 0.62);
    transition: 0.2s ease;
}

.category-buttons a:hover {
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.16);
    transform: translateY(-2px);
}

.page-hero {
    padding: 5.5rem 0 4.5rem;
    color: var(--white);
}

.soft-hero {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.2), rgba(8, 145, 178, 0.12));
}

.rank-hero {
    background:
        radial-gradient(circle at 16% 20%, rgba(16, 185, 129, 0.22), transparent 24rem),
        linear-gradient(135deg, rgba(2, 6, 23, 0.2), rgba(15, 23, 42, 0.9));
}

.page-hero p {
    max-width: 48rem;
    margin: 1rem 0 1.6rem;
    color: var(--slate-300);
    font-size: 1.1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.category-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: 0.24s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.34);
}

.category-card a {
    display: block;
    min-height: 14rem;
    padding: 1.4rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.12), transparent 12rem),
        rgba(30, 41, 59, 0.48);
}

.category-index {
    display: inline-flex;
    margin-bottom: 1rem;
    color: #67e8f9;
    font-weight: 900;
}

.category-card h2 {
    margin: 0 0 0.5rem;
    color: var(--white);
}

.category-card p {
    margin: 0 0 1rem;
    color: var(--slate-400);
}

.category-mini-list {
    display: grid;
    gap: 0.35rem;
    color: var(--slate-300);
    font-size: 0.88rem;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    border-radius: 999px;
}

.catalog-toolbar input {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 1rem;
}

.catalog-toolbar select {
    min-width: 8.5rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
}

.empty-state {
    margin: 2rem 0;
    padding: 2rem;
    border: 1px dashed rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-lg);
    color: var(--slate-400);
    text-align: center;
}

.detail-layout {
    padding: 2rem 0 4rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    color: var(--slate-400);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #34d399;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(18rem, 0.85fr);
    gap: 1.6rem;
    align-items: start;
}

.detail-main {
    display: grid;
    gap: 1.4rem;
}

.player-card {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #000000;
}

.movie-player {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: #000000;
    cursor: pointer;
}

.player-glow {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    height: 45%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.84), transparent);
    pointer-events: none;
}

.player-big-button {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.2rem;
    height: 5.2rem;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(16, 185, 129, 0.92);
    box-shadow: 0 18px 60px rgba(16, 185, 129, 0.4);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: 0.2s ease;
    font-size: 2rem;
}

.player-big-button:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.player-card.is-playing .player-big-button {
    opacity: 0;
    visibility: hidden;
}

.player-controls {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 5;
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.player-controls button {
    min-width: 2.6rem;
    min-height: 2.6rem;
    padding: 0 0.9rem;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.72);
    cursor: pointer;
    transition: background 0.2s ease;
}

.player-controls button:hover {
    background: rgba(16, 185, 129, 0.86);
}

.fullscreen-control {
    margin-left: auto;
}

.detail-info,
.side-box {
    border-radius: var(--radius-xl);
    padding: 1.4rem;
}

.detail-info h1 {
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.detail-tags {
    margin: 1rem 0 1.2rem;
}

.detail-tags span,
.genre-links span {
    padding: 0.38rem 0.65rem;
    font-size: 0.86rem;
}

.story-block {
    padding-top: 1.2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.story-block + .story-block {
    margin-top: 1.2rem;
}

.story-block h2 {
    margin-bottom: 0.55rem;
    font-size: 1.25rem;
}

.story-block p {
    margin: 0.35rem 0 0;
    color: var(--slate-300);
}

.detail-side {
    position: sticky;
    top: 5.6rem;
    display: grid;
    gap: 1rem;
}

.related-list {
    display: grid;
    gap: 0.85rem;
}

.related-row {
    display: grid;
    grid-template-columns: 7.2rem 1fr;
    gap: 0.75rem;
    overflow: hidden;
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.52);
    transition: background 0.2s ease;
}

.related-row:hover {
    background: rgba(51, 65, 85, 0.7);
}

.related-row img {
    aspect-ratio: 16 / 10;
}

.related-row span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding-right: 0.65rem;
}

.related-row strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--white);
    font-size: 0.92rem;
    line-height: 1.4;
    transition: color 0.2s ease;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-row em {
    color: var(--slate-500);
    font-size: 0.78rem;
    font-style: normal;
}

.more-related {
    padding-bottom: 0;
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(2, 6, 23, 0.86);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    padding: 3rem 0 2rem;
}

.site-footer h2 {
    margin: 0 0 0.9rem;
    color: var(--white);
    font-size: 1rem;
}

.site-footer p {
    max-width: 34rem;
    color: var(--slate-400);
}

.footer-links {
    display: grid;
    gap: 0.55rem;
    color: var(--slate-400);
}

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

.compact-links {
    grid-template-columns: 1fr 1fr;
}

.footer-bottom {
    padding: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--slate-500);
    text-align: center;
    font-size: 0.9rem;
}

.hidden-card {
    display: none !important;
}

@media (max-width: 1024px) {
    .four-columns,
    .three-columns,
    .rank-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .detail-side {
        position: static;
    }

    .header-search {
        display: none;
    }
}

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

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .hero {
        height: 70vh;
        min-height: 30rem;
    }

    .hero-content {
        bottom: 4.8rem;
    }

    .hero-arrow {
        width: 2.5rem;
        height: 2.5rem;
    }

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

    .feature-panel {
        padding: 1.2rem;
    }

    .four-columns,
    .three-columns,
    .rank-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .movie-grid {
        gap: 1rem;
    }

    .list-card a {
        grid-template-columns: 1fr;
    }

    .list-cover {
        aspect-ratio: 16 / 9;
    }

    .list-info {
        padding: 1rem;
    }

    .catalog-toolbar {
        border-radius: var(--radius-lg);
        flex-direction: column;
    }

    .catalog-toolbar select {
        width: 100%;
    }

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

    .compact-links {
        grid-template-columns: 1fr;
    }
}

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

    .hero h2 {
        font-size: 2.35rem;
    }

    .hero p {
        font-size: 0.98rem;
    }

    .page-hero {
        padding: 3.8rem 0 3rem;
    }

    .related-row {
        grid-template-columns: 6rem 1fr;
    }

    .player-big-button {
        width: 4.1rem;
        height: 4.1rem;
        font-size: 1.5rem;
    }
}
