/* Section wrapper */
.game-select-section {
    padding: 80px 0;
    text-align: center;
}

.game-select-section .section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.game-select-section .section-sub {
    color: #b1b1c7;
    margin-bottom: 40px;
}

/* Grid layout */
.game-select-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
    padding: 0 20px;
}

/* Game Card */
.game-card {
    background: linear-gradient(180deg, rgba(72,39,125,0.3), rgba(10,10,20,0.85));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 0 25px rgba(120,60,255,0.15);
    transition: all .25s ease;
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(140,80,255,0.25);
    border-color: rgba(160,80,255,0.4);
}

/* Game Image */
.game-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* Card Content */
.game-card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card-content h3 {
    font-size: 1.3rem;
    margin: 0 0 6px;
}

.game-card-content p {
    color: #c7c7da;
    margin-bottom: 16px;
    font-size: 0.95rem;
    flex-grow: 1; /* pushes bottom section down */
}

/* Bottom container (tags + button pinned) */
.game-card-bottom {
    margin-top: auto; /* forces this to bottom */
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tags span {
    background: rgba(160,80,255,0.15);
    border: 1px solid rgba(160,80,255,0.35);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #d5caff;
}

/* Config Button */
.config-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(90deg, #8c46ff, #c07dff);
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: background .25s ease;
}

.config-btn:hover {
    background: linear-gradient(90deg, #a363ff, #d399ff);
}
