.center {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    border-bottom: solid 2px black;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.featured-game {
    margin: 20px auto;
    text-align: center;
    width: 80%;
    border: 1px solid #ddd;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.featured-game img {
    max-width: 60%;
    height: auto;
    margin-bottom: 15px;
}

.game-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.game-genre {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.game-play a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.game-play a:hover {
    text-decoration: underline;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px auto;
    width: 90%;
}

.card-container h2 {
    width: 100%;
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 18px;
    margin: 10px 0;
    font-weight: bold;
}

.card .game-genre {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.card a {
    display: inline-block;
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
    border: 1px solid #007BFF;
    border-radius: 4px;
    padding: 5px 10px;
}

.card a:hover {
    background: #007BFF;
    color: #fff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
