body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f9fa;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: #343a40;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

nav ul li a:hover {
    color: #007bff;
}

aside {
    background: #f4f4f4;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
}

aside h2 {
    margin-top: 0;
}

form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

form label {
    font-weight: bold;
}

form select, form button {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

form button:hover {
    background: #0056b3;
}

main {
    flex: 1;
    padding: 2rem;
}

.game-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.game-item {
    background: white;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 1.5rem;
    width: 30%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.game-item h3 {
    margin-top: 0;
    color: #343a40;
}

.game-item p {
    color: #6c757d;
}

button {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background: #0056b3;
}

@media (max-width: 768px) {
    .game-item {
        width: 100%;
    }
}
.game-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}
button {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

button:hover {
    background: #0056b3;
    transform: scale(1.05);
}
