/* BroPro Games Hub — Balanced Production-Grade Aesthetic UI */
:root {
    --gh-bg: #0b1020;
    --gh-gold: #e7c26a;
    --gh-emerald: #34d399;
    --gh-violet: #a78bfa;
    --gh-amber: #fbbf24;
}

.gh-nav {
    max-width: 1160px;
    margin: auto;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gh-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f5f1e8;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.gh-brand > span:last-child {
    font-weight: 500;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-left: 2px;
}

.gh-brandmark {
    display: grid;
    grid-template-columns: 8px 8px;
    gap: 3px;
    margin-right: 4px;
    transform: rotate(-8deg);
}

.gh-brandmark i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #e27b6e;
    box-shadow: 0 0 6px rgba(226, 123, 110, 0.4);
}
.gh-brandmark i:nth-child(2) { background: #d8bb72; box-shadow: 0 0 6px rgba(216, 187, 114, 0.4); }
.gh-brandmark i:nth-child(3) { background: #61b59c; box-shadow: 0 0 6px rgba(97, 181, 156, 0.4); }
.gh-brandmark i:nth-child(4) { background: #689ac8; box-shadow: 0 0 6px rgba(104, 154, 200, 0.4); }

.gh-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.gh-back:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.gh-back span {
    color: var(--gh-gold);
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}
.gh-back:hover span {
    transform: translate(2px, -2px);
}

.gh-main {
    max-width: 1160px;
    margin: auto;
    padding: 16px 28px 60px;
}

.gh-intro {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 12px;
    align-items: end;
    padding: 16px 0 28px;
}

.gh-intro .lx-eyebrow {
    grid-column: 1 / -1;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--gh-gold);
    text-transform: uppercase;
}

.gh-intro > p {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.04em;
    margin: 4px 0 0;
    color: #f8fafc;
    background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gh-intro > span:last-child {
    max-width: 270px;
    justify-self: end;
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 4px;
}

/* ==========================================================================
   FLAGSHIP SHOWCASE: LUDO (INTEGRATED & PROPORTIONAL)
   ========================================================================== */
.gh-feature {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    align-items: center;
    border-radius: 28px;
    border: 1px solid rgba(231, 194, 106, 0.22);
    background: linear-gradient(135deg, #1b3539 0%, #10242b 60%, #15272e 100%);
    position: relative;
    overflow: hidden;
    min-height: 380px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 20px 45px -15px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(52, 211, 153, 0.07);
}

.gh-feature::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(231, 194, 106, 0.16) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.gh-feature-copy {
    padding: 38px 0 38px 38px;
    position: relative;
    z-index: 1;
}

.gh-game-number {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #94a3b8;
}

.gh-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(52, 211, 153, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 100px;
    padding: 3px 9px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.gh-live .gh-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
    animation: dotPulse 2s infinite ease-in-out;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.gh-feature h1 {
    font-size: clamp(3.8rem, 6.5vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin: 16px 0 12px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gh-feature h1 > span {
    color: var(--gh-gold);
}

.gh-feature-copy > p {
    max-width: 440px;
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.gh-facts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 0.72rem;
    color: #cbd5e1;
}

.gh-facts span {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3px 10px;
    font-weight: 500;
}

/* ==========================================================================
   LUDO MODE LAUNCH DOCK (INTEGRATED ERGONOMIC CONTROLS)
   ========================================================================== */
.gh-mode-dock {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
    max-width: 580px;
}

.gh-mode-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #f8fafc;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gh-mode-chip:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.55);
}

.gh-mode-chip.chip-online:hover {
    border-color: rgba(52, 211, 153, 0.5);
    box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.35);
}

.gh-mode-chip.chip-bot:hover {
    border-color: rgba(167, 139, 250, 0.5);
    box-shadow: 0 8px 24px -4px rgba(139, 92, 246, 0.35);
}

.gh-mode-chip.chip-local:hover {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.35);
}

.chip-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.chip-online .chip-icon { background: rgba(52, 211, 153, 0.14); color: #34d399; }
.chip-bot .chip-icon { background: rgba(167, 139, 250, 0.16); color: #c4b5fd; }
.chip-local .chip-icon { background: rgba(251, 191, 36, 0.14); color: #fbbf24; }

.chip-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.chip-text strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.chip-text small {
    font-size: 0.68rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.chip-arrow {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 700;
    transition: transform 0.2s ease, color 0.2s ease;
}

.gh-mode-chip:hover .chip-arrow {
    color: #ffffff;
    transform: translate(2px, -2px);
}

.gh-art {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gh-art img {
    display: block;
    width: 108%;
    max-width: none;
    height: auto;
    margin-left: -4%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45));
    transition: transform 0.4s ease;
}

.gh-feature:hover .gh-art img {
    transform: rotate(0.8deg) scale(1.02);
}

/* ==========================================================================
   UPCOMING ROSTER (BALANCED & PROPORTIONAL)
   ========================================================================== */
.gh-next {
    padding-top: 48px;
}

.gh-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.gh-section-head h2 {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 4px;
    color: #f8fafc;
}

.gh-section-sub {
    font-size: 0.86rem;
    color: #94a3b8;
    margin: 0;
}

.gh-section-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gh-gold);
    text-transform: uppercase;
    background: rgba(231, 194, 106, 0.08);
    border: 1px solid rgba(231, 194, 106, 0.25);
    border-radius: 30px;
    padding: 5px 14px;
    white-space: nowrap;
}

.gh-next-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gh-next-card {
    position: relative;
    padding: 24px 22px;
    border-radius: 22px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 25px -10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gh-next-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 18px 40px -12px rgba(0, 0, 0, 0.6);
}

.card-brain:hover { border-color: rgba(167, 139, 250, 0.4); }
.card-memory:hover { border-color: rgba(52, 211, 153, 0.4); }
.card-math:hover { border-color: rgba(251, 191, 36, 0.4); }

.gh-next-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.gh-next-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #94a3b8;
}

.badge-brain { color: #c4b5fd; border-color: rgba(196, 181, 253, 0.25); background: rgba(139, 92, 246, 0.08); }
.badge-memory { color: #6ee7b7; border-color: rgba(110, 231, 183, 0.25); background: rgba(16, 185, 129, 0.08); }
.badge-math { color: #fde047; border-color: rgba(253, 224, 71, 0.25); background: rgba(234, 179, 8, 0.08); }

.gh-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.gh-status-pill .gh-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-lab .gh-dot { background: #a78bfa; box-shadow: 0 0 6px #a78bfa; animation: dotPulse 2.2s infinite ease-in-out; }
.status-alpha .gh-dot { background: #34d399; box-shadow: 0 0 6px #34d399; animation: dotPulse 2.2s infinite ease-in-out; }
.status-proto .gh-dot { background: #fbbf24; box-shadow: 0 0 6px #fbbf24; animation: dotPulse 2.2s infinite ease-in-out; }

.gh-next-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: transform 0.25s ease;
}

.gh-next-card:hover .gh-next-icon-box {
    transform: scale(1.08);
}

.icon-brain { color: #c4b5fd; background: rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.25); }
.icon-memory { color: #6ee7b7; background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.25); }
.icon-math { color: #fde047; background: rgba(234, 179, 8, 0.12); border-color: rgba(234, 179, 8, 0.25); }

.gh-next-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #f1f5f9;
}

.gh-next-card p {
    font-size: 0.84rem;
    line-height: 1.58;
    margin: 0;
    color: #94a3b8;
}

.gh-feature-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.gh-feature-pills span {
    font-size: 0.68rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 3px 8px;
}

.gh-next-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gh-next-meta {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
}

.gh-soon-pill {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gh-gold);
    background: rgba(231, 194, 106, 0.08);
    border: 1px solid rgba(231, 194, 106, 0.2);
    border-radius: 6px;
    padding: 3px 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.gh-footer {
    max-width: 1104px;
    padding: 28px 0 36px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: #94a3b8;
    font-size: 0.78rem;
}

.gh-footer a {
    color: var(--gh-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.gh-footer a:hover {
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 990px) {
    .gh-feature {
        grid-template-columns: 1fr;
        padding-bottom: 24px;
    }
    .gh-feature-copy {
        padding: 32px 28px 0;
    }
    .gh-art img {
        width: 360px;
        max-width: 90%;
        margin: -16px auto 0;
    }
    .gh-next-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .gh-mode-dock {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .gh-nav {
        padding: 18px 20px;
    }
    .gh-main {
        padding: 10px 18px 40px;
    }
    .gh-intro {
        padding: 14px 0 20px;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .gh-intro > span:last-child {
        justify-self: start;
        max-width: 100%;
        font-size: 0.86rem;
    }
    .gh-intro > p {
        font-size: 2.5rem;
    }
    .gh-feature {
        border-radius: 22px;
    }
    .gh-feature-copy {
        padding: 24px 18px 0;
    }
    .gh-feature h1 {
        font-size: 4rem;
        margin: 12px 0 10px;
    }
    .gh-mode-dock {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .gh-art {
        height: 220px;
        overflow: hidden;
    }
    .gh-art img {
        width: 300px;
        margin-top: -20px;
    }
    .gh-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .gh-section-head h2 {
        font-size: 1.25rem;
    }
    .gh-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
