body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    text-align: center;
}

header {
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.5em;
    color: #333;
}

header p {
    font-size: 1.2em;
    color: #555;
}

.instructions {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: left;
}

.instructions h2 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.instructions p {
    color: #555;
    font-size: 1em;
    line-height: 1.5;
}

.instructions a {
    color: #007bff;
    text-decoration: none;
}

.instructions a:hover {
    text-decoration: underline;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.game-card a {
    text-decoration: none;
    color: inherit;
}

.game-card img {
    width: 100%;
    height: auto;
}

.game-card h2 {
    font-size: 1.2em;
    margin: 10px;
    color: #333;
}

footer {
    margin-top: 40px;
    font-size: 0.9em;
    color: #777;
}

@media (max-width: 800px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .game-grid {
        grid-template-columns: 1fr;
    }
    .instructions {
        max-width: 100%;
        padding: 15px;
    }
}