* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0e0e2c;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 2rem;
}

header h1 {
    font-size: 3rem;
    color: #f72585;
}

header p {
    font-size: 1.2rem;
}

main {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
}

.game-card {
    background: #1a1a3d;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #b5179e;
}

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.game-card h2 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: #4cc9f0;
}

.game-card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.play-button {
    background-color: #b5179e;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: box-shadow 0.3s ease;
}

.play-button:hover {
    box-shadow: 0 0 15px #b5179e;
}

footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #4cc9f0;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    .game-grid {
        grid-template-columns: 1fr;
    }
}