/* games/games.css */

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); /* Lighter background */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top */
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 600px; /* Max width for larger screens */
    box-sizing: border-box;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #3498db; /* Blue color */
}

p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #555;
}

.game-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between game cards */
}

.game-card {
    display: block; /* Make the link a block element */
    background-color: #ecf0f1; /* Light grey */
    padding: 20px;
    border-radius: 10px;
    text-decoration: none; /* Remove underline from link */
    color: #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
    border: 1px solid #bdc3c7;
}

.game-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: #dde1e2; /* Slightly darker grey */
}

.game-card h2 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 5px;
    color: #2980b9; /* Darker blue */
}

.game-card p {
    font-size: 0.9em;
    margin-bottom: 0;
    color: #666;
}

/* Optional: Add some basic mobile responsiveness */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    .container {
        padding: 15px;
        border-radius: 10px;
    }
    h1 {
        font-size: 2em;
    }
    .game-card {
        padding: 15px;
    }
    .game-card h2 {
        font-size: 1.3em;
    }
}
