body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito Sans', Arial, sans-serif;
    background: #181818;
    color: #fff;
}
.game-select-container {
    max-width: 1200px;
    margin: 32px auto;
    padding: 16px;
}
.game-select-container h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 2rem;
    letter-spacing: 1px;
}
.game-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start;
}
.game-card {
    background: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    /* width: 210px; */
    padding: 10px 10px 10px 10px;
    margin-bottom: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.game-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
    transform: translateY(-4px) scale(1.03);
}
.badge-daily-wins {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #000;
    color: #ffe066;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 8px;
    z-index: 2;
    letter-spacing: 1px;
    box-shadow: 0 1px 4px #0004;
}
/* .favorite-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    border: 2px solid #ffe066;
    color: #ffb300;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px #0002;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s, color 0.2s;
} */
.favorite-btn:hover {
    background: #ffe066;
    color: #fff;
}
.game-image-wrapper {
    position: relative;
    width: 170px;
    height: 170px;
    /* margin-bottom: 14px; */
    display: flex;
    align-items: center;
    justify-content: center;
}
.game-img {
    width: 100%;
    height: 100%;
    /* border-radius: 12px; */
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    background: #eee;
}
.btn-game {
    position: absolute;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
    width: 100%;
    background: #222;
    color: #fff;
    border: none;
    /* border-radius: 8px; */
    padding: 6px 0;
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 4;
    box-shadow: 0 2px 6px #0002;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.game-card:hover .btn-game {
    opacity: 1;
    pointer-events: auto;
}
/* .btn-game:hover {
    background: #ff8800;
    color: #fff;
} */
.game-title {
    font-size: 1.08rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    margin-top: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
@media (max-width: 900px) {
    .game-card {
        width: 45vw;
        min-width: 160px;
        max-width: 220px;
    }
    .game-image-wrapper {
        width: 120px;
        height: 120px;
    }
}
@media (max-width: 600px) {
    .game-grid {
        gap: 12px;
    }
    .game-card {
        width: 90vw;
        min-width: 120px;
        max-width: 180px;
        padding: 10px 2px 10px 2px;
    }
    .game-image-wrapper {
        width: 80px;
        height: 80px;
    }
} 