:root {
    --color-bg: #f8fafc;
    --color-card: #ffffff;
    --color-ink: #1f2937;
    --color-muted: #6b7280;
    --color-line: #e5e7eb;
    --color-amber: #d97706;
    --color-amber-light: #f59e0b;
    --color-orange: #f97316;
    --color-red: #ef4444;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 10px 28px rgba(15, 23, 42, 0.08);
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-bg);
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(16px);
}

.site-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #92400e;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.02em;
}

.site-logo-icon {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: white;
    background: linear-gradient(135deg, var(--color-amber-light), var(--color-orange));
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(217, 119, 6, 0.28);
    font-size: 15px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 14px;
    color: #4b5563;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #92400e;
    background: #fef3c7;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #92400e;
    border-radius: 999px;
}

.hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: linear-gradient(120deg, #f59e0b, #f97316 55%, #fbbf24);
}

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

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

.hero-bg,
.hero-bg img,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(9px) saturate(1.1) scale(1.05);
    opacity: 0.45;
}

.hero-shade {
    background:
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.2), transparent 28%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(146, 64, 14, 0.48), rgba(251, 191, 36, 0.28));
}

.hero-content {
    position: relative;
    max-width: 1200px;
    min-height: 560px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    align-items: center;
    gap: 44px;
}

.hero-text {
    color: #ffffff;
}

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

.eyebrow.dark {
    color: var(--color-amber);
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero p {
    max-width: 680px;
    margin: 0 0 24px;
    color: #fff7ed;
    font-size: clamp(18px, 2.2vw, 25px);
}

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

.center-actions {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
    box-shadow: 0 12px 28px rgba(217, 119, 6, 0.32);
}

.btn-ghost {
    color: white;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(10px);
}

.btn-light {
    color: #92400e;
    background: white;
    box-shadow: 0 12px 30px rgba(146, 64, 14, 0.22);
}

.btn-outline-light {
    color: white;
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);
}

.btn.full {
    width: 100%;
}

.hero-poster {
    position: relative;
    display: block;
    max-width: 390px;
    margin-left: auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.36);
    transform: rotate(2deg);
}

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

.hero-poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 14px;
    color: white;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    font-weight: 800;
}

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

.hero-controls > button,
.hero-dot {
    border: 0;
    color: white;
    background: rgba(15, 23, 42, 0.35);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-controls > button {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
}

.hero-controls > button:hover,
.hero-dot:hover,
.hero-dot.is-active {
    background: rgba(255, 255, 255, 0.85);
    color: #92400e;
    transform: scale(1.08);
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
}

.stats-strip {
    max-width: 1100px;
    margin: -42px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stats-strip div {
    padding: 22px;
    background: white;
    border: 1px solid rgba(245, 158, 11, 0.16);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.stats-strip strong {
    display: block;
    color: var(--color-amber);
    font-size: 32px;
    line-height: 1;
}

.stats-strip span {
    display: block;
    margin-top: 7px;
    color: var(--color-muted);
    font-weight: 700;
}

.section-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 20px;
}

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

.section-heading h2,
.ranking-panel h2,
.info-card h2,
.side-panel h2 {
    margin: 0 0 8px;
    color: #111827;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.15;
}

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

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.center-heading {
    text-align: center;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.text-link {
    color: var(--color-amber);
    font-weight: 800;
}

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

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

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

.movie-card {
    min-width: 0;
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.42);
    box-shadow: var(--shadow-soft);
}

.movie-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

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

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

.year-badge,
.rank-badge {
    position: absolute;
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.year-badge {
    right: 12px;
    color: var(--color-amber);
    background: white;
}

.rank-badge {
    left: 12px;
    color: white;
    background: linear-gradient(135deg, #ef4444, #f97316);
}

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

.movie-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--color-amber);
    font-size: 12px;
    font-weight: 800;
}

.movie-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: var(--color-amber);
}

.movie-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    min-height: 72px;
    margin: 0 0 12px;
    color: var(--color-muted);
    overflow: hidden;
    font-size: 14px;
}

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

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

.movie-card.is-compact p {
    min-height: 42px;
    -webkit-line-clamp: 2;
    font-size: 13px;
}

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

.tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 9px;
    color: #92400e;
    background: #fef3c7;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags .tag {
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

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

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

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

.category-tile {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    border-radius: 28px;
    color: white;
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-soft);
}

.category-tile a {
    position: relative;
    z-index: 2;
    display: block;
    min-height: 160px;
    padding: 24px;
}

.category-tile h2 {
    margin: 26px 0 10px;
    font-size: 28px;
}

.category-tile p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.category-count {
    display: inline-flex;
    padding: 6px 12px;
    color: #92400e;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.category-samples {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 24px 24px;
}

.category-samples a {
    min-height: auto;
    padding: 5px 9px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 12px;
}

.tone-1 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.tone-2 { background: linear-gradient(135deg, #fb7185, #ef4444); }
.tone-3 { background: linear-gradient(135deg, #38bdf8, #2563eb); }
.tone-4 { background: linear-gradient(135deg, #34d399, #059669); }
.tone-5 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.tone-6 { background: linear-gradient(135deg, #facc15, #ea580c); }

.two-column-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
}

.ranking-panel {
    position: sticky;
    top: 94px;
    align-self: start;
    padding: 24px;
    background: white;
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
}

.ranking-panel ol {
    margin: 18px 0 24px;
    padding: 0;
    list-style: none;
}

.ranking-panel li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 42px;
    gap: 10px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--color-line);
}

.ranking-panel li:last-child {
    border-bottom: 0;
}

.ranking-panel li span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: white;
    background: linear-gradient(135deg, var(--color-amber), var(--color-orange));
    border-radius: 999px;
    font-weight: 800;
}

.ranking-panel li a {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
}

.ranking-panel li em {
    color: var(--color-red);
    font-style: normal;
    font-weight: 900;
}

.cta-section,
.page-hero {
    color: white;
    text-align: center;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(135deg, #d97706, #f97316 58%, #f59e0b);
}

.cta-section {
    padding: 82px 20px;
}

.cta-section h2,
.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
}

.cta-section p,
.page-hero p {
    max-width: 800px;
    margin: 0 auto;
    color: #fff7ed;
    font-size: 18px;
}

.small-hero {
    padding: 76px 20px 68px;
}

.filter-panel,
.search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 160px auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 28px;
    padding: 18px;
    background: white;
    border: 1px solid var(--color-line);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
}

.search-panel {
    grid-template-columns: minmax(0, 1fr) 190px 170px;
}

.filter-input-wrap {
    min-width: 0;
}

.filter-panel input,
.filter-panel select,
.search-panel input,
.search-panel select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    color: var(--color-ink);
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-panel input:focus,
.filter-panel select:focus,
.search-panel input:focus,
.search-panel select:focus {
    border-color: rgba(245, 158, 11, 0.65);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.filter-count,
.search-summary {
    color: var(--color-amber);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.search-summary {
    margin-bottom: 22px;
}

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

.detail-bg,
.detail-bg img,
.detail-overlay {
    position: absolute;
    inset: 0;
}

.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px) saturate(1.08) scale(1.05);
    opacity: 0.36;
}

.detail-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.94));
}

.detail-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0 0 24px;
    color: #fde68a;
    font-weight: 700;
}

.breadcrumb strong {
    color: white;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.player-shell video {
    display: block;
    width: 100%;
    min-height: 420px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 14px;
    color: white;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.66));
    border: 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.play-circle {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    padding-left: 5px;
    color: #92400e;
    background: white;
    border-radius: 999px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
    font-size: 34px;
}

.player-shell.is-playing .play-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.detail-info-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    backdrop-filter: blur(18px);
}

.detail-info-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 22px;
}

.detail-info-card h1 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
}

.detail-info-card p {
    margin: 0;
    color: #fffbeb;
}

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

.info-card,
.side-panel {
    padding: 26px;
    background: white;
    border: 1px solid var(--color-line);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
}

.info-card p {
    color: #4b5563;
    font-size: 17px;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.detail-meta-grid span {
    padding: 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 18px;
    color: #92400e;
    font-weight: 800;
}

.detail-meta-grid b {
    display: block;
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 12px;
}

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

.side-related {
    display: grid;
    gap: 16px;
}

.side-related .movie-card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    border-radius: 18px;
}

.side-related .movie-cover img {
    height: 100%;
    aspect-ratio: auto;
}

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

.side-related .movie-card p,
.side-related .tag-row,
.side-related .year-badge {
    display: none;
}

.article-page {
    display: grid;
    gap: 24px;
}

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

.sitemap-wrap ul {
    margin: 0;
    padding-left: 20px;
}

.sitemap-movie-list {
    columns: 4 220px;
    column-gap: 32px;
}

.sitemap-movie-list li {
    break-inside: avoid;
    margin-bottom: 8px;
}

.site-footer {
    background: linear-gradient(180deg, #fffbeb, #fef3c7);
    border-top: 1px solid #fde68a;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 54px 20px;
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.9fr 1fr;
    gap: 34px;
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.site-footer p,
.site-footer a,
.site-footer li {
    color: #6b7280;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a:hover {
    color: var(--color-amber);
}

.footer-cta {
    display: inline-flex;
    margin-top: 10px;
    color: var(--color-amber) !important;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .featured-grid,
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

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

    .ranking-panel {
        position: static;
    }
}

@media (max-width: 820px) {
    .site-nav {
        min-height: 64px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 64px;
        left: 12px;
        right: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        background: white;
        border: 1px solid var(--color-line);
        border-radius: 18px;
        box-shadow: var(--shadow-soft);
    }

    .main-nav.is-open {
        display: flex;
    }

    .hero,
    .hero-content {
        min-height: 760px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 44px;
        gap: 28px;
    }

    .hero-poster {
        width: min(270px, 78vw);
        margin: 0 auto;
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-heading,
    .filter-panel,
    .search-panel {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .featured-grid,
    .catalog-grid,
    .compact-grid,
    .category-grid,
    .category-grid.wide,
    .footer-grid,
    .sitemap-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 560px) {
    .site-logo,
    .footer-logo {
        font-size: 18px;
    }

    .stats-strip,
    .featured-grid,
    .catalog-grid,
    .compact-grid,
    .category-grid,
    .category-grid.wide,
    .footer-grid,
    .sitemap-columns,
    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .section-wrap {
        padding: 50px 16px;
    }

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

    .hero p {
        font-size: 17px;
    }

    .hero-controls {
        bottom: 16px;
    }

    .player-shell,
    .player-shell video {
        min-height: 240px;
    }

    .side-related .movie-card {
        grid-template-columns: 84px minmax(0, 1fr);
    }
}
