* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #101010;
    color: #eee;
    font-family: system-ui, -apple-system, sans-serif;
}

main {
    max-width: 1200px;
    margin: auto;
    padding: 40px 24px;
}

.header {
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    margin: 0;
}

.header p {
    color: #999;
}

.library {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.movie-card {
    color: inherit;
    text-decoration: none;
    background: #1b1b1b;
    border-radius: 12px;
    overflow: hidden;
}

.movie-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.movie-info {
    padding: 16px;
}

.movie-info h2 {
    margin: 0 0 8px;
}

.movie-info p {
    margin: 0;
    color: #999;
}

.back {
    display: inline-block;
    margin-bottom: 24px;
    color: #aaa;
    text-decoration: none;
}

.movie-page h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.meta {
    color: #999;
    margin-bottom: 24px;
}

video {
    display: block;
    width: 100%;
    max-height: 75vh;
    background: #000;
    border-radius: 10px;
}

.description {
    max-width: 800px;
    margin-top: 32px;
}

.description dt {
    color: #888;
    margin-top: 12px;
}

.description dd {
    margin-left: 0;
}

.source {
    margin-top: 32px;
    color: #777;
    font-size: 0.9rem;
}
