: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; }
.hub-tabs { display:flex; gap:8px; overflow-x:auto; padding-bottom:4px; }
.hub-tabs a { white-space:nowrap; text-decoration:none; color:var(--muted); padding:10px 16px; border-radius:999px; border:1px solid var(--line); background:rgba(255,255,255,.03); }
.hub-tabs a.active,.hub-tabs a:hover { color:#07101b; background:linear-gradient(105deg,var(--cyan),#7d8cff); }
.live-score-card { border-left:3px solid #ff4d76; transition:.2s ease; }
.live-score-card:hover,.event-mini:hover,.profile-card:hover { transform:translateY(-3px); border-color:rgba(36,232,255,.45); }
.news-row,.ranking-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:15px 0; border-bottom:1px solid var(--line); color:var(--text); text-decoration:none; }
.news-row small { display:block; color:var(--muted); margin-top:4px; }
.ranking-row strong { flex:1; }
.feed-row { padding:12px 0; border-bottom:1px solid var(--line); }
.feed-row small { display:block; color:var(--muted); margin-top:3px; }
.coin-card { border-color:rgba(255,207,90,.28); background:linear-gradient(145deg,rgba(61,45,13,.48),rgba(16,18,38,.9)); }
.prediction-option { padding:12px; border:1px solid var(--line); border-radius:12px; cursor:pointer; }
.team-logo { width:78px; height:78px; font-size:1.35rem; }
.news-content { line-height:1.8; color:#dbe6ff; }
.guest-benefit-modal { color:var(--text); background:linear-gradient(145deg,#151d3e,#080b1c); border:1px solid rgba(36,232,255,.25); border-radius:24px; box-shadow:0 25px 100px rgba(0,0,0,.65); position:relative; overflow:hidden; }
.guest-benefit-modal::before { content:""; position:absolute; width:220px; height:220px; border-radius:50%; right:-80px; top:-100px; background:rgba(155,92,255,.25); filter:blur(40px); }
.guest-close { position:absolute; z-index:2; right:18px; top:18px; }
.guest-benefits { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.guest-benefits span { padding:10px 12px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.03); font-size:.85rem; }
.guest-benefits i { color:var(--gold); margin-right:6px; }
.login-required { cursor:pointer; }
.level-badge { padding:6px 10px; border-radius:999px; color:#241600; background:linear-gradient(105deg,#ffe786,#ffb932); font-size:.72rem; font-weight:900; }
.mini-stat { padding:12px; border-radius:14px; background:rgba(255,255,255,.04); border:1px solid var(--line); }
.mini-stat small,.mini-stat strong { display:block; }
.earn-action-card { display:flex!important; align-items:center; gap:18px; color:var(--text); transition:.2s ease; min-height:132px; }
.earn-action-card:hover { transform:translateY(-3px); border-color:rgba(36,232,255,.45); }
.earn-action-card>i { font-size:2rem; color:var(--cyan); }
.earn-action-card p { color:var(--muted); margin:0; }
.streak-grid { display:grid; grid-template-columns:repeat(7,minmax(70px,1fr)); gap:10px; overflow-x:auto; }
.streak-day { min-width:70px; padding:14px 8px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.03); }
.streak-day small,.streak-day strong,.streak-day span { display:block; }
.streak-day strong { color:var(--gold); font-size:1.3rem; }
.streak-day.done { border-color:rgba(36,232,255,.55); background:rgba(36,232,255,.09); }
.spin-wheel { width:260px; height:260px; border-radius:50%; border:8px solid rgba(255,255,255,.12); background:conic-gradient(#24e8ff 0 60deg,#9b5cff 60deg 120deg,#ffcf5a 120deg 180deg,#ff4d76 180deg 240deg,#4a7cff 240deg 300deg,#35d58b 300deg); position:relative; transition:transform 2.6s cubic-bezier(.14,.77,.2,1); box-shadow:0 0 50px rgba(36,232,255,.25); }
.spin-wheel::after { content:""; position:absolute; inset:42%; border-radius:50%; background:#080b1c; border:4px solid #fff; }
.spin-wheel span { position:absolute; font-weight:900; color:#07101b; }
.spin-wheel span:nth-child(1){top:20px;left:115px}.spin-wheel span:nth-child(2){top:65px;right:28px}.spin-wheel span:nth-child(3){bottom:54px;right:32px}.spin-wheel span:nth-child(4){bottom:20px;left:118px}.spin-wheel span:nth-child(5){bottom:60px;left:32px}.spin-wheel span:nth-child(6){top:65px;left:30px}
.spin-wheel.spinning { transform:rotate(1440deg); }
.ad-screen { min-height:230px; display:grid; place-content:center; gap:12px; border:1px solid var(--line); border-radius:20px; background:radial-gradient(circle,rgba(36,232,255,.14),transparent 60%),#080b1c; }
.ad-screen i { font-size:4rem; color:var(--cyan); }
.ad-screen strong { font-size:1.4rem; }
.reward-price strong,.reward-price span { display:block; }
.reward-price strong { color:var(--gold); font-size:1.25rem; }
.coming-game-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.coming-game-mini { min-height:92px; padding:16px; display:flex; align-items:center; gap:12px; color:var(--text); text-decoration:none; transition:.2s ease; position:relative; }
.coming-game-mini:hover { transform:translateY(-3px); border-color:rgba(36,232,255,.4); }
.coming-game-mini>i:first-child { width:42px; height:42px; display:grid; place-items:center; border-radius:13px; background:rgba(255,255,255,.06); font-size:1.25rem; }
.coming-game-mini span { flex:1; min-width:0; }
.coming-game-mini strong,.coming-game-mini small { display:block; }
.coming-game-mini small { color:var(--gold); font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; }
.game-catalog-hero { background:radial-gradient(circle at 90% 10%,rgba(155,92,255,.18),transparent 35%),linear-gradient(145deg,rgba(21,28,59,.92),rgba(10,13,31,.86)); }
.game-catalog-card { min-height:270px; position:relative; transition:.2s ease; }
.game-catalog-card:hover { transform:translateY(-5px); box-shadow:0 25px 75px rgba(0,0,0,.35); }
.game-catalog-icon { width:58px; height:58px; display:grid; place-items:center; border-radius:18px; background:rgba(255,255,255,.07); font-size:1.7rem; color:var(--cyan); box-shadow:inset 0 0 0 1px var(--line); }
.game-detail-icon { width:82px; height:82px; font-size:2.35rem; }
.game-card-link { color:var(--cyan); font-weight:800; }
.game-detail-coming { position:relative; overflow:hidden; }
.game-detail-coming::after { content:""; position:absolute; width:380px; height:380px; right:-160px; top:-160px; border-radius:50%; background:rgba(155,92,255,.16); filter:blur(20px); pointer-events:none; }
.coming-feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; max-width:620px; }
.coming-feature-grid span { padding:12px 14px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.03); }
.coming-feature-grid i { color:var(--cyan); margin-right:7px; }
.game-accent-gold .game-catalog-icon,.game-accent-gold>i:first-child { color:#ffcf5a; }
.game-accent-purple .game-catalog-icon,.game-accent-purple>i:first-child { color:#b983ff; }
.game-accent-red .game-catalog-icon,.game-accent-red>i:first-child { color:#ff6688; }
.game-accent-orange .game-catalog-icon,.game-accent-orange>i:first-child { color:#ff9d4d; }
.game-accent-blue .game-catalog-icon,.game-accent-blue>i:first-child { color:#66a1ff; }
.game-accent-green .game-catalog-icon,.game-accent-green>i:first-child { color:#51dfa0; }
.discovery-promo { margin-top:48px; padding:22px 24px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:18px; border:1px solid var(--line); border-radius:20px; background:linear-gradient(135deg,rgba(20,27,57,.94),rgba(10,13,31,.88)); position:relative; box-shadow:0 18px 55px rgba(0,0,0,.2); }
.discovery-icon { width:54px; height:54px; display:grid; place-items:center; border-radius:16px; background:rgba(36,232,255,.09); color:var(--cyan); font-size:1.45rem; }
.discovery-copy h2 { font-size:1.15rem; margin:.2rem 0; }
.discovery-copy p { color:var(--muted); margin:0; font-size:.9rem; }
.discovery-dismiss { position:absolute; top:8px; right:8px; border:0; background:transparent; color:var(--muted); padding:6px; }
.discovery-gold .discovery-icon { color:var(--gold); background:rgba(255,207,90,.09); }
.discovery-purple .discovery-icon { color:#b983ff; background:rgba(155,92,255,.1); }
.discovery-red .discovery-icon { color:#ff6688; background:rgba(255,77,118,.1); }
.discovery-blue .discovery-icon { color:#66a1ff; background:rgba(74,124,255,.1); }
@media (min-width: 992px) { body { padding-bottom: 0; } .hero { padding: 80px 64px; min-height: 510px; display: flex; align-items: center; } }
@media (max-width: 991px) { .coming-game-strip { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 575px) { .coming-game-strip { grid-template-columns:1fr; } .discovery-promo { grid-template-columns:auto 1fr; padding:20px; } .discovery-promo>a { grid-column:1/-1; } .coming-feature-grid { grid-template-columns:1fr; } }
