/* ============================================================
   ECEL Multi-Game catalog & coming-soon pages
   Palette: ECEL orange + black, per-game accent via --gx-accent
   Cover images are optional; a gradient placeholder always shows.
   ============================================================ */
:root {
    --gx-bg:        #0a0a0c;
    --gx-bg-2:      #111114;
    --gx-surface:   #16161b;
    --gx-border:    #25252d;
    --gx-text:      #f3f4f6;
    --gx-text-dim:  #a3a3ad;
    --gx-text-mut:  #74747f;
    --gx-orange:    #ff6a00;
    --gx-orange-hi: #ff8a33;
    --gx-green:     #22c55e;
    --gx-radius:    14px;
    --gx-radius-sm: 10px;
}

body { background: var(--gx-bg); color: var(--gx-text); }

.gx-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 20px 80px;
}

/* ── Hero ───────────────────────────────────────────────────── */
.gx-hero {
    position: relative;
    border: 1px solid var(--gx-border);
    border-radius: var(--gx-radius);
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 106, 0,.16), transparent 55%),
        radial-gradient(circle at 88% 120%, rgba(255, 31, 31,.14), transparent 55%),
        linear-gradient(180deg, #15151b 0%, #0d0d11 100%);
    padding: 44px 36px;
    margin-bottom: 30px;
    overflow: hidden;
}
.gx-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gx-orange);
    border: 1px solid rgba(255, 106, 0,.35);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.gx-hero__title {
    font-size: 44px;
    line-height: 1.08;
    font-weight: 900;
    margin: 0 0 14px;
    color: #fff;
    letter-spacing: -.5px;
}
.gx-grad-text {
    background: linear-gradient(90deg, var(--gx-orange-hi), #ff1f1f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.gx-hero__lead {
    font-size: 16px;
    color: var(--gx-text-dim);
    max-width: 680px;
    margin: 0 0 26px;
    line-height: 1.6;
}
.gx-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.gx-hstat {
    background: rgba(0,0,0,.35);
    border: 1px solid var(--gx-border);
    border-radius: var(--gx-radius-sm);
    padding: 14px 22px;
    min-width: 130px;
}
.gx-hstat--live { border-color: rgba(34,197,94,.4); }
.gx-hstat__value { font-size: 30px; font-weight: 900; color: #fff; line-height: 1; }
.gx-hstat--live .gx-hstat__value { color: var(--gx-green); }
.gx-hstat__label { font-size: 12px; color: var(--gx-text-mut); margin-top: 6px; text-transform: uppercase; letter-spacing: .06em; }

/* ── Sections ───────────────────────────────────────────────── */
.gx-section { margin-bottom: 38px; }
.gx-section__head { margin-bottom: 18px; }
.gx-section__head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #fff;
}
.gx-section__head h2 i { color: var(--gx-orange); font-size: 18px; }
.gx-section__head p { margin: 0; color: var(--gx-text-dim); font-size: 14px; }

/* ── Grid + cards ───────────────────────────────────────────── */
.gx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.gx-grid--live {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gx-card {
    display: block;
    border-radius: var(--gx-radius);
    overflow: hidden;
    border: 1px solid var(--gx-border);
    background: var(--gx-surface);
    text-decoration: none;
    color: inherit;
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.gx-card:hover {
    transform: translateY(-3px);
    border-color: var(--gx-accent, var(--gx-orange));
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.gx-card--soon { opacity: .96; }

.gx-card__art {
    position: relative;
    aspect-ratio: 3 / 4;
    background: var(--gx-grad, linear-gradient(135deg, #333, #111));
    overflow: hidden;
}
.gx-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.22);
    font-size: 72px;
}
.gx-card__cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.gx-card__shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.85) 100%);
}
.gx-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 5px 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(6px);
}
.gx-card__badge.is-live { background: rgba(34,197,94,.92); color: #04240f; }
.gx-card__badge.is-soon { background: rgba(0,0,0,.55); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.gx-card__platform {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.18);
    padding: 4px 8px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}
.gx-card__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 14px;
}
.gx-card__name {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.gx-card__cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255,255,255,.82);
}
.gx-card__cat i { color: var(--gx-accent); }

.gx-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gx-green);
    display: inline-block;
    box-shadow: 0 0 8px rgba(34,197,94,.7);
}
.gx-dot--lg { width: 11px; height: 11px; }

/* ── Partner CTA ────────────────────────────────────────────── */
.gx-cta {
    border: 1px solid rgba(255, 106, 0,.35);
    border-radius: var(--gx-radius);
    background: linear-gradient(180deg, #1a1410 0%, #100d0a 100%);
    padding: 34px;
    text-align: center;
}
.gx-cta__title { font-size: 24px; font-weight: 900; margin: 0 0 8px; color: #fff; }
.gx-cta__text { color: var(--gx-text-dim); max-width: 620px; margin: 0 auto 20px; font-size: 15px; line-height: 1.6; }
.gx-cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ────────────────────────────────────────────────── */
.gx-btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: var(--gx-radius-sm);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.gx-btn--primary { background: var(--gx-orange); color: #1a1208; border-color: var(--gx-orange); }
.gx-btn--primary:hover { background: var(--gx-orange-hi); border-color: var(--gx-orange-hi); }
.gx-btn--primary.is-on { background: var(--gx-green); border-color: var(--gx-green); color: #04240f; }
.gx-btn--ghost { background: transparent; color: var(--gx-text-dim); border-color: var(--gx-border); }
.gx-btn--ghost:hover { color: #fff; border-color: var(--gx-orange); }

/* ── Individual game showcase (coming soon) ─────────────────── */
.gx-show {
    position: relative;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    border: 1px solid var(--gx-border);
    border-radius: var(--gx-radius);
    background:
        radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--gx-accent) 22%, transparent), transparent 55%),
        linear-gradient(180deg, #15151b 0%, #0d0d11 100%);
    padding: 28px;
    margin-bottom: 34px;
}
.gx-show__art {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--gx-radius-sm);
    overflow: hidden;
    background: var(--gx-grad);
    border: 1px solid var(--gx-border);
}
.gx-show__placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.22);
    font-size: 96px;
}
.gx-show__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.gx-show__shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6) 100%); }
.gx-show__body { display: flex; flex-direction: column; align-items: flex-start; }
.gx-back {
    color: var(--gx-text-dim);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.gx-back:hover { color: var(--gx-orange); }
.gx-show__badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.25);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.gx-show__title { font-size: 38px; font-weight: 900; margin: 0 0 12px; color: #fff; line-height: 1.1; }
.gx-show__meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.gx-show__meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--gx-text-dim); font-weight: 600; }
.gx-show__meta i { color: var(--gx-accent); }
.gx-show__tagline { font-size: 16px; color: var(--gx-text); margin: 0 0 22px; line-height: 1.6; max-width: 560px; }
.gx-show__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.gx-show__hint { font-size: 13px; color: var(--gx-text-mut); display: inline-flex; align-items: center; gap: 8px; }
.gx-show__hint i { color: var(--gx-accent); }

/* ── Locked feature grid ────────────────────────────────────── */
.gx-locked-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.gx-locked {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gx-surface);
    border: 1px solid var(--gx-border);
    border-radius: var(--gx-radius-sm);
    padding: 16px;
    overflow: hidden;
}
.gx-locked::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(255,255,255,.015) 9px, rgba(255,255,255,.015) 18px);
    pointer-events: none;
}
.gx-locked__icon { font-size: 20px; color: var(--gx-text-mut); width: 26px; text-align: center; }
.gx-locked__label { font-size: 14px; font-weight: 700; color: var(--gx-text-dim); flex: 1; }
.gx-locked__tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--gx-text-mut);
    border: 1px solid var(--gx-border);
    border-radius: 999px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
    .gx-show { grid-template-columns: 1fr; }
    .gx-show__art { max-width: 260px; }
}
@media (max-width: 640px) {
    .gx-main { padding: 18px 14px 64px; }
    .gx-hero { padding: 28px 18px; border-radius: var(--gx-radius); }
    .gx-hero__title { font-size: 30px; }
    .gx-hero__lead { font-size: 14px; }
    .gx-hstat { flex: 1; min-width: 0; padding: 12px 14px; }
    .gx-hstat__value { font-size: 24px; }
    .gx-grid, .gx-grid--live { grid-template-columns: 1fr 1fr; gap: 12px; }
    .gx-card__placeholder { font-size: 54px; }
    .gx-card__name { font-size: 14px; }
    .gx-show { padding: 18px; }
    .gx-show__art { max-width: none; }
    .gx-show__title { font-size: 28px; }
    .gx-show__cta { width: 100%; }
    .gx-show__cta .gx-btn { flex: 1; justify-content: center; }
    .gx-cta { padding: 24px 18px; }
    .gx-locked-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
    .gx-grid, .gx-grid--live { grid-template-columns: 1fr; }
}

/* ── Navbar game switcher ───────────────────────────────────── */
.nav-game-switch { position: relative; }
.nav-game-switch__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    color: #e5e7eb;
    border-radius: 999px;
    padding: 5px 12px 5px 8px;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 700;
}
.nav-game-switch__btn:hover { border-color: rgba(255, 106, 0,.5); }
.nav-game-switch__ic {
    width: 22px; height: 22px;
    border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #1a1208;
    font-size: .7rem;
    background: linear-gradient(135deg, var(--gx-orange), #ff1f1f);
}
.nav-game-switch__chev { font-size: .6rem; opacity: .7; }
.nav-game-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    max-height: 70vh;
    overflow-y: auto;
    background: #121217;
    border: 1px solid var(--gx-border);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.55);
    padding: 8px;
    display: none;
    z-index: 1200;
}
.nav-game-switch.open .nav-game-switch__menu { display: block; }
.nav-game-switch__title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gx-text-mut);
    padding: 6px 10px 4px;
}
.nav-game-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #e5e7eb;
}
.nav-game-row:hover { background: rgba(255,255,255,.05); }
.nav-game-row__ic {
    width: 30px; height: 30px;
    border-radius: 7px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: .8rem;
    flex-shrink: 0;
}
.nav-game-row__name { font-size: .85rem; font-weight: 700; flex: 1; }
.nav-game-row__tag {
    font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
    padding: 3px 7px; border-radius: 999px;
}
.nav-game-row__tag.is-live { background: rgba(34,197,94,.18); color: #4ade80; }
.nav-game-row__tag.is-soon { background: rgba(255,255,255,.07); color: var(--gx-text-mut); border: 1px solid var(--gx-border); }
.nav-game-switch__all {
    display: block;
    text-align: center;
    margin-top: 6px;
    padding: 9px;
    border-top: 1px solid var(--gx-border);
    color: var(--gx-orange);
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}
.nav-game-switch__all:hover { color: var(--gx-orange-hi); }

/* Hide the desktop switcher on smaller screens — the mobile menu carries the
   Games link, so discoverability is preserved without crowding the bar. */
@media (max-width: 1024px) {
    .nav-game-switch { display: none; }
}

/* Registration game-interest picker */
.reg-games {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.reg-game {
    position: relative;
    cursor: pointer;
    user-select: none;
}
.reg-game input { position: absolute; opacity: 0; pointer-events: none; }
.reg-game__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid var(--gx-border);
    background: var(--gx-surface);
    transition: border-color 120ms ease, background-color 120ms ease;
}
.reg-game__ic {
    width: 30px; height: 30px; border-radius: 7px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: .8rem;
}
.reg-game__name { font-size: .82rem; font-weight: 700; color: #e5e7eb; line-height: 1.15; }
.reg-game__tag { display: block; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gx-text-mut); margin-top: 2px; }
.reg-game input:checked + .reg-game__inner { border-color: var(--gx-orange); background: rgba(255, 106, 0,.08); }
.reg-game__check {
    margin-left: auto;
    width: 18px; height: 18px; border-radius: 5px;
    border: 1px solid var(--gx-border);
    display: inline-flex; align-items: center; justify-content: center;
    color: transparent; font-size: .65rem; flex-shrink: 0;
}
.reg-game input:checked + .reg-game__inner .reg-game__check {
    background: var(--gx-orange); border-color: var(--gx-orange); color: #1a1208;
}
.reg-game--live input { cursor: not-allowed; }
.reg-game--live .reg-game__inner { border-color: rgba(34,197,94,.4); background: rgba(34,197,94,.06); }

/* ── Homepage: multi-game teaser section (guest landing) ────── */
.home-games {
    padding: 56px 20px;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 106, 0,.10), transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(255, 31, 31,.10), transparent 50%);
}
.home-games__inner { max-width: 1180px; margin: 0 auto; }
.home-games__head { text-align: center; margin-bottom: 30px; }
.home-games__ping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gx-orange);
    border: 1px solid rgba(255, 106, 0,.35);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.home-games__pingdot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--gx-orange);
    position: relative;
}
.home-games__pingdot::after {
    content: '';
    position: absolute; inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255, 106, 0,.5);
    animation: gxPing 1.8s ease-out infinite;
}
@keyframes gxPing {
    0% { transform: scale(.6); opacity: .9; }
    100% { transform: scale(1.6); opacity: 0; }
}
.home-games__title {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.12;
}
.home-games__sub {
    font-size: 15px;
    color: var(--gx-text-dim);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}
.home-games__sub strong { color: var(--gx-orange-hi); }
.home-games__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}
.home-games__cta { text-align: center; }

/* ── Dashboard: slim roadmap announcement strip ─────────────── */
.hq-games-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 24px;
    padding: 12px 16px;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid rgba(255, 106, 0,.32);
    background: linear-gradient(180deg, rgba(255, 106, 0,.08), rgba(255, 31, 31,.05));
    transition: border-color 140ms ease, transform 140ms ease;
}
.hq-games-strip:hover { border-color: rgba(255, 106, 0,.6); transform: translateY(-1px); }
.hq-games-strip__pulse { flex-shrink: 0; width: 12px; height: 12px; position: relative; }
.hq-games-strip__pulse span {
    position: absolute; inset: 0; border-radius: 50%;
    background: var(--gx-orange);
}
.hq-games-strip__pulse span::after {
    content: ''; position: absolute; inset: -5px; border-radius: 50%;
    border: 2px solid rgba(255, 106, 0,.5);
    animation: gxPing 1.8s ease-out infinite;
}
.hq-games-strip__text { flex: 1; min-width: 0; font-size: 13.5px; color: var(--gx-text-dim); line-height: 1.45; }
.hq-games-strip__text strong { color: #fff; font-weight: 800; }
.hq-games-strip__icons { display: inline-flex; gap: 6px; flex-shrink: 0; }
.hq-games-strip__ic {
    width: 30px; height: 30px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: .72rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.hq-games-strip__cta {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 800;
    color: var(--gx-orange);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .home-games { padding: 38px 14px; }
    .home-games__title { font-size: 26px; }
    .home-games__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hq-games-strip { flex-wrap: wrap; gap: 10px; }
    .hq-games-strip__text { flex: 1 1 100%; order: 2; }
    .hq-games-strip__icons { order: 3; }
    .hq-games-strip__cta { order: 4; margin-left: auto; }
}
