.tmdb-movie-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.tmdb-movie-item {
    position: relative;
    border: none;
    text-align: center;
    background-color: #222; /* Darker background */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tmdb-movie-item img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 2px solid #444;
}

.movie-details {
    padding: 15px;
    color: #fff; /* White text */
}

.movie-details h3 {
    font-size: 1rem;
    margin: 10px 0;
}

.movie-details p {
    font-size: 0.9rem;
    color: #bbb; /* Lighter gray for dates */
}

.movie-score {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #222; /* Circle matches the card background */
    color: #fff; /* White text for score */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border: 2px solid #28a745; /* Green border for the circle */
}

/* Media Query for Mobile Screens */
@media (max-width: 768px) {
    .tmdb-movie-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Smaller columns for narrow screens */
        gap: 10px;
    }

    .movie-details h3 {
        font-size: 0.9rem; /* Smaller title for mobile */
    }

    .movie-details p {
        font-size: 0.8rem; /* Adjusted font size for dates */
    }

    .movie-score {
        width: 35px; /* Smaller circle */
        height: 35px;
        font-size: 0.75rem; /* Smaller font size */
    }
}
.pricing-button {
    display: inline-block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #ff0000; /* Red color */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.pricing-button:hover {
    background-color: #cc0000; /* Darker red on hover */
}

/* Media Query for Extra Small Screens */
@media (max-width: 480px) {
    .movie-details h3 {
        font-size: 0.8rem; /* Further reduced title size */
    }

    .movie-details p {
        font-size: 0.75rem; /* Smaller text for dates */
    }

    .movie-score {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
}