/* styles.css */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

header {
    background: #222;
    color: white;
    padding: 20px;
    width: 100%;
    font-size: 28px;
    font-weight: bold;
}

nav {
    width: 100%;
    background: #444;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f8d210;
}

#games {
    padding: 40px 20px;
    max-width: 1200px;
    width: 100%;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

.game-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.game {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 320px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.game h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.game p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.game a {
    display: inline-block;
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
    margin: 5px;
    transition: color 0.3s;
}

.game a:hover {
    color: #0056b3;
}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px;
    width: 100%;
    margin-top: 40px;
}