/* games.hitcorp-intl.com — small layer on top of the portal's style.css
   (--bg-dark #0a0a0a / --accent-red #8A0303 / Orbitron + Roboto identity) */

.games-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 5% 3rem;
    text-align: center;
    min-height: 60vh;
}

.games-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    letter-spacing: 0.25em;
    color: var(--text-white, #fff);
    text-shadow: 0 0 24px var(--accent-red-glow, rgba(138,3,3,.7));
    margin-bottom: .6rem;
}

.games-sub {
    color: rgba(255,255,255,.55);
    margin-bottom: 3rem;
    font-size: 1rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.game-card {
    display: block;
    background: rgba(20,20,20,.85);
    border: 1px solid rgba(138,3,3,.35);
    border-radius: 10px;
    padding: 2.2rem 1.4rem 1.6rem;
    text-decoration: none;
    color: var(--text-white, #fff);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-red, #8A0303);
    box-shadow: 0 8px 30px rgba(138,3,3,.25);
}
.game-card--soon { opacity: .45; pointer-events: none; }

.game-icon { font-size: 3.2rem; margin-bottom: 1rem; }
.game-card h2 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: .15em;
    margin-bottom: .6rem;
    font-size: 1.3rem;
}
.game-card p { color: rgba(255,255,255,.55); font-size: .85rem; margin-bottom: 1.2rem; }
.game-cta {
    font-family: 'Orbitron', sans-serif;
    font-size: .8rem;
    letter-spacing: .2em;
    color: var(--accent-red, #8A0303);
}

.games-foot {
    text-align: center;
    padding: 2rem 5%;
    color: rgba(255,255,255,.4);
    font-size: .8rem;
}
.games-foot a { color: rgba(255,255,255,.6); text-decoration: none; }
.games-foot a:hover { color: #fff; }
.games-credit { display: block; margin-top: .6rem; font-size: .72rem; opacity: .7; }

/* ---------- shared in-game chrome ---------- */
.g-page { max-width: 1000px; margin: 0 auto; padding: 1.5rem 3% 3rem; }
.g-topbar {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem;
}
.g-topbar a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .85rem; }
.g-topbar a:hover { color: #fff; }
.g-title { font-family: 'Orbitron', sans-serif; letter-spacing: .2em; font-size: 1.4rem; }

.g-panel {
    background: rgba(20,20,20,.85);
    border: 1px solid rgba(138,3,3,.35);
    border-radius: 10px;
    padding: 1.4rem;
}
.g-panel h3 {
    font-family: 'Orbitron', sans-serif; font-size: .9rem; letter-spacing: .15em;
    margin-bottom: 1rem; color: rgba(255,255,255,.85);
}

.g-btn {
    font-family: 'Orbitron', sans-serif;
    background: var(--accent-red, #8A0303);
    color: #fff; border: 0; border-radius: 6px;
    padding: .7rem 1.4rem; font-size: .8rem; letter-spacing: .12em;
    cursor: pointer; transition: filter .15s ease, transform .1s ease;
}
.g-btn:hover { filter: brightness(1.2); }
.g-btn:active { transform: scale(.98); }
.g-btn:disabled { opacity: .35; cursor: not-allowed; filter: none; transform: none; }
.g-btn--ghost {
    background: transparent; border: 1px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.8);
}
.g-btn--ghost:hover { border-color: #fff; filter: none; }
.g-btn--sm { padding: .45rem .9rem; font-size: .7rem; }

.g-row { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.g-label { font-size: .75rem; letter-spacing: .1em; color: rgba(255,255,255,.55); text-transform: uppercase; }

.g-field {
    background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.2);
    color: #fff; border-radius: 6px; padding: .55rem .8rem; font-size: .9rem;
    font-family: 'Roboto', sans-serif;
}
.g-field:focus { outline: none; border-color: var(--accent-red, #8A0303); }
select.g-field option { background: #111; }

.g-status {
    margin-top: .8rem; font-size: .85rem; color: rgba(255,255,255,.6);
    min-height: 1.2em;
}
.g-status--err { color: #ff8a80; }

/* mode tabs */
.g-modes { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.g-mode {
    background: rgba(20,20,20,.85); border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.75); border-radius: 6px; padding: .6rem 1.1rem;
    cursor: pointer; font-family: 'Orbitron', sans-serif; font-size: .72rem;
    letter-spacing: .12em; transition: border-color .15s ease;
}
.g-mode:hover { border-color: rgba(255,255,255,.5); }
.g-mode--on { border-color: var(--accent-red, #8A0303); color: #fff;
              box-shadow: 0 0 12px rgba(138,3,3,.35); }

/* option grid */
.g-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: .9rem 1.4rem; }
.g-opt { display: flex; align-items: center; gap: .6rem; font-size: .85rem; }
.g-opt select { margin-left: auto; }

.g-room {
    margin-top: 1rem; padding: 1rem; border: 1px dashed rgba(138,3,3,.5);
    border-radius: 8px; font-size: .9rem; word-break: break-all;
}
.g-room b { font-family: 'Orbitron', sans-serif; letter-spacing: .2em; color: #fff; }

@media (max-width: 640px) {
    .games-wrap { padding-top: 2.5rem; }
    .g-page { padding: 1rem 3% 2rem; }
}
