:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --teal-500: #14b8a6;
    --cyan-500: #06b6d4;
    --orange-500: #f97316;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 22px;
    --max: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--slate-800);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.96);
    color: #fff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(14px);
}

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

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

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--emerald-500), var(--cyan-500));
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 1.25rem;
    letter-spacing: 0.04em;
}

.brand-text small {
    color: var(--slate-300);
    font-size: 0.75rem;
    margin-top: 4px;
}

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

.desktop-nav a,
.mobile-panel a {
    color: var(--slate-300);
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
    color: var(--emerald-500);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-search-line input {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--slate-800);
    outline: none;
    padding: 10px 16px;
    min-width: 240px;
}

.header-search button,
.mobile-search button,
.search-page-form button,
.filter-search-line button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: var(--emerald-600);
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.search-page-form button:hover,
.filter-search-line button:hover {
    transform: translateY(-1px);
    background: var(--emerald-700);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    background: transparent;
    color: white;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
}

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

.mobile-panel nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.26), transparent 28%), linear-gradient(135deg, #0f172a, #1e293b 48%, #064e3b);
    color: white;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.68));
    pointer-events: none;
}

.hero-slider {
    position: relative;
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    min-height: 640px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
    align-items: center;
    gap: 54px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

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

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--emerald-500);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 14px 0 0;
    font-size: clamp(2.25rem, 5vw, 4.7rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero-copy h2 {
    margin: 18px 0 0;
    font-size: clamp(1.35rem, 3vw, 2.2rem);
    color: #d1fae5;
}

.hero-copy p {
    margin: 18px 0 0;
    max-width: 760px;
    color: #e2e8f0;
    font-size: 1.08rem;
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald-700);
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.12);
    color: #d1fae5;
}

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

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--emerald-500), var(--teal-500));
    color: white;
    box-shadow: 0 16px 34px rgba(16, 185, 129, 0.28);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
    position: relative;
    min-height: 460px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(6, 182, 212, 0.18)), #0f172a;
}

.hero-visual img,
.poster-frame img,
.detail-poster img,
.rank-poster img,
.mini-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual img.is-hidden,
.poster-frame img.is-hidden,
.detail-poster img.is-hidden,
.rank-poster img.is-hidden,
.mini-cover img.is-hidden {
    display: none;
}

.hero-poster-title {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    font-size: 1.6rem;
    font-weight: 900;
    text-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.85));
}

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

.hero-controls > button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
}

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

.hero-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
}

.hero-dots button.active {
    width: 28px;
    background: var(--emerald-500);
}

.quick-search-panel,
.section-wrap,
.filter-panel,
.detail-layout {
    width: min(var(--max), calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.quick-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
    gap: 28px;
    align-items: center;
    margin-top: -52px;
    position: relative;
    z-index: 8;
    padding: 26px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.quick-search-panel h2,
.section-head h2,
.compact-head h2 {
    margin: 0;
    color: var(--slate-800);
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.quick-search-panel p,
.section-head p {
    margin: 6px 0 0;
    color: var(--slate-600);
}

.quick-search-panel form,
.search-page-form {
    display: flex;
    gap: 10px;
}

.quick-search-panel input,
.search-page-form input {
    flex: 1;
    min-width: 0;
}

.section-wrap {
    margin-top: 76px;
}

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

.section-head > a {
    color: var(--emerald-700);
    font-weight: 800;
}

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

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

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

.movie-card {
    min-width: 0;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.poster-link {
    display: block;
}

.poster-frame {
    position: relative;
    aspect-ratio: 3 / 4.1;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #115e59);
}

.poster-backdrop {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px;
    text-align: center;
    color: white;
    background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.18), transparent 35%), linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(6, 78, 59, 0.78));
}

.poster-frame img + .poster-backdrop,
.detail-poster img + .poster-backdrop {
    opacity: 0;
}

.poster-frame img.is-hidden + .poster-backdrop,
.detail-poster img.is-hidden + .poster-backdrop {
    opacity: 1;
}

.poster-backdrop strong {
    font-size: 1.1rem;
    line-height: 1.35;
}

.poster-backdrop small {
    color: #d1fae5;
}

.poster-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(16, 185, 129, 0.92);
    color: white;
    font-weight: 800;
    font-size: 0.75rem;
}

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

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

.movie-card-body h3 a:hover,
.ranking-card h2 a:hover {
    color: var(--emerald-700);
}

.movie-card-body p {
    margin: 0;
    color: var(--slate-600);
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--slate-500);
    font-size: 0.82rem;
}

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

.category-tile,
.category-card-large {
    border-radius: 22px;
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    padding: 22px;
    min-height: 160px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease;
}

.category-tile:hover,
.category-card-large:hover {
    transform: translateY(-4px);
}

.category-tile strong,
.category-card-large span {
    display: block;
    color: var(--slate-900);
    font-size: 1.18rem;
    font-weight: 900;
}

.category-tile span,
.category-card-large strong {
    display: block;
    margin-top: 10px;
    color: var(--slate-600);
    font-size: 0.94rem;
    font-weight: 500;
}

.category-tile small {
    display: block;
    margin-top: 16px;
    color: var(--emerald-700);
    font-weight: 800;
}

.category-card-large {
    grid-column: span 2;
    background: #fff;
}

.category-card-large > a {
    display: block;
    margin-bottom: 18px;
}

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

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 24px;
}

.ranking-panel,
.new-panel {
    border-radius: var(--radius);
    background: white;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.compact-head {
    margin-bottom: 18px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: var(--surface-soft);
}

.rank-num {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--slate-900);
    color: white;
    font-weight: 900;
}

.rank-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 800;
}

.rank-item small {
    color: var(--slate-500);
}

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

.mini-card {
    display: block;
    min-width: 0;
}

.mini-cover {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a, #115e59);
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: 800;
}

.mini-cover img {
    position: absolute;
    inset: 0;
}

.mini-cover img:not(.is-hidden) + span {
    opacity: 0;
}

.mini-card strong {
    display: block;
    margin-top: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mini-card small {
    color: var(--slate-500);
}

.page-hero {
    background: linear-gradient(135deg, #0f172a, #064e3b);
    color: white;
    padding: 78px 0;
}

.page-hero > div {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.page-hero h1 {
    margin: 12px 0 8px;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.1;
}

.page-hero p {
    max-width: 820px;
    color: #e2e8f0;
    font-size: 1.08rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    color: #d1fae5;
}

.breadcrumb a:hover {
    color: white;
}

.filter-panel {
    margin-top: 34px;
    padding: 22px;
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.filter-search-line {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.filter-search-line input {
    flex: 1;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.filter-group strong {
    color: var(--slate-700);
}

.filter-group button {
    border: 1px solid #d1fae5;
    border-radius: 999px;
    padding: 7px 12px;
    background: #ecfdf5;
    color: var(--emerald-700);
    cursor: pointer;
}

.filter-group button.active {
    background: var(--emerald-600);
    color: white;
}

.empty-state {
    padding: 42px;
    border-radius: var(--radius);
    background: white;
    color: var(--slate-600);
    text-align: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.detail-layout {
    margin-top: 32px;
}

.detail-breadcrumb {
    color: var(--slate-600);
    margin-bottom: 20px;
}

.detail-breadcrumb a:hover {
    color: var(--emerald-700);
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
    padding: 28px;
    border-radius: 30px;
    background: white;
    box-shadow: var(--shadow);
}

.detail-poster {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f172a, #047857);
}

.detail-info h1 {
    margin: 12px 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
}

.one-line {
    color: var(--slate-600);
    font-size: 1.08rem;
}

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

.detail-meta-grid div {
    border-radius: 16px;
    background: var(--surface-soft);
    padding: 14px;
}

.detail-meta-grid dt {
    color: var(--slate-500);
    font-size: 0.78rem;
}

.detail-meta-grid dd {
    margin: 4px 0 0;
    font-weight: 900;
}

.detail-tags {
    margin-bottom: 26px;
}

.player-section {
    margin-top: 34px;
}

.player-card {
    overflow: hidden;
    border-radius: 30px;
    background: var(--slate-950);
    box-shadow: var(--shadow);
}

.video-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
}

.video-shell video {
    width: 100%;
    height: 100%;
    background: #000;
}

.play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86px;
    height: 86px;
    border: 0;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.92);
    color: white;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 20px 45px rgba(16, 185, 129, 0.35);
}

.play-button span {
    display: inline-block;
    margin-left: 5px;
    font-size: 2.3rem;
}

.player-card.is-playing .play-button {
    opacity: 0;
    pointer-events: none;
}

.player-info-bar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 22px;
    color: white;
    background: var(--slate-900);
}

.player-info-bar span {
    color: var(--slate-300);
}

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

.content-columns article,
.content-page {
    border-radius: var(--radius);
    background: white;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.content-columns h2 {
    margin: 10px 0;
}

.content-columns p,
.content-page p {
    color: var(--slate-600);
}

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

.ranking-list-page {
    display: grid;
    gap: 16px;
}

.ranking-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
}

.rank-poster {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 166px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f172a, #115e59);
}

.rank-poster span {
    position: absolute;
    z-index: 2;
    left: 10px;
    top: 10px;
    border-radius: 999px;
    background: var(--emerald-600);
    color: white;
    padding: 5px 9px;
    font-weight: 900;
}

.ranking-card h2 {
    margin: 4px 0 10px;
    font-size: 1.35rem;
}

.ranking-card p {
    margin: 0 0 12px;
    color: var(--slate-600);
}

.search-page-form {
    max-width: 780px;
    margin-top: 22px;
}

.site-footer {
    margin-top: 88px;
    background: var(--slate-900);
    color: var(--slate-300);
}

.footer-grid {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 34px;
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 28px;
}

.site-footer h2,
.site-footer h3 {
    color: white;
    margin: 0 0 14px;
}

.site-footer p {
    margin: 0;
    color: var(--slate-300);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

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

.footer-bottom {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    color: var(--slate-500);
}

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

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

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

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

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

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

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

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

    .mobile-search {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .mobile-search input {
        min-width: 0;
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 24px;
        padding: 54px 0 88px;
    }

    .hero-visual {
        min-height: 300px;
    }

    .quick-search-panel,
    .detail-hero,
    .ranking-card {
        grid-template-columns: 1fr;
    }

    .quick-search-panel form,
    .search-page-form,
    .filter-search-line {
        flex-direction: column;
    }

    .movie-grid,
    .featured-grid,
    .catalog-grid,
    .related-grid,
    .mini-grid,
    .category-sample-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-grid,
    .category-list-grid,
    .footer-grid,
    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .category-card-large {
        grid-column: span 1;
    }

    .section-head,
    .player-info-bar,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .brand-text small {
        display: none;
    }

    .movie-grid,
    .featured-grid,
    .catalog-grid,
    .related-grid,
    .mini-grid,
    .category-sample-row {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 2.2rem;
    }

    .play-button {
        width: 68px;
        height: 68px;
    }
}
