/* ============================= */
/* Games Page – Final Styling    */
/* ============================= */

/* Full-page background — UNIFORM */
body,
.gamesPage {
    background: #ffffff !important;
}

/* Subtle separator under nav */
.sog-nav {
    border-bottom: 1px solid #e5e5e5;
}

/* Games list container */
.gamesList {
    margin: 40px 2rem 50px;
}

@media (min-width:770px) {
    .gamesList {
        margin: 50px 12% 60px;
    }
}

/* Individual game card */
.game {
    display: flex;
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 28px;

    /* Unified with new theme */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    transition: transform .25s ease, box-shadow .25s ease;
}

.game:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
}

/* Left image column */
.game > div:first-child {
    display: none;
}

@media (min-width:770px) {
    .game > div:first-child {
        display: block;
        flex: 0 0 48%;
    }

    .game > div:first-child img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left;
    }
}

/* Game info */
.gameInfo {
    color: #222;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width:770px) {
    .gameInfo {
        margin-left: 2rem;
    }
}

/* Game header */
.gameHeader {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.gameHeader img {
    width: 90px;
    height: 90px;
}

@media (max-width:600px) {
    .gameHeader img {
        width: 70px;
        height: 70px;
    }
}

.gameMeta {
    margin-left: 1rem;
}

/* NEW THEME: violet for game type, consistent with homepage */
.gameType {
    color: #5a3aa3;
    font-weight: 600;
}

/* Description */
.gameDesc {
    color: #222;
    opacity: .85;
    margin-bottom: 1.4rem;
    max-width: 95%;
    line-height: 1.55;
}

/* Buttons (inherit main orange theme) */
.gamesList .game button {
    padding: .55rem 1rem;
    margin-right: 10px;
}
