
:root {
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: #111827;
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --blue: #2563eb;
    --blue-light: #38bdf8;
    --cyan: #22d3ee;
    --card: rgba(15, 23, 42, 0.86);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 36rem), var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::selection {
    background: rgba(56, 189, 248, 0.36);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.header-inner {
    width: min(1280px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.brand-mark span {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid #fff;
}

.brand-text strong {
    display: block;
    font-size: 20px;
    line-height: 1;
    background: linear-gradient(90deg, #60a5fa, #67e8f9);
    -webkit-background-clip: text;
    color: transparent;
}

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

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
}

.desktop-nav a {
    color: #dbeafe;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--blue-light);
    transform: translateY(-1px);
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.46);
}

.header-search input,
.mobile-search input {
    width: 210px;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    padding: 9px 8px 9px 14px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
    color: #64748b;
}

.header-search button,
.mobile-search button,
.filters button {
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), #0891b2);
    padding: 9px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.filters button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.72);
    cursor: pointer;
}

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

.mobile-panel {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

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

.mobile-search {
    display: flex;
    gap: 8px;
    padding: 6px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.54);
}

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

.mobile-panel nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mobile-panel nav a {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
    color: #e2e8f0;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.75s 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;
    transform: scale(1.04);
    transition: transform 6s linear;
}

.hero-slide.is-active .hero-bg img {
    transform: scale(1.11);
}

.hero-shade-bottom {
    background: linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.78) 36%, transparent 100%);
}

.hero-shade-side {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.52), transparent 78%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1280px;
}

.hero-content > * {
    max-width: 740px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    width: auto;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.92);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
}

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

.hero-content p {
    margin: 0;
    color: #d1d5db;
    font-size: 20px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0;
}

.hero-meta span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    color: #e0f2fe;
    font-size: 14px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    min-width: 142px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #0891b2);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.34);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-button:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.48);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

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

.hero-dots button.is-active {
    width: 34px;
    background: #3b82f6;
}

.stats-strip {
    width: min(1180px, calc(100% - 32px));
    margin: -48px auto 54px;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.stats-strip div {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: var(--shadow);
}

.stats-strip strong {
    display: block;
    font-size: 28px;
    color: #67e8f9;
}

.stats-strip span {
    color: var(--muted);
    font-size: 14px;
}

.page-main,
.section-block {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.page-main {
    padding: 30px 0 64px;
}

.section-block {
    padding: 34px 0;
}

.section-highlight {
    position: relative;
}

.section-highlight::before {
    content: "";
    position: absolute;
    inset: 0 -24px;
    z-index: -1;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(8, 145, 178, 0.08));
}

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

.section-head span,
.page-hero span {
    display: inline-block;
    margin-bottom: 8px;
    color: #38bdf8;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-head h2,
.page-hero h1,
.filter-title h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.04em;
}

.section-head a {
    color: #93c5fd;
    font-weight: 800;
}

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

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

.category-tile {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.7));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.45);
}

.category-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 122px;
    background: #0f172a;
}

.category-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tile div:last-child {
    padding: 18px;
}

.category-tile span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #38bdf8;
    font-size: 13px;
    font-weight: 800;
}

.category-tile h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.category-tile p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--card);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.movie-card.is-hidden {
    display: none;
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #0f172a;
}

.poster-link::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), transparent);
}

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.score-pill,
.play-pill,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.score-pill {
    right: 10px;
    top: 10px;
    min-width: 42px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    color: #fff;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
}

.play-pill {
    right: 10px;
    bottom: 10px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #0891b2);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.3);
}

.rank-badge {
    left: 10px;
    top: 10px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 12px 26px rgba(249, 115, 22, 0.28);
}

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

.movie-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 24px;
    margin-bottom: 9px;
}

.movie-tags span,
.tag-cloud a {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.16);
    font-size: 12px;
    font-weight: 700;
}

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

.movie-card h3 a:hover {
    color: #60a5fa;
}

.movie-card p {
    min-height: 44px;
    margin: 0 0 12px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: #cbd5e1;
    font-size: 12px;
}

.movie-meta span {
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
}

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

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 58px;
    margin-bottom: 30px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.2), transparent 28rem), linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.68));
    box-shadow: var(--shadow);
}

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

.small-hero {
    min-height: 230px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: #94a3b8;
    font-size: 14px;
}

.breadcrumb a {
    color: #93c5fd;
}

.filter-panel {
    margin: 0 0 28px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.filter-title {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
}

.filter-title p {
    margin: 0;
    color: #93c5fd;
    font-weight: 800;
}

.filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 12px;
}

.filters label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
}

.filters input,
.filters select {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: 0;
    color: #e2e8f0;
    background: rgba(2, 6, 23, 0.54);
    padding: 0 14px;
}

.filters button {
    align-self: end;
    min-height: 46px;
    border-radius: 14px;
}

.watch-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 34px;
}

.player-box {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 30px;
    background: #000;
    box-shadow: var(--shadow);
}

.player-box video {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    background: rgba(2, 6, 23, 0.55);
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.24));
}

.player-cover img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.72);
}

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

.big-play {
    width: 92px;
    height: 92px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #0891b2);
    font-size: 34px;
    cursor: pointer;
    box-shadow: 0 22px 58px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.big-play:hover {
    filter: brightness(1.08);
    transform: scale(1.07);
}

.player-cover strong {
    font-size: 20px;
}

.watch-copy {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.66));
    box-shadow: var(--shadow);
}

.watch-copy h1 {
    margin: 16px 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.watch-copy p {
    margin: 0 0 20px;
    color: #cbd5e1;
    line-height: 1.8;
}

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

.detail-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: var(--shadow);
}

.detail-info-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

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

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

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.82);
}

.footer-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: #cbd5e1;
}

.footer-inner strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 20px;
}

.footer-inner p {
    max-width: 700px;
    margin: 0;
    line-height: 1.75;
    color: #94a3b8;
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-content: flex-start;
}

.footer-inner nav a {
    color: #93c5fd;
    font-weight: 800;
}

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

.sitemap-list a {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.72);
    color: #bfdbfe;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

    .header-search {
        margin-left: auto;
    }

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

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

    .watch-panel {
        grid-template-columns: 1fr;
    }

    .player-box {
        min-height: 430px;
    }
}

@media (max-width: 820px) {
    .header-inner {
        height: auto;
        min-height: 68px;
        gap: 12px;
    }

    .header-search {
        display: none;
    }

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

    .hero {
        min-height: 620px;
        height: 78vh;
    }

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

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

    .hero-arrow {
        top: auto;
        bottom: 70px;
        transform: none;
    }

    .hero-arrow:hover {
        transform: scale(1.05);
    }

    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 18px;
    }

    .section-head,
    .filter-title,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

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

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

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

    .page-hero {
        padding: 34px 24px;
    }

    .watch-copy {
        padding: 22px;
    }

    .player-box {
        min-height: 310px;
        border-radius: 22px;
    }

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

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

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

@media (max-width: 520px) {
    .brand-text strong {
        font-size: 17px;
    }

    .brand-text small {
        display: none;
    }

    .mobile-panel nav {
        grid-template-columns: 1fr;
    }

    .hero-content,
    .page-main,
    .section-block,
    .footer-inner,
    .header-inner,
    .mobile-panel {
        width: min(100% - 24px, 1280px);
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-meta span,
    .detail-meta span {
        font-size: 12px;
    }

    .stats-strip {
        width: min(100% - 24px, 1180px);
        grid-template-columns: 1fr;
    }

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

    .movie-card {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .poster-link {
        aspect-ratio: 2 / 3;
    }

    .movie-card p {
        min-height: 0;
    }

    .player-box {
        min-height: 240px;
    }

    .big-play {
        width: 72px;
        height: 72px;
        font-size: 26px;
    }
}
