:root {
    --bg: #050713;
    --surface: rgba(15, 20, 45, .72);
    --surface-strong: #11162d;
    --line: rgba(130, 170, 255, .16);
    --cyan: #24e8ff;
    --blue: #4a7cff;
    --purple: #9b5cff;
    --gold: #ffcf5a;
    --text: #eef4ff;
    --muted: #98a7c7;
}
* { box-sizing: border-box; }
body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 0%, rgba(64, 85, 255, .14), transparent 33rem),
        radial-gradient(circle at 90% 30%, rgba(163, 75, 255, .12), transparent 28rem),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding-bottom: 68px;
}
a { color: var(--cyan); }
.ambient { position: fixed; width: 260px; height: 260px; border-radius: 50%; filter: blur(90px); opacity: .16; z-index: -1; }
.ambient-one { background: #276cff; top: 12%; left: -130px; }
.ambient-two { background: #a43cff; right: -130px; bottom: 10%; }
.glass-nav { background: rgba(5, 7, 19, .82); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand-mark { font-weight: 900; letter-spacing: -.5px; }
.brand-mark span {
    display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 8px;
    border-radius: 12px; color: #06111d; background: linear-gradient(135deg, var(--cyan), var(--purple));
    box-shadow: 0 0 24px rgba(36, 232, 255, .35);
}
.page-shell { padding-top: 28px; min-height: 75vh; }
.glass-card {
    background: linear-gradient(145deg, rgba(21, 28, 59, .86), rgba(10, 13, 31, .78));
    border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 60px rgba(0, 0, 0, .22);
    backdrop-filter: blur(16px); overflow: hidden;
}
.glass-card.hover-lift { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.glass-card.hover-lift:hover { transform: translateY(-4px); border-color: rgba(36,232,255,.4); box-shadow: 0 20px 65px rgba(21, 75, 160, .2); }
.hero { padding: 38px 26px; position: relative; isolation: isolate; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(5,8,22,.98), rgba(8,12,30,.72), rgba(63,32,130,.18)),
        url("../img/bgmi-placeholder.svg") center right/cover no-repeat;
}
.eyebrow { color: var(--cyan); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.display-title { font-size: clamp(2.2rem, 8vw, 5.5rem); line-height: .95; font-weight: 950; letter-spacing: -.06em; }
.gradient-text { color: transparent; background: linear-gradient(90deg, var(--cyan), #7da6ff, #c576ff); background-clip: text; }
.neon-btn {
    border: 0; color: #07101b !important; font-weight: 800; border-radius: 12px;
    background: linear-gradient(105deg, var(--cyan), #7d8cff);
    box-shadow: 0 0 24px rgba(36, 232, 255, .25); transition: transform .16s ease, box-shadow .16s ease;
}
.neon-btn:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(36, 232, 255, .45); }
.gold-btn { background: linear-gradient(105deg, #ffe786, #ffb932); color: #231500 !important; }
.section-title { font-weight: 900; letter-spacing: -.03em; }
.text-muted { color: var(--muted) !important; }
.stat-card { padding: 18px; }
.stat-card strong { font-size: 1.45rem; display: block; }
.tournament-banner { height: 185px; width: 100%; object-fit: cover; background: #131933; }
.game-pill, .rank-badge { display: inline-flex; align-items: center; border-radius: 999px; font-size: .72rem; font-weight: 800; padding: 6px 10px; }
.game-pill { color: var(--cyan); background: rgba(36,232,255,.1); border: 1px solid rgba(36,232,255,.22); }
.live-pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff4d76; box-shadow: 0 0 0 0 rgba(255,77,118,.7); animation: pulse 1.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,77,118,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,118,0); } }
.progress { background: rgba(255,255,255,.07); height: 8px; }
.progress-bar { background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.form-control, .form-select {
    color: var(--text); background: rgba(4,8,22,.74); border: 1px solid rgba(140,165,220,.2);
    border-radius: 12px; min-height: 46px;
}
.form-control:focus, .form-select:focus { color: var(--text); background: rgba(4,8,22,.9); border-color: var(--cyan); box-shadow: 0 0 0 .2rem rgba(36,232,255,.1); }
.form-select option { color: #111; }
.form-label { color: #c8d5ef; font-weight: 650; }
.table { --bs-table-bg: transparent; --bs-table-color: var(--text); --bs-table-border-color: var(--line); }
.leaderboard-table tbody tr:first-child { background: linear-gradient(90deg, rgba(255,207,90,.14), transparent); }
.rank-badge { min-width: 34px; justify-content: center; color: #fff; background: rgba(255,255,255,.08); }
.rank-1 { color: #271b00; background: linear-gradient(135deg, #fff0a7, #eeb43d); }
.rank-2 { color: #171b24; background: linear-gradient(135deg, #f5f8ff, #9facbf); }
.rank-3 { color: #2a1309; background: linear-gradient(135deg, #ffc79c, #b56c3a); }
.podium-card { text-align: center; padding: 20px; border-top: 3px solid var(--gold); }
.countdown { font-variant-numeric: tabular-nums; letter-spacing: .03em; color: var(--gold); font-weight: 800; }
.glass-alert { color: #fff; background: rgba(30,35,65,.92); border-color: var(--line); }
.mobile-bottom-nav {
    position: fixed; z-index: 1040; left: 10px; right: 10px; bottom: 10px; height: 62px;
    display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(8,11,27,.93);
    border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(18px); box-shadow: 0 18px 50px #000;
}
.mobile-bottom-nav a { display: grid; place-content: center; gap: 1px; color: #8fa0c5; text-decoration: none; text-align: center; font-size: .67rem; }
.mobile-bottom-nav i { font-size: 1.15rem; color: #d7e3ff; }
.avatar-circle { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; font-weight: 900; color: #08101c; background: linear-gradient(135deg, var(--cyan), var(--purple)); }
.screenshot-thumb { width: 110px; height: 70px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.coming-soon { filter: saturate(.55); position: relative; }
.coming-soon::after { content: "COMING SOON"; position: absolute; top: 18px; right: -35px; transform: rotate(35deg); background: var(--gold); color: #281900; padding: 6px 42px; font-size: .7rem; font-weight: 900; }
@media (min-width: 992px) { body { padding-bottom: 0; } .hero { padding: 80px 64px; min-height: 510px; display: flex; align-items: center; } }
