:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --text-main: #111827;
    --text-soft: #64748b;
    --white: #ffffff;
    --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.14);
    --shadow-card: 0 12px 30px rgba(120, 53, 15, 0.13);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-main);
    background: linear-gradient(135deg, var(--slate-50), var(--amber-50) 45%, var(--slate-100));
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(120, 53, 15, 0.96), rgba(146, 64, 14, 0.96), rgba(120, 53, 15, 0.96));
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(16px);
}

.site-nav {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: var(--amber-900);
    background: radial-gradient(circle at 30% 25%, #fff7c2, var(--amber-300));
    box-shadow: 0 0 22px rgba(252, 211, 77, 0.7);
}

.brand-name {
    color: transparent;
    background: linear-gradient(90deg, #fef9c3, #fcd34d, #fff7ed);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: clamp(18px, 2vw, 26px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    color: #fffbeb;
    font-weight: 700;
    opacity: 0.88;
    transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-current {
    color: var(--amber-300);
    opacity: 1;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(253, 230, 138, 0.4);
    border-radius: 999px;
    color: var(--amber-100);
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
}

main {
    min-height: 60vh;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: radial-gradient(circle at 15% 20%, rgba(252, 211, 77, 0.28), transparent 28%), linear-gradient(135deg, var(--amber-900), var(--amber-800) 48%, var(--slate-900));
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient(0deg, var(--slate-50), transparent);
}

.hero-inner {
    width: min(1200px, calc(100% - 32px));
    min-height: 620px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
    align-items: center;
    gap: 42px;
    padding: 76px 0 110px;
}

.hero-slide {
    display: none;
    animation: fadeIn 0.45s ease both;
}

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

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--amber-100);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(253, 230, 138, 0.22);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.07em;
    color: transparent;
    background: linear-gradient(90deg, #fff7ad, #fef3c7 35%, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero h2 {
    margin: 20px 0 12px;
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1.1;
}

.hero p {
    margin: 0;
    color: #ffedd5;
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.8;
}

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

.button-primary,
.button-ghost,
.button-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button-primary {
    color: var(--amber-900);
    background: linear-gradient(90deg, #fde68a, #f59e0b);
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.35);
}

.button-ghost {
    color: var(--amber-100);
    border: 1px solid rgba(253, 230, 138, 0.42);
    background: rgba(255, 255, 255, 0.08);
}

.button-light {
    color: var(--amber-900);
    background: var(--white);
}

.button-primary:hover,
.button-ghost:hover,
.button-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.hero-poster {
    position: relative;
    min-height: 520px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.38);
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.22), rgba(120, 53, 15, 0.78));
}

.hero-poster img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    opacity: 0.92;
}

.hero-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 10%, rgba(15, 23, 42, 0.75));
}

.hero-poster-info {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.44);
    backdrop-filter: blur(18px);
}

.hero-poster-info strong {
    display: block;
    font-size: 22px;
    margin-bottom: 8px;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.44);
    padding: 0;
}

.hero-dot.is-active {
    width: 34px;
    background: var(--amber-300);
}

.panel-up {
    margin-top: -58px;
    position: relative;
    z-index: 5;
}

.glass-panel,
.content-panel,
.detail-panel,
.category-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.glass-panel {
    padding: clamp(20px, 4vw, 34px);
}

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

.section-block.alt {
    background: linear-gradient(90deg, rgba(254, 243, 199, 0.72), rgba(255, 251, 235, 0.6));
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--slate-900);
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--text-soft);
    line-height: 1.7;
}

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

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

.movie-card {
    min-width: 0;
}

.poster-link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poster-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 46px rgba(120, 53, 15, 0.22);
}

.poster-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: radial-gradient(circle at 30% 20%, var(--amber-200), var(--amber-900));
}

.movie-card-compact .poster-frame {
    aspect-ratio: 4 / 5;
}

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

.poster-link:hover img {
    transform: scale(1.07);
}

.poster-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.54));
    pointer-events: none;
}

.poster-type,
.poster-year {
    position: absolute;
    z-index: 2;
    top: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
}

.poster-type {
    left: 12px;
    background: rgba(15, 23, 42, 0.72);
}

.poster-year {
    right: 12px;
    background: rgba(217, 119, 6, 0.92);
}

.movie-info {
    padding: 16px;
}

.movie-info h3 {
    min-height: 48px;
    margin: 6px 0 8px;
    font-size: 18px;
    line-height: 1.35;
    color: var(--slate-900);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.movie-card-compact .movie-info h3 {
    min-height: 42px;
    font-size: 15px;
}

.movie-meta {
    color: var(--amber-700);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-line {
    min-height: 44px;
    margin: 0 0 12px;
    color: var(--text-soft);
    line-height: 1.55;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.tag-row span,
.detail-tags span {
    display: inline-flex;
    border-radius: 999px;
    background: var(--amber-100);
    color: var(--amber-800);
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 800;
}

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

.category-card {
    padding: 26px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px rgba(120, 53, 15, 0.18);
}

.category-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: var(--slate-900);
}

.category-card p {
    margin: 0 0 18px;
    color: var(--text-soft);
    line-height: 1.75;
}

.category-card span {
    color: var(--amber-700);
    font-weight: 900;
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
}

.search-label {
    display: grid;
    gap: 8px;
    font-weight: 900;
    color: var(--slate-800);
}

.search-label input {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 2px solid rgba(217, 119, 6, 0.2);
    border-radius: 999px;
    outline: 0;
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-label input:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-button {
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 0 16px;
    background: var(--white);
    color: var(--slate-700);
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.filter-button.is-active,
.filter-button:hover {
    color: var(--white);
    background: var(--amber-600);
}

.ranking-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.ranking-row a {
    display: grid;
    grid-template-columns: 52px 86px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-row a:hover {
    transform: translateX(4px);
    box-shadow: 0 16px 34px rgba(120, 53, 15, 0.16);
}

.rank-number {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    color: var(--amber-900);
    background: linear-gradient(135deg, var(--amber-200), var(--amber-500));
    border-radius: 999px;
    font-weight: 1000;
}

.ranking-row img {
    width: 86px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
    background: radial-gradient(circle, var(--amber-200), var(--amber-800));
}

.rank-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.rank-copy strong,
.rank-copy em,
.rank-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy strong {
    color: var(--slate-900);
    font-size: 17px;
}

.rank-copy em {
    color: var(--amber-700);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.rank-copy small {
    color: var(--text-soft);
}

.page-hero {
    padding: 72px 0 54px;
    color: var(--white);
    background: radial-gradient(circle at 18% 12%, rgba(252, 211, 77, 0.28), transparent 30%), linear-gradient(135deg, var(--amber-900), var(--slate-900));
}

.page-hero h1 {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto 12px;
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -0.06em;
}

.page-hero p {
    width: min(850px, calc(100% - 32px));
    margin: 0 auto;
    color: var(--amber-100);
    line-height: 1.8;
    font-size: 18px;
}

.breadcrumbs {
    width: min(1200px, calc(100% - 32px));
    margin: 26px auto 0;
    color: var(--text-soft);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--amber-700);
    font-weight: 800;
}

.detail-layout {
    width: min(1200px, calc(100% - 32px));
    margin: 30px auto 70px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.player-card,
.detail-panel,
.side-card {
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.player-card {
    background: var(--slate-900);
}

.video-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.3), rgba(15, 23, 42, 0.98));
}

.movie-video {
    width: 100%;
    height: 100%;
    background: var(--slate-900);
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.72));
    cursor: pointer;
}

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

.play-stack {
    display: grid;
    justify-items: center;
    gap: 14px;
}

.play-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--amber-900);
    background: linear-gradient(135deg, #fff7ad, var(--amber-500));
    box-shadow: 0 18px 38px rgba(245, 158, 11, 0.35);
    font-size: 30px;
    padding-left: 5px;
}

.play-title {
    font-size: 20px;
    font-weight: 900;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.detail-panel {
    padding: clamp(22px, 4vw, 34px);
    margin-top: 22px;
}

.detail-panel h1 {
    margin: 12px 0 16px;
    color: var(--slate-900);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

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

.detail-meta span {
    display: inline-flex;
    border-radius: 999px;
    padding: 7px 12px;
    background: var(--amber-100);
    color: var(--amber-800);
    font-weight: 900;
}

.detail-lead {
    margin: 0 0 20px;
    color: var(--slate-700);
    font-size: 19px;
    line-height: 1.8;
    font-weight: 700;
}

.detail-section {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.detail-section h2 {
    margin: 0 0 12px;
    color: var(--slate-900);
    font-size: 24px;
}

.detail-section p {
    margin: 0;
    color: var(--slate-700);
    line-height: 1.9;
    font-size: 16px;
}

.review-box {
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--amber-50), #fff7ed);
    padding: 22px;
}

.side-card {
    padding: 20px;
    position: sticky;
    top: 98px;
}

.side-poster {
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: radial-gradient(circle, var(--amber-200), var(--amber-900));
    margin-bottom: 18px;
}

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

.side-card h2,
.side-card h3 {
    margin: 0 0 16px;
    font-size: 22px;
    color: var(--slate-900);
}

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

.related-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.related-item img {
    width: 86px;
    height: 62px;
    object-fit: cover;
    border-radius: 12px;
    background: radial-gradient(circle, var(--amber-200), var(--amber-900));
}

.related-item strong,
.related-item span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.related-item strong {
    color: var(--slate-900);
}

.related-item span {
    color: var(--amber-700);
    font-size: 13px;
    font-weight: 800;
    margin-top: 4px;
}

.pagination-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.pagination-links a {
    display: block;
    border-radius: var(--radius-md);
    padding: 16px;
    background: var(--amber-50);
    color: var(--amber-900);
    font-weight: 900;
}

.no-results {
    display: none;
    padding: 26px;
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--text-soft);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.site-footer {
    color: var(--amber-100);
    background: linear-gradient(180deg, var(--slate-900), #2d1607, var(--slate-900));
    padding-top: 46px;
}

.footer-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 36px;
}

.footer-brand {
    color: var(--amber-300);
    font-size: 24px;
}

.footer-inner p {
    color: var(--amber-100);
    line-height: 1.8;
    margin: 12px 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.footer-links a {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 13px;
    color: var(--amber-100);
}

.footer-links a:hover {
    background: rgba(252, 211, 77, 0.16);
    color: var(--amber-300);
}

.footer-bottom {
    width: min(1200px, calc(100% - 32px));
    margin: 36px auto 0;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(253, 230, 138, 0.16);
    color: rgba(254, 243, 199, 0.7);
    font-size: 14px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .movie-grid,
    .movie-grid.compact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .side-card {
        position: static;
    }
}

@media (max-width: 820px) {
    .site-nav {
        min-height: 68px;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-top: 12px;
        border-top: 1px solid rgba(253, 230, 138, 0.18);
    }

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

    .nav-link {
        display: block;
        padding: 10px 0;
    }

    .hero-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 52px 0 98px;
    }

    .hero-poster,
    .hero-poster img {
        min-height: 380px;
    }

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

    .section-heading {
        display: grid;
    }

    .ranking-list.two-column {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .movie-grid,
    .movie-grid.compact-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .glass-panel {
        border-radius: 22px;
    }

    .ranking-row a {
        grid-template-columns: 42px 68px minmax(0, 1fr);
        gap: 10px;
    }

    .ranking-row img {
        width: 68px;
        height: 52px;
    }

    .rank-copy small {
        display: none;
    }

    .detail-layout {
        width: min(100% - 22px, 1200px);
    }

    .detail-panel,
    .side-card {
        border-radius: 22px;
    }

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

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