.rankings-page {
    max-width: 1200px;
}

.rankings-intro {
    max-width: 850px;
    padding: 1rem 0 1.5rem;
    margin-bottom: 1.5em;
}

.rankings-intro h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.75rem, 5vw, 4rem);
    color: var(--purple-brand);
}

.rankings-intro p {
    max-width: 750px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--muted);
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.movie-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--panel);
    color: var(--text);
    text-decoration: none;
    transition:
        border-color 0.35s ease,
        transform 0.35s ease;
}

.movie-card:hover {
    border-color: var(--accent);
    transform: translateY(-0.35rem);
}

.movie-card img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.movie-card:hover img {
    filter: brightness(1.08);
}

.movie-card h2 {
    margin: 0.5rem 0 0;
    padding: 0 0.75rem;
    font-size: 1.25rem;
    color: var(--text);
    line-height: 1.4;
}

.movie-card p {
    padding: 0 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--muted);
    line-height: 1.6;
}

.movie-card span {
    margin-top: auto;
    padding: 0.5rem 0.75rem 0.75rem;
    color: var(--yellow-brand);
    text-align: right;
    font-size: 0.85rem;
}

.movie-card:hover {
    color: var(--yellow-brand-hover);
}