body {
    font-family: Arial, sans-serif;
    margin: 0;
    color: #fff;
    overflow-x: hidden;
    background: linear-gradient(to right, #1a3b66, #357461, #ac9447);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    justify-content: space-around; 
    align-items: center;
    width: 100%; 
    max-width: 2200px; 
    padding: 0 50px; 
}


.game-card {
    width: 250px;
    height: 350px;
    cursor: pointer;
    border: 2px solid #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.overlay {
    position: fixed;
    top: 0;
    left: 100%; 
    width: 100%;
    height: 100%;
    background: #222; 
    transition: left 0.6s ease;
    display: flex;
    flex-direction: column;
    padding: 50px;
    box-sizing: border-box;
    z-index: 10;
}

.overlay.active {
    left: 0;
}

.close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
}

.overlay-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.overlay-content p {
    font-size: 20px;
    line-height: 1.5;
}
