:root {
    --bg: #f8fafc;
    --panel: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --soft: #e2e8f0;
    --blue: #2563eb;
    --blue-soft: #dbeafe;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 48%, #f8fafc 100%);
    line-height: 1.6;
}

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: rgba(248, 250, 252, 0.92);
    border-bottom: 1px solid rgba(203, 213, 225, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

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

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.35);
}

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

.brand-name {
    font-size: 20px;
    background: linear-gradient(90deg, #2563eb, #334155);
    -webkit-background-clip: text;
    color: transparent;
}

.brand-tagline {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

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

.nav-link {
    color: #475569;
    font-size: 14px;
    padding: 9px 12px;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
    background: #eaf2ff;
    transform: translateY(-1px);
}

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

.header-search input,
.mobile-search input,
.intro-search input,
.page-search input,
.toolbar input,
.toolbar select {
    border: 1px solid #dbe3ef;
    outline: none;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-search input {
    width: 210px;
    padding: 10px 42px 10px 16px;
}

.header-search button,
.mobile-search button,
.intro-search button,
.page-search button {
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.header-search button {
    width: 38px;
    height: 38px;
    margin-left: -46px;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #eaf2ff;
    color: var(--blue);
    cursor: pointer;
}

.mobile-panel {
    display: none;
    border-top: 1px solid #e2e8f0;
    padding: 14px 16px 18px;
    background: #ffffff;
}

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

.mobile-search input {
    flex: 1;
    padding: 11px 14px;
}

.mobile-search button {
    padding: 11px 18px;
}

.mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.hero {
    position: relative;
    height: 620px;
    min-height: 560px;
    overflow: hidden;
    background: #0f172a;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease;
}

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

.hero-slide::before {
    content: "";
    position: absolute;
    inset: -24px;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    transform: scale(1.08);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(30, 64, 175, 0.78) 48%, rgba(15, 23, 42, 0.78));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 430px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(147, 197, 253, 0.28);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 18px 0 0;
    color: #ffffff;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero h2 {
    margin: 16px 0 14px;
    color: #e0f2fe;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.15;
}

.hero p {
    max-width: 720px;
    color: #dbeafe;
    font-size: 18px;
    margin: 0 0 22px;
}

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

.hero-tags span,
.detail-tags span {
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
}

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

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

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-poster {
    position: absolute;
    z-index: 3;
    right: max(32px, calc((100vw - 1180px) / 2));
    top: 50%;
    width: 330px;
    aspect-ratio: 3 / 4;
    transform: translateY(-50%);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
}

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

.hero-poster:hover img {
    transform: scale(1.06);
}

.hero-poster span,
.play-icon {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.9);
}

.hero-poster span {
    left: 50%;
    top: 50%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
}

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

.hero-dot {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 32px;
    background: #ffffff;
}

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

.intro-panel {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 26px;
    align-items: center;
    margin-top: -38px;
    padding: 30px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 5;
}

.intro-panel h2,
.section-heading h2,
.page-hero h1,
.detail-card h1 {
    margin: 0;
    letter-spacing: -0.03em;
}

.intro-panel h2,
.section-heading h2 {
    font-size: clamp(28px, 4vw, 38px);
}

.intro-panel p {
    margin: 12px 0 0;
    color: var(--muted);
}

.intro-search input,
.page-search input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
}

.intro-search button,
.page-search button {
    padding: 14px 22px;
}

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

.section-kicker {
    color: var(--blue);
    background: #dbeafe;
    border-color: #bfdbfe;
    margin-bottom: 10px;
}

.section-more {
    color: var(--blue);
    font-weight: 700;
}

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

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

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

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

.movie-card {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16);
}

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

.card-cover {
    position: relative;
    margin: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #f8fafc);
}

.card-cover-video {
    aspect-ratio: 16 / 10;
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.72));
}

.play-icon {
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    opacity: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.movie-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 8px 18px rgba(239, 68, 68, 0.28);
}

.duration {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 12px;
}

.card-body {
    padding: 16px;
}

.card-body h2,
.card-body h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.movie-card:hover .card-body h2,
.movie-card:hover .card-body h3 {
    color: var(--blue);
}

.card-body p {
    min-height: 44px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-row span {
    color: #2563eb;
    background: #eff6ff;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 12px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-top: 12px;
    color: #94a3b8;
    font-size: 12px;
}

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

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    border-radius: 22px;
    box-shadow: 0 15px 34px rgba(15, 23, 42, 0.12);
}

.category-card {
    min-height: 150px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 25px 48px rgba(15, 23, 42, 0.18);
}

.category-card span,
.category-card small {
    opacity: 0.88;
}

.category-card strong {
    font-size: 24px;
    margin: 4px 0;
}

.tone-blue {
    background: linear-gradient(135deg, #2563eb, #0f172a);
}

.tone-orange {
    background: linear-gradient(135deg, #f97316, #7c2d12);
}

.tone-purple {
    background: linear-gradient(135deg, #7c3aed, #312e81);
}

.tone-pink {
    background: linear-gradient(135deg, #ec4899, #881337);
}

.tone-yellow {
    background: linear-gradient(135deg, #f59e0b, #92400e);
}

.tone-slate {
    background: linear-gradient(135deg, #475569, #0f172a);
}

.tone-green {
    background: linear-gradient(135deg, #22c55e, #14532d);
}

.tone-cyan {
    background: linear-gradient(135deg, #06b6d4, #164e63);
}

.tone-emerald {
    background: linear-gradient(135deg, #10b981, #064e3b);
}

.tone-indigo {
    background: linear-gradient(135deg, #6366f1, #312e81);
}

.page-hero {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0f172a);
    padding: 74px 0;
}

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

.page-hero h1 {
    font-size: clamp(36px, 6vw, 60px);
    margin-top: 18px;
}

.page-hero p {
    max-width: 780px;
    color: #dbeafe;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #93c5fd;
    font-size: 14px;
    margin-bottom: 16px;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.toolbar label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.toolbar input,
.toolbar select {
    min-width: 220px;
    padding: 11px 14px;
}

.category-overview-list {
    display: grid;
    gap: 28px;
}

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

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

.category-overview-head h2 {
    margin: 8px 0;
    font-size: 32px;
}

.category-overview-head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.detail-main {
    padding: 34px 0 70px;
}

.detail-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}

.player-card,
.detail-card,
.poster-panel,
.related-panel {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.player-card {
    overflow: hidden;
    background: #020617;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.56));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    font-size: 34px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

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

.detail-card {
    margin-top: 22px;
    padding: 26px;
}

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

.detail-heading h1 {
    font-size: clamp(28px, 4vw, 42px);
}

.detail-heading p {
    color: var(--muted);
    margin: 10px 0 0;
    font-size: 17px;
}

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

.detail-meta span {
    color: #1d4ed8;
    background: #dbeafe;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
}

.detail-tags span {
    color: #475569;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.text-section {
    border-top: 1px solid #e2e8f0;
    margin-top: 24px;
    padding-top: 22px;
}

.text-section h2,
.related-panel h2,
.poster-panel h2 {
    margin: 0 0 12px;
}

.text-section p {
    margin: 0;
    color: #334155;
    font-size: 16px;
}

.detail-sidebar {
    display: grid;
    gap: 22px;
    align-content: start;
    position: sticky;
    top: 92px;
}

.poster-panel {
    overflow: hidden;
}

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

.poster-panel h2,
.poster-panel p {
    padding: 0 18px;
}

.poster-panel h2 {
    margin-top: 18px;
}

.poster-panel p {
    margin: 0 0 18px;
    color: var(--muted);
}

.related-panel {
    padding: 20px;
}

.related-list {
    display: grid;
    gap: 14px;
}

.related-item {
    display: grid;
    grid-template-columns: 126px 1fr;
    gap: 12px;
    align-items: center;
}

.related-item figure {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 14px;
    background: #dbeafe;
}

.related-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover img {
    transform: scale(1.08);
}

.related-item figure span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.25);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.related-item:hover figure span {
    opacity: 1;
}

.related-item h3 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item p {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item small {
    color: #94a3b8;
}

.page-search {
    max-width: 620px;
    margin-top: 24px;
}

.site-footer {
    margin-top: 72px;
    color: #cbd5e1;
    background: linear-gradient(135deg, #020617, #1e3a8a, #020617);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 36px;
}

.footer-logo {
    color: #ffffff;
    font-size: 20px;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 440px;
}

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

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

.footer-column a:hover {
    color: #60a5fa;
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    font-size: 14px;
}

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

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

    .header-search input {
        width: 190px;
    }

    .hero-content {
        padding-right: 360px;
    }

    .hero-poster {
        width: 290px;
    }

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

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

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

    .detail-sidebar {
        position: static;
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 760px) {
    .header-inner {
        width: min(100% - 24px, 1180px);
        gap: 12px;
    }

    .brand-tagline,
    .header-search {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 0;
    }

    .hero-slide {
        position: relative;
        display: none;
        min-height: 720px;
        padding: 92px 0 110px;
    }

    .hero-slide.is-active {
        display: block;
    }

    .hero-content {
        height: auto;
        padding-right: 0;
    }

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

    .hero-poster {
        position: relative;
        right: auto;
        top: auto;
        width: min(82vw, 320px);
        margin: 30px auto 0;
        transform: none;
    }

    .intro-panel,
    .footer-inner,
    .category-overview-head,
    .detail-heading,
    .detail-sidebar {
        grid-template-columns: 1fr;
        display: grid;
    }

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

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

    .section-wrap {
        padding-top: 42px;
    }

    .card-body {
        padding: 13px;
    }

    .toolbar label,
    .toolbar input,
    .toolbar select {
        width: 100%;
    }

    .detail-card {
        padding: 20px;
    }

    .related-item {
        grid-template-columns: 118px 1fr;
    }
}

@media (max-width: 460px) {
    .movie-grid,
    .rank-grid,
    .movie-grid-wide,
    .compact-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

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