/* General Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    padding: 40px;
    color: #333;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

/* The Grid (2 Rows x 5 Columns) */
.version-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 equal columns */
    grid-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styling */
.version-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.version-card:hover {
    transform: translateY(-10px);
}

/* Thumbnail Container */
.thumbnail {
    width: 100%;
    height: 180px;
    background-color: #ddd; /* Fallback color */
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills space without stretching */
}

/* Info Section */
.info {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #eee;
}

.info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* Responsive for smaller screens */
@media (max-width: 1024px) {
    .version-grid {
        grid-template-columns: repeat(2, 1fr); /* Becomes 2 columns on tablets */
    }
}