:root {
    --bg: #0f172a;
    --bg-2: #111827;
    --panel: #1e293b;
    --panel-2: #263244;
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-2: #cbd5e1;
    --cyan: #06b6d4;
    --blue: #2563eb;
    --orange: #f97316;
    --red: #ef4444;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(180deg, #0f172a 0%, #172033 42%, #0f172a 100%);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #ffffff;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.96), rgba(51, 65, 85, 0.96), rgba(30, 41, 59, 0.96));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 12px 28px rgba(6, 182, 212, 0.28);
}

.brand-text,
.footer-brand div {
    display: grid;
    gap: 2px;
}

.brand strong,
.footer-brand strong {
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.02em;
}

.brand small,
.footer-brand small {
    color: #67e8f9;
    font-size: 12px;
}

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

.desktop-nav a,
.mobile-links a {
    color: #e2e8f0;
    font-weight: 600;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-links a:hover {
    color: #22d3ee;
}

.header-search {
    position: relative;
    width: 260px;
    min-width: 220px;
}

.header-search input,
.mobile-search input,
.filter-input input,
.filter-panel select {
    width: 100%;
    color: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.24);
    outline: none;
    background: rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    padding: 12px 44px 12px 18px;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.filter-input input::placeholder {
    color: #94a3b8;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-input input:focus,
.filter-panel select:focus {
    border-color: rgba(34, 211, 238, 0.72);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16);
    background: rgba(15, 23, 42, 0.94);
}

.header-search button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    color: #94a3b8;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.48);
    cursor: pointer;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.98);
}

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

.mobile-panel-inner {
    padding: 16px 0 20px;
}

.mobile-search {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.mobile-search input {
    padding-right: 18px;
}

.mobile-search button {
    color: white;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

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

.hero {
    position: relative;
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 32%), #020617;
}

.hero-stage {
    position: relative;
    min-height: 680px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.22)), var(--hero-image), linear-gradient(135deg, #1e293b, #020617);
    background-size: cover;
    background-position: center;
    transition: opacity 0.72s ease;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.96));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 40px));
    margin-left: max(32px, calc((100vw - 1180px) / 2));
    padding: 92px 0;
}

.hero-pill,
.detail-pill,
.section-heading span,
.page-hero span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.2);
}

.hero h1,
.hero h2 {
    margin: 18px 0 18px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero p {
    width: min(650px, 100%);
    margin: 0 0 24px;
    color: #dbeafe;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

.hero-meta,
.detail-meta,
.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #cbd5e1;
}

.hero-meta span,
.detail-meta span,
.movie-meta span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(15, 23, 42, 0.42);
}

.hero-actions,
.center-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    padding: 0 24px;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.primary-btn {
    color: #ffffff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 18px 38px rgba(6, 182, 212, 0.28);
}

.primary-btn.warm {
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.24);
}

.ghost-btn {
    color: #e0f2fe;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
}

.primary-btn:hover,
.ghost-btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.hero-dots {
    position: absolute;
    left: max(32px, calc((100vw - 1180px) / 2));
    bottom: 54px;
    z-index: 5;
    display: flex;
    gap: 10px;
}

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

.hero-dots button.is-active {
    width: 58px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.hero-side {
    position: relative;
    z-index: 4;
    align-self: center;
    margin-right: max(20px, calc((100vw - 1180px) / 2));
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.hero-side-title {
    color: #67e8f9;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-side-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 4px 10px;
    align-items: center;
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-side-item span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    font-weight: 900;
}

.hero-side-item strong {
    color: #ffffff;
    font-size: 15px;
}

.hero-side-item small {
    color: var(--muted);
}

.section {
    padding: 72px 0;
}

.slate-900 {
    background: #0f172a;
}

.slate-800 {
    background: #1e293b;
}

.slate-700 {
    background: #334155;
}

.popular-section {
    background: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.15), transparent 34%), linear-gradient(135deg, #1e293b, #0f172a);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-heading span,
.page-hero span {
    margin-bottom: 14px;
    background: rgba(8, 145, 178, 0.16);
    color: #67e8f9;
    box-shadow: none;
}

.section-heading h2,
.page-hero h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.03em;
}

.section-heading p,
.page-hero p {
    margin: 16px auto 0;
    max-width: 720px;
    color: var(--muted-2);
    line-height: 1.7;
}

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

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

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

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

.movie-card-link,
.wide-card a,
.rank-row a {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(30, 41, 59, 0.88);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover,
.wide-card a:hover,
.rank-row a:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.36);
}

.poster-shell,
.wide-cover,
.rank-cover {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1f2937, #0f172a 58%, #164e63);
}

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

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.2s ease;
}

.cover-image.is-hidden {
    display: none;
}

.movie-card-link:hover .cover-image,
.wide-card a:hover .cover-image,
.category-card:hover::before {
    transform: scale(1.08);
}

.year-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    color: white;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(6, 182, 212, 0.92);
    font-size: 12px;
    font-weight: 800;
}

.play-mark {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: white;
    font-size: 42px;
    opacity: 0;
    background: rgba(0, 0, 0, 0.42);
    transition: opacity 0.2s ease;
}

.movie-card-link:hover .play-mark {
    opacity: 1;
}

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

.movie-card h2,
.wide-card h2,
.rank-row h2 {
    margin: 0 0 9px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card p,
.wide-card p,
.rank-row p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.62;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    gap: 8px;
    font-size: 12px;
}

.movie-meta span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #cbd5e1;
}

.wide-list {
    display: grid;
    gap: 18px;
}

.wide-card a {
    display: grid;
    grid-template-columns: 320px 1fr;
}

.wide-cover {
    min-height: 210px;
}

.wide-cover span {
    position: absolute;
    left: 14px;
    bottom: 14px;
    border-radius: 999px;
    color: white;
    padding: 6px 12px;
    background: rgba(6, 182, 212, 0.9);
    font-weight: 800;
}

.wide-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wide-card h2 {
    font-size: 25px;
}

.wide-card p {
    font-size: 15px;
    -webkit-line-clamp: 3;
}

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

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

.category-card {
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 24px;
    padding: 24px;
    background: #1e293b;
    box-shadow: var(--shadow);
    isolation: isolate;
}

.category-card.large {
    min-height: 320px;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--category-image), linear-gradient(135deg, #1e293b, #020617);
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    transition: transform 0.6s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.35));
}

.category-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.category-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.category-card p {
    margin: 0 0 18px;
    color: #dbeafe;
    line-height: 1.6;
}

.category-card strong {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    color: #0f172a;
    padding: 9px 16px;
    background: #ffffff;
}

.page-hero {
    padding: 86px 0;
    text-align: center;
    background: radial-gradient(circle at top, rgba(6, 182, 212, 0.18), transparent 38%), linear-gradient(180deg, #111827, #0f172a);
}

.page-hero.compact {
    padding: 72px 0 58px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 190px 220px;
    gap: 14px;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(30, 41, 59, 0.78);
}

.filter-panel select {
    color: #e2e8f0;
    padding-right: 16px;
}

.empty-state {
    display: none;
    padding: 44px 20px;
    color: var(--muted-2);
    text-align: center;
    border: 1px dashed rgba(148, 163, 184, 0.35);
    border-radius: 20px;
    background: rgba(30, 41, 59, 0.46);
}

.empty-state.is-visible {
    display: block;
}

.rank-container {
    max-width: 1040px;
}

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

.rank-row a {
    display: grid;
    grid-template-columns: 70px 92px minmax(0, 1fr) 110px;
    align-items: center;
    gap: 18px;
    padding: 12px 18px;
}

.rank-row.top a {
    border-color: rgba(249, 115, 22, 0.44);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(30, 41, 59, 0.95));
}

.rank-number {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: white;
    background: linear-gradient(135deg, var(--orange), var(--red));
    font-size: 20px;
    font-weight: 900;
}

.rank-cover {
    width: 92px;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
}

.rank-main h2 {
    font-size: 20px;
}

.rank-score {
    justify-self: end;
    color: #67e8f9;
}

.detail-top {
    padding: 34px 0 72px;
    background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.12), transparent 30%), #0f172a;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    margin-bottom: 18px;
}

.breadcrumb a:hover {
    color: #67e8f9;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: white;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.64));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    padding-left: 7px;
    font-size: 42px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

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

.player-error {
    position: absolute;
    inset: auto 20px 20px 20px;
    display: none;
    color: white;
    border-radius: 14px;
    padding: 12px 16px;
    background: rgba(127, 29, 29, 0.9);
}

.player-error.is-visible {
    display: block;
}

.detail-info,
.side-panel {
    margin-top: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 26px;
    background: rgba(30, 41, 59, 0.86);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.detail-info h1 {
    margin: 16px 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.03em;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tag-list span {
    color: #cbd5e1;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(15, 23, 42, 0.78);
}

.text-block {
    margin-top: 24px;
}

.text-block h2,
.side-panel h2,
.site-footer h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 22px;
}

.text-block p {
    margin: 0 0 14px;
    color: #cbd5e1;
    line-height: 1.9;
}

.review-block {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}

.detail-side {
    position: relative;
}

.side-panel {
    position: sticky;
    top: 100px;
}

.side-link {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.side-link span {
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    padding: 8px 0;
    background: rgba(6, 182, 212, 0.2);
}

.side-link strong {
    color: #e2e8f0;
    line-height: 1.45;
}

.side-link:hover strong {
    color: #67e8f9;
}

.related-section {
    padding-top: 0;
}

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(180deg, #0f172a, #020617);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 52px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
}

.site-footer p {
    color: #94a3b8;
    line-height: 1.8;
}

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

.site-footer a:hover {
    color: #67e8f9;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

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

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

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

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

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

    .hero-side {
        display: none;
    }

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

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

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

    .side-panel {
        position: static;
    }
}

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

    .header-search {
        display: none;
    }

    .brand strong {
        font-size: 18px;
    }

    .hero,
    .hero-stage {
        min-height: 620px;
    }

    .hero-content {
        width: calc(100% - 28px);
        margin: 0 auto;
        padding: 70px 0;
    }

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

    .hero-dots {
        left: 18px;
        bottom: 26px;
    }

    .section {
        padding: 52px 0;
    }

    .featured-grid,
    .archive-grid,
    .poster-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

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

    .wide-card a {
        grid-template-columns: 1fr;
    }

    .wide-cover {
        aspect-ratio: 16 / 9;
        min-height: unset;
    }

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

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

    .rank-number {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 12px;
    }

    .rank-cover {
        width: 70px;
    }

    .rank-score {
        grid-column: 3;
        justify-self: start;
    }

    .detail-info,
    .side-panel {
        padding: 20px;
        border-radius: 18px;
    }

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

@media (max-width: 460px) {
    .featured-grid,
    .archive-grid,
    .poster-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .movie-card h2 {
        font-size: 15px;
    }

    .movie-card p {
        display: none;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
    }
}
