/* ============================================================
   AVIATORX — COMPLETE STYLESHEET
   Dark neon theme with cyan / purple accents
   ============================================================ */

/* ---- DESIGN TOKENS ---- */
:root {
  --bg-deep:    #020209;
  --bg-main:    #060612;
  --bg-panel:   rgba(10,10,28,.92);
  --bg-card:    rgba(16,16,40,.85);
  --bg-input:   rgba(22,22,52,.9);
  --bg-hover:   rgba(30,30,60,.9);

  --cyan:       #00d4ff;
  --purple:     #7c3aed;
  --green:      #00ff88;
  --red:        #ff3366;
  --yellow:     #ffd700;
  --orange:     #ff8c00;
  --gold:       #f0c040;

  --neon-cyan:  0 0 8px #00d4ff, 0 0 24px rgba(0,212,255,.5);
  --neon-green: 0 0 8px #00ff88, 0 0 24px rgba(0,255,136,.5);
  --neon-red:   0 0 8px #ff3366, 0 0 24px rgba(255,51,102,.5);
  --neon-purp:  0 0 8px #7c3aed, 0 0 24px rgba(124,58,237,.5);

  --text-1: #eef0ff;
  --text-2: #8888aa;
  --text-3: #444466;

  --border-dim:  rgba(255,255,255,.07);
  --border-cyan: rgba(0,212,255,.25);
  --glass: rgba(255,255,255,.03);

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --radius-xl: 30px;

  --shadow: 0 8px 40px rgba(0,0,0,.7);
  --shadow-glow: 0 0 40px rgba(0,212,255,.08);
  --trans: all .25s cubic-bezier(.4,0,.2,1);

  --font-body: 'Inter', sans-serif;
  --font-disp: 'Orbitron', monospace;
  --font-num:  'Rajdhani', sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  background-image: radial-gradient(ellipse at 20% 0%, rgba(124,58,237,.08) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 100%, rgba(0,212,255,.06) 0%, transparent 50%);
  color: var(--text-1);
}
button { cursor: pointer; font-family: var(--font-body); }
input, select { font-family: var(--font-body); }
input[type=number] { -moz-appearance: textfield; }
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---- SCROLLBARS ---- */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-thumb { background: var(--border-dim); border-radius: 2px; }

/* ============================================================
   STAR FIELD
   ============================================================ */
.stars {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.star {
  position: absolute; border-radius: 50%; background: white;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--dly, 0s);
  opacity: 0;
}
@keyframes twinkle {
  0%,100% { opacity: 0; transform: scale(.5); }
  50%      { opacity: var(--br, .7); transform: scale(1); }
}

/* ============================================================
   NOTIFICATIONS
   ============================================================ */
#notifications {
  position: fixed; top: 70px; right: 18px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
}
.notif {
  padding: 11px 18px;
  border-radius: var(--radius-m);
  background: var(--bg-card);
  border-left: 3px solid var(--cyan);
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow);
  animation: slideRight .3s ease, fadeOut .3s ease 2.7s forwards;
  max-width: 280px;
}
.notif.success { border-color: var(--green); }
.notif.error   { border-color: var(--red);   }
.notif.warning { border-color: var(--yellow); }
@keyframes slideRight {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes fadeOut {
  to { opacity: 0; }
}

/* ============================================================
   AUTH SCREEN
   ============================================================ */
#auth-screen {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 30% 20%, rgba(124,58,237,.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(0,212,255,.1) 0%, transparent 50%),
              #020209;
}
.auth-wrapper {
  display: flex; flex-direction: column; align-items: center;
  gap: 28px; width: 100%; max-width: 420px; padding: 24px;
}

/* Logo */
.auth-logo { text-align: center; }
.logo-plane-wrap {
  position: relative; display: inline-block; margin-bottom: 6px;
}
.logo-plane-icon {
  font-size: 56px; display: block;
  animation: logoFloat 2.5s ease-in-out infinite;
  filter: drop-shadow(0 0 18px var(--cyan));
}
.logo-trail {
  position: absolute; top: 50%; right: 103%;
  transform: translateY(-50%);
  width: 50px; height: 6px;
  background: linear-gradient(to right, transparent, rgba(0,212,255,.6));
  border-radius: 100px; filter: blur(2px);
  animation: logoFloat 2.5s ease-in-out infinite reverse;
}
@keyframes logoFloat {
  0%,100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-10px) rotate(5deg); }
}
.logo-name {
  font-family: var(--font-disp);
  font-size: 42px; font-weight: 900; letter-spacing: 5px;
}
.logo-name span { color: var(--cyan); text-shadow: var(--neon-cyan); }
.logo-sub {
  font-size: 11px; letter-spacing: 4px;
  color: var(--text-2); margin-top: 3px;
}

/* Auth Card */
.auth-card {
  width: 100%;
  background: rgba(10,10,28,.88);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(0,212,255,.15);
  border-radius: var(--radius-xl);
  padding: 32px 30px 28px;
  box-shadow: 0 0 60px rgba(0,212,255,.06), 0 0 120px rgba(124,58,237,.04), var(--shadow);
}
.auth-tabs {
  display: flex; gap: 0; margin-bottom: 24px;
  background: var(--bg-input); border-radius: var(--radius-m); padding: 4px;
}
.auth-tab {
  flex: 1; padding: 9px;
  background: transparent; border: none;
  color: var(--text-2); font-size: 13px; font-weight: 600;
  letter-spacing: .5px; border-radius: var(--radius-s);
  transition: var(--trans);
}
.auth-tab.active {
  background: var(--purple); color: white;
  box-shadow: var(--neon-purp);
}
.auth-form { display: none; flex-direction: column; gap: 16px; }
.auth-form.active { display: flex; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.field-label { font-size: 11px; font-weight: 600; color: var(--text-2); letter-spacing: 1px; text-transform: uppercase; }
.field-wrap {
  display: flex; align-items: center;
  background: var(--bg-input); border: 1px solid var(--border-dim);
  border-radius: var(--radius-m); overflow: hidden; transition: var(--trans);
}
.field-wrap:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(0,212,255,.1); }
.field-ico { padding: 11px 13px; font-size: 15px; border-right: 1px solid var(--border-dim); }
.field-wrap input {
  flex: 1; padding: 11px 14px;
  background: transparent; border: none; outline: none;
  color: var(--text-1); font-size: 14px;
}
.field-wrap input::placeholder { color: var(--text-3); }
.btn-auth {
  margin-top: 4px; padding: 13px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  border: none; border-radius: var(--radius-m);
  color: white; font-family: var(--font-disp);
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  transition: var(--trans);
  box-shadow: 0 4px 18px rgba(124,58,237,.4);
}
.btn-auth:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(124,58,237,.6); }
.btn-auth:active { transform: translateY(0); }
.auth-msg { min-height: 18px; font-size: 12px; text-align: center; transition: var(--trans); }
.auth-msg.err { color: var(--red); }
.auth-msg.ok  { color: var(--green); }
.auth-bonus { text-align: center; color: var(--yellow); font-size: 13px; }

/* ============================================================
   GAME SCREEN LAYOUT
   ============================================================ */
#game-screen {
  position: fixed; inset: 0; z-index: 10;
  display: flex; flex-direction: column;
}

/* ---- HEADER ---- */
#header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; height: 58px; flex-shrink: 0;
  background: rgba(6,6,18,.95);
  border-bottom: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(16px) saturate(1.3);
  z-index: 50; gap: 12px;
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hdr-logo {
  display: flex; align-items: center; gap: 7px; flex-shrink: 0;
  font-family: var(--font-disp); font-size: 17px; font-weight: 900; letter-spacing: 2px;
}
.hdr-plane { font-size: 20px; filter: drop-shadow(0 0 7px var(--cyan)); }
.hdr-name span { color: var(--cyan); }

.hdr-center { flex: 1; overflow: hidden; }
#history-bar {
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
}
#history-bar::-webkit-scrollbar { display: none; }
.hist-lbl { font-size: 9px; color: var(--text-3); letter-spacing: 1px; white-space: nowrap; flex-shrink: 0; }
#hist-pills { display: flex; gap: 4px; }
.hpill {
  padding: 2px 9px; border-radius: 100px;
  font-family: var(--font-num); font-size: 12px; font-weight: 700;
  white-space: nowrap; border: 1px solid;
}
.hpill.lo  { color: var(--red);    border-color: rgba(255,51,102,.4);  background: rgba(255,51,102,.1); }
.hpill.med { color: var(--cyan);   border-color: rgba(0,212,255,.4);   background: rgba(0,212,255,.1); }
.hpill.hi  { color: var(--green);  border-color: rgba(0,255,136,.4);   background: rgba(0,255,136,.1); }
.hpill.ep  { color: var(--yellow); border-color: rgba(255,215,0,.4);   background: rgba(255,215,0,.1); }

.hdr-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.bal-chip {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: var(--radius-l);
  background: rgba(0,212,255,.06);
  border: 1px solid rgba(0,212,255,.18);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 20px rgba(0,212,255,.04);
}
.bal-ico { font-size: 17px; }
.bal-info { display: flex; flex-direction: column; }
.bal-label { font-size: 9px; color: var(--text-3); letter-spacing: 1px; }
#hdr-balance { font-family: var(--font-disp); font-size: 14px; font-weight: 700; color: var(--cyan); }

.btn-wallet {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 16px; border: none; border-radius: var(--radius-m);
  background: linear-gradient(135deg, rgba(124,58,237,.9), rgba(0,212,255,.9));
  color: white; font-size: 12px; font-weight: 600; transition: var(--trans);
  box-shadow: 0 2px 12px rgba(124,58,237,.3);
  position: relative; overflow: hidden;
}
.btn-wallet::before {
  content:''; position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent 60%);
}
.btn-wallet:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(124,58,237,.5); }

.user-chip {
  display: flex; align-items: center; gap: 7px;
  padding: 3px 7px 3px 3px;
  background: var(--bg-panel); border: 1px solid var(--border-dim); border-radius: var(--radius-l);
}
.user-av {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: white;
}
#hdr-username { font-size: 13px; font-weight: 600; }
.btn-logout {
  background: transparent; border: none;
  color: var(--text-2); font-size: 15px; padding: 3px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.btn-logout:hover { color: var(--red); }

/* ---- GAME BODY ---- */
#game-body { flex: 1; display: flex; overflow: hidden; }

/* SIDEBARS */
.side-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-bottom: 1px solid var(--border-dim); flex-shrink: 0;
}
.side-title { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--text-2); text-transform: uppercase; }
.live-badge {
  background: var(--red); color: white;
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: 100px; animation: pulseAnim 1.4s ease-in-out infinite;
}
@keyframes pulseAnim { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

#live-sidebar {
  width: 195px; min-width: 195px; flex-shrink: 0;
  background: var(--bg-panel); border-right: 1px solid var(--border-dim);
  display: flex; flex-direction: column; overflow: hidden;
}
#live-list {
  flex: 1; overflow-y: auto; padding: 6px;
  scrollbar-width: thin; scrollbar-color: var(--border-dim) transparent;
}
.lbi {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 8px; border-radius: var(--radius-s); margin-bottom: 3px;
  background: var(--bg-card); font-size: 11px;
}
.lbi-l { display: flex; align-items: center; gap: 6px; }
.lbi-av {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: white; flex-shrink: 0;
}
.lbi-name { font-weight: 600; color: var(--text-2); font-size: 11px; }
.lbi-amt  { font-weight: 700; font-size: 11px; }
.lbi-m    { font-size: 11px; font-weight: 700; min-width: 38px; text-align: right; }
.lbi-m.won { color: var(--green); }
.lbi-m.lost { color: var(--red); }
.lbi-m.act  { color: var(--cyan); animation: pulseAnim 1s infinite; }

#mybets-sidebar {
  width: 215px; min-width: 215px; flex-shrink: 0;
  background: var(--bg-panel); border-left: 1px solid var(--border-dim);
  display: flex; flex-direction: column; overflow: hidden;
}
#mybets-list {
  flex: 1; overflow-y: auto; padding: 6px;
  scrollbar-width: thin; scrollbar-color: var(--border-dim) transparent;
}
.mbi {
  padding: 9px 10px; border-radius: var(--radius-s);
  margin-bottom: 5px; background: var(--bg-card);
  border-left: 3px solid var(--border-dim); font-size: 12px;
}
.mbi.won { border-color: var(--green); }
.mbi.lost { border-color: var(--red); }
.mbi-top { display: flex; justify-content: space-between; margin-bottom: 3px; }
.mbi-rnd { font-size: 9px; color: var(--text-3); }
.mbi-cr  { font-weight: 700; font-size: 12px; }
.mbi-cr.won  { color: var(--green); }
.mbi-cr.lost { color: var(--red);   }
.mbi-bot { display: flex; justify-content: space-between; }
.mbi-bet { color: var(--text-2); }
.mbi-res { font-weight: 700; }
.mbi-res.won  { color: var(--green); }
.mbi-res.lost { color: var(--red);   }

.empty-msg { text-align: center; color: var(--text-3); font-size: 12px; padding: 20px 10px; line-height: 1.8; }

/* ---- GAME CENTER ---- */
#game-center {
  flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0;
}

/* CANVAS WRAPPER */
#canvas-wrap {
  flex: 1; position: relative;
  background: #04040e; overflow: hidden; min-height: 0;
}
#game-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* PLANE */
#plane-el {
  position: absolute; pointer-events: none;
  width: 60px; height: 60px;
  transform-origin: center center;
  z-index: 10;
  transition: transform .1s linear;
}
#plane-svg { width: 60px; height: 60px; filter: drop-shadow(0 0 10px var(--cyan)); }
#plane-exhaust {
  position: absolute; top: 50%; right: 100%;
  transform: translateY(-50%);
  width: 36px; height: 7px;
  background: linear-gradient(to right, transparent, rgba(0,212,255,.6));
  border-radius: 100px; filter: blur(2px);
  animation: exhaustPulse .5s ease-in-out infinite alternate;
}
@keyframes exhaustPulse { from { width: 28px; opacity: .6; } to { width: 44px; opacity: 1; } }

/* OVERLAYS */
#mult-display {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); text-align: center; pointer-events: none;
}
#mult-val {
  font-family: var(--font-disp); font-size: 72px; font-weight: 900;
  color: var(--cyan); text-shadow: var(--neon-cyan); line-height: 1;
  transition: color .4s ease;
}
.xsuffix { font-size: 40px; vertical-align: 20px; }
#mult-sub { font-size: 10px; letter-spacing: 3px; color: var(--text-3); margin-top: 6px; }

#cd-display {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); text-align: center; pointer-events: none;
}
#cd-label { font-size: 11px; letter-spacing: 3px; color: var(--text-2); margin-bottom: 8px; }
#cd-num {
  font-family: var(--font-disp); font-size: 86px; font-weight: 900;
  color: var(--purple); text-shadow: var(--neon-purp); line-height: 1;
  animation: cdPop .9s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes cdPop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#cd-bar-wrap {
  width: 180px; height: 3px; background: rgba(255,255,255,.08);
  border-radius: 100px; margin: 12px auto 0; overflow: hidden;
}
#cd-bar {
  height: 100%; background: var(--purple);
  border-radius: 100px; width: 100%;
  transition: width 1s linear;
  box-shadow: 0 0 8px var(--purple);
}
#cd-hint { font-size: 11px; color: var(--green); margin-top: 10px; letter-spacing: 1px; animation: pulseAnim 1s infinite; }

#crash-display {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); text-align: center;
  animation: crashPop .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes crashPop {
  from { transform: translate(-50%,-50%) scale(.4); opacity: 0; }
  to   { transform: translate(-50%,-50%) scale(1);  opacity: 1; }
}
#crash-title {
  font-family: var(--font-disp); font-size: 40px; font-weight: 900;
  color: var(--red); text-shadow: var(--neon-red);
  animation: shakeAnim .5s ease;
}
@keyframes shakeAnim {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-10px); } 40% { transform: translateX(10px); }
  60% { transform: translateX(-10px); } 80% { transform: translateX(10px); }
}
#crash-at { font-size: 16px; color: var(--text-2); margin-top: 6px; }
#crash-mult { color: var(--red); font-weight: 700; }

/* ============================================================
   BET PANELS
   ============================================================ */
#bet-panels {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border-dim); flex-shrink: 0;
}
.bet-panel {
  background: var(--bg-panel); border-right: 1px solid var(--border-dim);
  padding: 11px 14px; display: flex; flex-direction: column; gap: 9px;
}
.bet-panel:last-child { border-right: none; }

/* Header */
.bp-hdr { display: flex; align-items: center; justify-content: space-between; }
.bp-num { font-family: var(--font-disp); font-size: 11px; font-weight: 800; color: var(--cyan); letter-spacing: 1px; }
.bp-toggles { display: flex; gap: 10px; }
.tog-wrap { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.tog-lbl { font-size: 10px; color: var(--text-2); white-space: nowrap; }

/* Toggle switch */
.tog { position: relative; display: inline-block; width: 32px; height: 17px; }
.tog input { opacity: 0; width: 0; height: 0; position: absolute; }
.tog-slider {
  position: absolute; inset: 0;
  background: var(--bg-input); border: 1px solid var(--border-dim);
  border-radius: 100px; cursor: pointer; transition: var(--trans);
}
.tog-slider::before {
  content: ''; position: absolute; width: 11px; height: 11px;
  left: 3px; top: 50%; transform: translateY(-50%);
  background: var(--text-3); border-radius: 50%; transition: var(--trans);
}
.tog input:checked + .tog-slider { background: rgba(124,58,237,.3); border-color: var(--purple); }
.tog input:checked + .tog-slider::before { transform: translate(14px,-50%); background: var(--purple); box-shadow: 0 0 5px var(--purple); }

/* BP Body */
.bp-body { display: flex; align-items: flex-end; gap: 10px; }
.bp-left { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.bp-right { flex-shrink: 0; }

/* Amount */
.amt-lbl { font-size: 9px; color: var(--text-3); letter-spacing: 1px; text-transform: uppercase; }
.amt-row { display: flex; align-items: center; gap: 4px; }
.adj-btn {
  width: 30px; height: 34px;
  background: var(--bg-input); border: 1px solid var(--border-dim);
  border-radius: var(--radius-s); color: var(--text-2);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.adj-btn:hover { background: var(--bg-hover); border-color: var(--border-cyan); color: var(--text-1); }
.amt-inp {
  flex: 1; height: 34px; text-align: center;
  background: var(--bg-input); border: 1px solid var(--border-dim);
  border-radius: var(--radius-s); color: var(--text-1);
  font-family: var(--font-num); font-size: 15px; font-weight: 700; outline: none;
  transition: var(--trans);
}
.amt-inp:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(0,212,255,.12); }
.quick-row { display: flex; gap: 4px; }
.qbtn {
  flex: 1; padding: 4px 0;
  background: var(--bg-input); border: 1px solid var(--border-dim);
  border-radius: var(--radius-s); color: var(--text-2);
  font-size: 9px; font-weight: 600; transition: var(--trans);
}
.qbtn:hover { background: rgba(0,212,255,.1); color: var(--cyan); border-color: rgba(0,212,255,.3); }
.ac-row { display: flex; align-items: center; gap: 7px; }
.ac-lbl { font-size: 10px; color: var(--text-2); white-space: nowrap; }
.ac-inp {
  width: 75px; height: 28px; text-align: center;
  background: var(--bg-input); border: 1px solid var(--border-dim);
  border-radius: var(--radius-s); color: var(--text-1);
  font-family: var(--font-num); font-size: 13px; font-weight: 700; outline: none;
  transition: var(--trans);
}
.ac-inp:focus { border-color: var(--purple); }

/* Bet Button */
.bet-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 110px; height: 70px;
  background: linear-gradient(140deg, #1cc85a, #0d9a42);
  border: none; border-radius: var(--radius-m); color: white;
  transition: var(--trans);
  box-shadow: 0 4px 20px rgba(28,200,90,.35), inset 0 1px 0 rgba(255,255,255,.2);
  position: relative; overflow: hidden;
}
.bet-btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.15) 0%, transparent 50%);
}
.bet-btn:hover:not(.disabled) { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 30px rgba(28,200,90,.5); }
.bet-btn:active:not(.disabled) { transform: translateY(0) scale(.98); }
.bet-btn.queued { background: linear-gradient(140deg, #e03830, #a81e18); box-shadow: 0 4px 20px rgba(224,56,48,.35); }
.bet-btn.queued:hover { box-shadow: 0 8px 30px rgba(224,56,48,.5); }
.bet-btn.locked { background: var(--bg-input); box-shadow: none; cursor: not-allowed; opacity: .5; }
.bb-act { font-family: var(--font-disp); font-size: 9px; font-weight: 800; letter-spacing: 1.5px; }
.bb-amt { font-family: var(--font-num); font-size: 16px; font-weight: 700; margin-top: 2px; }

/* Active Bet / Cashout */
.active-bet {
  background: rgba(0,212,255,.05); border: 1px solid rgba(0,212,255,.2);
  border-radius: var(--radius-m); padding: 9px; flex-direction: column; gap: 7px;
}
.ab-row { display: flex; align-items: center; gap: 8px; font-size: 12px; flex-wrap: wrap; }
.ab-lbl { color: var(--text-2); }
.ab-val { font-weight: 700; }
.win-color { color: var(--green); }
.cashout-btn {
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  border: none; border-radius: var(--radius-m);
  color: #000; font-family: var(--font-disp);
  font-size: 11px; font-weight: 900; letter-spacing: 1.5px;
  transition: var(--trans);
  animation: cashoutGlow 1.2s ease-in-out infinite;
  position: relative; overflow: hidden;
}
.cashout-btn::before {
  content:''; position:absolute; top:-50%; left:-50%; width:200%; height:200%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(255,255,255,.3) 10%, transparent 20%);
  animation: cashoutSpin 2s linear infinite;
}
@keyframes cashoutSpin { to { transform: rotate(360deg); } }
@keyframes cashoutGlow {
  0%,100% { box-shadow: 0 4px 18px rgba(255,215,0,.4); }
  50%      { box-shadow: 0 4px 36px rgba(255,215,0,.8), 0 0 60px rgba(255,140,0,.3); }
}
.cashout-btn:hover { transform: scale(1.03); }

/* Bet result */
.bet-result {
  padding: 7px 12px; border-radius: var(--radius-s);
  font-size: 12px; font-weight: 700; text-align: center;
  animation: popIn .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popIn { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.bet-result.won  { background: rgba(0,255,136,.09); color: var(--green); border: 1px solid rgba(0,255,136,.3); }
.bet-result.lost { background: rgba(255,51,102,.09); color: var(--red);   border: 1px solid rgba(255,51,102,.3); }

/* ============================================================
   WALLET MODAL
   ============================================================ */
#wallet-modal {
  position: fixed; inset: 0; z-index: 600;
  display: flex; align-items: center; justify-content: center;
}
.wm-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.8); backdrop-filter: blur(12px);
}
.wm-box {
  position: relative; width: 460px; max-height: 88vh; overflow-y: auto;
  background: rgba(10,10,28,.94);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(0,212,255,.15);
  border-radius: var(--radius-xl); padding: 24px;
  box-shadow: 0 0 80px rgba(0,212,255,.1), 0 0 160px rgba(124,58,237,.05), var(--shadow);
  animation: modalIn .35s cubic-bezier(.34,1.56,.64,1);
  scrollbar-width: thin; scrollbar-color: var(--border-dim) transparent;
}
@keyframes modalIn {
  from { transform: scale(.88) translateY(24px); opacity: 0; }
  to   { transform: scale(1)   translateY(0);    opacity: 1; }
}
.wm-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.wm-title { font-family: var(--font-disp); font-size: 18px; font-weight: 800; color: var(--cyan); }
.wm-close {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-input); border: 1px solid var(--border-dim);
  color: var(--text-2); font-size: 15px; display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.wm-close:hover { color: var(--red); border-color: var(--red); }
.wm-balcard {
  text-align: center; padding: 18px;
  background: linear-gradient(135deg, rgba(0,212,255,.07), rgba(124,58,237,.07));
  border: 1px solid var(--border-dim); border-radius: var(--radius-l); margin-bottom: 18px;
}
.wmb-label { font-size: 10px; color: var(--text-2); letter-spacing: 2px; text-transform: uppercase; }
.wmb-amount {
  font-family: var(--font-disp); font-size: 34px; font-weight: 900;
  color: var(--cyan); text-shadow: var(--neon-cyan); display: block; margin: 5px 0;
}
.wmb-sub { font-size: 10px; color: var(--text-3); }
.wm-tabs { display: flex; gap: 4px; background: var(--bg-input); border-radius: var(--radius-m); padding: 4px; margin-bottom: 14px; }
.wmt { flex: 1; padding: 8px; background: transparent; border: none; color: var(--text-2); font-size: 11px; font-weight: 600; border-radius: var(--radius-s); transition: var(--trans); }
.wmt.active { background: var(--purple); color: white; }
.wp { display: none; flex-direction: column; gap: 11px; }
.wp.active { display: flex; }
.preset-row { display: flex; flex-wrap: wrap; gap: 6px; }
.preset {
  padding: 6px 12px;
  background: var(--bg-input); border: 1px solid var(--border-dim);
  border-radius: var(--radius-m); color: var(--text-2);
  font-size: 12px; font-weight: 600; transition: var(--trans);
}
.preset:hover { background: rgba(0,212,255,.1); color: var(--cyan); border-color: rgba(0,212,255,.4); }
.preset.sel { background: rgba(0,212,255,.15); color: var(--cyan); border-color: var(--cyan); }
.wfg { display: flex; flex-direction: column; gap: 5px; }
.wfg label { font-size: 10px; color: var(--text-2); letter-spacing: 1px; text-transform: uppercase; }
.wfg input, .wfg select {
  padding: 10px 13px;
  background: var(--bg-input); border: 1px solid var(--border-dim);
  border-radius: var(--radius-m); color: var(--text-1); font-size: 13px; outline: none;
  transition: var(--trans);
}
.wfg input:focus, .wfg select:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(0,212,255,.1); }
.wfg select {
  cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238888aa' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px;
}
option { background: var(--bg-panel); }
.avail-note { font-size: 11px; color: var(--text-3); }
.wact-btn {
  padding: 12px; background: linear-gradient(135deg, var(--purple), var(--cyan));
  border: none; border-radius: var(--radius-m);
  color: white; font-family: var(--font-disp); font-size: 12px;
  font-weight: 800; letter-spacing: 2px; transition: var(--trans);
}
.wact-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124,58,237,.5); }
.wact-msg { min-height: 16px; font-size: 12px; text-align: center; }
.wact-msg.ok  { color: var(--green); }
.wact-msg.err { color: var(--red);   }
.txn-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 11px; background: var(--bg-card); border-radius: var(--radius-s); font-size: 12px;
}
.txn-left { display: flex; flex-direction: column; gap: 2px; }
.txn-type { font-weight: 600; }
.txn-type.dep { color: var(--green); }
.txn-type.wd  { color: var(--red); }
.txn-date { font-size: 10px; color: var(--text-3); }
.txn-amt { font-family: var(--font-num); font-size: 14px; font-weight: 700; }
.txn-amt.dep { color: var(--green); }
.txn-amt.wd  { color: var(--red);   }

/* ============================================================
   ISSUE / SUPPORT STYLES
   ============================================================ */
.issue-section-hdr {
  font-size: 12px; font-weight: 700; color: var(--text-2);
  letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 0 6px; border-bottom: 1px solid var(--border-dim);
}
.wfg textarea {
  padding: 10px 13px; resize: vertical; min-height: 90px;
  background: var(--bg-input); border: 1px solid var(--border-dim);
  border-radius: var(--radius-m); color: var(--text-1); font-size: 13px;
  outline: none; transition: var(--trans); font-family: var(--font-body);
  line-height: 1.5;
}
.wfg textarea:focus { border-color: var(--red); box-shadow: 0 0 0 2px rgba(255,51,102,.1); }
.issue-raise-btn {
  background: linear-gradient(135deg, #ff3366, #c0001a) !important;
  box-shadow: 0 4px 16px rgba(255,51,102,.4) !important;
}
.issue-raise-btn:hover { box-shadow: 0 6px 24px rgba(255,51,102,.6) !important; }

/* Issue cards */
.issue-card {
  background: var(--bg-card); border-radius: var(--radius-m);
  padding: 12px 14px; margin-bottom: 8px;
  border-left: 3px solid var(--yellow);
  display: flex; flex-direction: column; gap: 6px;
}
.issue-card-hdr { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.issue-type-tag {
  font-size: 11px; font-weight: 700; color: var(--yellow);
  background: rgba(255,215,0,.1); border: 1px solid rgba(255,215,0,.3);
  border-radius: 100px; padding: 2px 10px;
}
.issue-status-tag { font-size: 11px; font-weight: 700; }
.issue-msg-text { font-size: 12px; color: var(--text-2); line-height: 1.6; word-break: break-word; }
.issue-admin-reply {
  background: rgba(0,212,255,.07); border: 1px solid var(--border-cyan);
  border-radius: var(--radius-s); padding: 8px 12px; font-size: 12px;
  color: var(--cyan); line-height: 1.6;
}
.issue-reply-label { font-weight: 700; display: block; margin-bottom: 3px; }
.issue-date { font-size: 10px; color: var(--text-3); }

/* ============================================================
   UPI QR DEPOSIT STYLES
   ============================================================ */
.dep-step-header {
  display: flex; align-items: center; gap: 10px; margin-top: 4px;
}
.dep-step-num {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: white; font-size: 9px; font-weight: 800; letter-spacing: 1.5px;
  padding: 3px 9px; border-radius: 100px;
}
.dep-step-lbl { font-size: 12px; font-weight: 600; color: var(--text-2); }
.upi-qr-box {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border-dim);
  border-radius: var(--radius-l); padding: 16px;
}
.upi-qr-img {
  width: 130px; height: 130px; border-radius: var(--radius-m);
  background: white; padding: 6px; flex-shrink: 0;
  border: 2px solid var(--border-cyan);
  box-shadow: 0 0 20px rgba(0,212,255,.18);
}
.upi-qr-info { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.upi-qr-label { font-size: 9px; color: var(--text-3); letter-spacing: 2px; text-transform: uppercase; }
.upi-id-text {
  font-family: var(--font-num); font-size: 14px; font-weight: 700;
  color: var(--cyan); word-break: break-all;
}
.upi-copy-btn {
  background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.3);
  color: var(--cyan); border-radius: var(--radius-s);
  padding: 6px 12px; font-size: 11px; font-weight: 600;
  transition: var(--trans); cursor: pointer; width: fit-content;
}
.upi-copy-btn:hover { background: rgba(0,212,255,.2); }
.upi-note { font-size: 10px; color: var(--text-3); line-height: 1.5; }
.utr-info-box {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(255,215,0,.06); border: 1px solid rgba(255,215,0,.2);
  border-radius: var(--radius-m); padding: 10px 13px;
  font-size: 11px; color: var(--text-2); line-height: 1.6;
}
.utr-info-box strong { color: var(--yellow); }
.dep-policy-note {
  text-align: center; font-size: 11px; color: var(--text-3);
  padding: 6px 0; border-top: 1px solid var(--border-dim); margin-top: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1050px) {
  #live-sidebar { width: 165px; min-width: 165px; }
  #mybets-sidebar { width: 175px; min-width: 175px; }
}
@media (max-width: 860px) {
  #live-sidebar, #mybets-sidebar { display: none; }
  #mult-val { font-size: 52px; }
}
@media (max-width: 600px) {
  .wm-box { width: 95vw; padding: 16px; }
  #bet-panels { grid-template-columns: 1fr; }
  .bet-panel { border-right: none; border-bottom: 1px solid var(--border-dim); }
  .bet-btn { width: 90px; height: 60px; }
  .upi-qr-box { flex-direction: column; align-items: center; text-align: center; }
  .upi-copy-btn { width: 100%; }
}

/* ============================================================
   GAME SWITCH BAR
   ============================================================ */
#game-switch-bar {
  display: flex; gap: 0; padding: 6px 10px;
  background: var(--bg-panel); border-top: 1px solid var(--border-dim); flex-shrink: 0;
}
.gsw-tab {
  padding: 7px 20px; border: none; border-radius: var(--radius-m);
  background: transparent; color: var(--text-2);
  font-size: 12px; font-weight: 700; letter-spacing: .5px; transition: var(--trans); cursor: pointer;
}
.gsw-tab.active { background: linear-gradient(135deg, var(--purple), var(--cyan)); color: white; box-shadow: 0 2px 12px rgba(124,58,237,.4); }

/* ============================================================
   COLOR PREDICTION GAME
   ============================================================ */
#color-game-panel { background: var(--bg-panel); flex-shrink: 0; border-top: 1px solid var(--border-dim); }
.cg-wrap { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.cg-timer-row { display: flex; align-items: center; gap: 10px; }
.cg-timer-lbl { font-size: 11px; color: var(--text-3); letter-spacing: 1px; }
.cg-timer-val { font-family: var(--font-disp); font-size: 15px; font-weight: 800; color: var(--yellow); min-width: 34px; }
.cg-timer-bar-wrap { flex: 1; height: 5px; background: rgba(255,255,255,.06); border-radius: 100px; overflow: hidden; }
.cg-timer-bar { height: 100%; background: linear-gradient(90deg, var(--purple), var(--cyan)); border-radius: 100px; transition: width 1s linear; }
.cg-history-row { display: flex; align-items: center; gap: 8px; }
.cg-hist-lbl { font-size: 10px; color: var(--text-3); white-space: nowrap; }
.cg-history { display: flex; gap: 4px; flex-wrap: wrap; }
.cgh-pill { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; color: white; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.cg-colors { display: flex; gap: 10px; }
.cg-color-btn { flex: 1; padding: 14px 8px; border: 2px solid transparent; border-radius: var(--radius-m); background: var(--bg-card); display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; transition: var(--trans); }
.cg-color-btn:hover { transform: translateY(-3px); }
.cg-color-btn.red.selected    { border-color: #ff3366; box-shadow: 0 0 20px rgba(255,51,102,.5); transform: translateY(-3px); }
.cg-color-btn.green.selected  { border-color: #00cc66; box-shadow: 0 0 20px rgba(0,204,102,.5);  transform: translateY(-3px); }
.cg-color-btn.violet.selected { border-color: #9c27b0; box-shadow: 0 0 20px rgba(156,39,176,.5); transform: translateY(-3px); }
.cg-color-circle { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.cg-color-name { font-family: var(--font-disp); font-size: 10px; font-weight: 800; color: var(--text-1); letter-spacing: 1px; }
.cg-color-mult { font-family: var(--font-num); font-size: 15px; font-weight: 700; color: var(--yellow); }
.cg-bet-row { display: flex; flex-direction: column; gap: 8px; }
.cg-quick-btns { display: flex; gap: 6px; }
.cg-quick { flex: 1; padding: 5px 0; background: var(--bg-input); border: 1px solid var(--border-dim); border-radius: var(--radius-s); color: var(--text-2); font-size: 11px; font-weight: 600; transition: var(--trans); }
.cg-quick:hover { background: rgba(0,212,255,.1); color: var(--cyan); border-color: rgba(0,212,255,.3); }
.cg-input-wrap { display: flex; gap: 8px; align-items: center; }
#cg-amt { flex: 1; padding: 10px 13px; background: var(--bg-input); border: 1px solid var(--border-dim); border-radius: var(--radius-m); color: var(--text-1); font-size: 14px; outline: none; transition: var(--trans); }
#cg-amt:focus { border-color: var(--cyan); }
.cg-bet-submit { padding: 10px 22px; background: linear-gradient(135deg, #1aa051, #0d7a3a); border: none; border-radius: var(--radius-m); color: white; font-family: var(--font-disp); font-size: 10px; font-weight: 800; letter-spacing: 1px; transition: var(--trans); box-shadow: 0 4px 14px rgba(26,160,81,.4); white-space: nowrap; }
.cg-bet-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,160,81,.6); }
.cg-bet-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.cg-result { padding: 12px 16px; border-radius: var(--radius-m); font-size: 14px; font-weight: 700; text-align: center; animation: popIn .4s cubic-bezier(.34,1.56,.64,1); }
.cg-result.won     { background: rgba(0,255,136,.09); color: var(--green); border: 1px solid rgba(0,255,136,.3); }
.cg-result.lost    { background: rgba(255,51,102,.09); color: var(--red);   border: 1px solid rgba(255,51,102,.3); }
.cg-result.neutral { background: rgba(255,255,255,.04); color: var(--text-2); border: 1px solid var(--border-dim); }

/* ============================================================
   BONUS PANEL STYLES
   ============================================================ */
.bonus-section-hdr { font-size: 11px; font-weight: 700; color: var(--text-2); letter-spacing: 1px; text-transform: uppercase; padding: 6px 0 4px; border-bottom: 1px solid var(--border-dim); }
.wager-progress-box { background: var(--bg-card); border-radius: var(--radius-m); padding: 14px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--border-dim); }
.wager-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.wager-lbl { color: var(--text-2); }
.wager-val { font-weight: 700; color: var(--cyan); font-family: var(--font-num); font-size: 13px; }
.wager-bar-wrap { height: 6px; background: rgba(255,255,255,.06); border-radius: 100px; overflow: hidden; }
.wager-bar { height: 100%; background: linear-gradient(90deg, var(--purple), var(--green)); border-radius: 100px; transition: width .6s ease; }
.wager-hint { font-size: 11px; color: var(--text-3); line-height: 1.5; }
.bonus-card-row { display: flex; gap: 10px; }
.bonus-card { flex: 1; background: var(--bg-card); border: 1px solid var(--border-dim); border-radius: var(--radius-m); padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 5px; transition: var(--trans); }
.bonus-card:hover { border-color: var(--purple); background: rgba(124,58,237,.08); }
.bonus-card-icon { font-size: 26px; }
.bonus-card-title { font-size: 11px; font-weight: 700; color: var(--text-2); letter-spacing: 1px; }
.bonus-card-amt { font-family: var(--font-disp); font-size: 22px; font-weight: 900; color: var(--yellow); }
.bonus-card-sub { font-size: 10px; color: var(--text-3); }
.bonus-claim-btn { margin-top: 4px; padding: 7px 18px; background: linear-gradient(135deg, var(--purple), var(--cyan)); border: none; border-radius: var(--radius-m); color: white; font-size: 11px; font-weight: 700; transition: var(--trans); cursor: pointer; }
.bonus-claim-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(124,58,237,.5); }
.bonus-claim-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.referral-box { background: var(--bg-card); border-radius: var(--radius-m); padding: 14px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--border-dim); }
.ref-info-row { display: flex; justify-content: space-around; }
.ref-stat { text-align: center; }
.ref-stat-num { font-family: var(--font-disp); font-size: 18px; font-weight: 900; color: var(--yellow); }
.ref-stat-lbl { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.ref-code-row, .ref-link-row { display: flex; flex-direction: column; gap: 5px; }
.ref-code-lbl { font-size: 10px; color: var(--text-3); letter-spacing: 1px; text-transform: uppercase; }
.ref-code-wrap, .ref-link-wrap { display: flex; align-items: center; gap: 8px; background: var(--bg-input); border: 1px solid var(--border-dim); border-radius: var(--radius-m); padding: 8px 12px; }
.ref-code-val { flex: 1; font-family: var(--font-disp); font-size: 15px; font-weight: 800; color: var(--cyan); letter-spacing: 2px; }
.ref-link-val { flex: 1; font-size: 11px; color: var(--text-2); word-break: break-all; }
.ref-copy-btn { background: rgba(124,58,237,.2); border: 1px solid rgba(124,58,237,.4); color: var(--purple); border-radius: var(--radius-s); padding: 5px 10px; font-size: 10px; font-weight: 700; cursor: pointer; transition: var(--trans); white-space: nowrap; }
.ref-copy-btn:hover { background: rgba(124,58,237,.4); color: white; }

/* ============================================================
   PREMIUM EFFECTS & MICRO-ANIMATIONS
   ============================================================ */

/* Ambient floating glow orbs */
#canvas-wrap::before, #canvas-wrap::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(60px); opacity: .15;
}
#canvas-wrap::before {
  width: 200px; height: 200px; bottom: -40px; left: -40px;
  background: var(--purple);
  animation: floatOrb1 8s ease-in-out infinite;
}
#canvas-wrap::after {
  width: 160px; height: 160px; top: -30px; right: -30px;
  background: var(--cyan);
  animation: floatOrb2 10s ease-in-out infinite;
}
@keyframes floatOrb1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-20px) scale(1.2); }
}
@keyframes floatOrb2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-20px,30px) scale(1.15); }
}

/* Enhanced multiplier glow */
#mult-val { text-shadow: var(--neon-cyan), 0 0 60px rgba(0,212,255,.3); }

/* Smooth panel hover effects */
.bet-panel { transition: var(--trans); }
.bet-panel:hover { background: rgba(14,14,30,.95); }

/* Live bet items entrance animation */
.lbi { animation: slideIn .3s ease backwards; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: none; }
}

/* My bets entrance */
.mbi { animation: slideInRight .3s ease backwards; }
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

/* History pill hover */
.hpill { transition: var(--trans); }
.hpill:hover { transform: scale(1.15); }

/* Enhanced focus rings */
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,212,255,.15), 0 0 20px rgba(0,212,255,.05) !important;
}

/* Premium loading shimmer */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Tab hover glow */
.wmt:hover:not(.active), .gsw-tab:hover:not(.active), .auth-tab:hover:not(.active) {
  color: var(--text-1);
  background: rgba(255,255,255,.04);
}

/* Bonus card glow on hover */
.bonus-card:hover {
  border-color: var(--purple);
  background: rgba(124,58,237,.08);
  box-shadow: 0 0 30px rgba(124,58,237,.12);
  transform: translateY(-3px);
}

/* Color game button pulse */
.cg-color-btn { position: relative; }
.cg-color-btn.selected::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: inherit; opacity: .6;
  animation: colorPulse 1.5s ease-in-out infinite;
}
.cg-color-btn.red.selected::after { box-shadow: 0 0 20px #ff3366; }
.cg-color-btn.green.selected::after { box-shadow: 0 0 20px #00cc66; }
.cg-color-btn.violet.selected::after { box-shadow: 0 0 20px #9c27b0; }
@keyframes colorPulse {
  0%,100% { opacity: .4; } 50% { opacity: .8; }
}

/* Scrollbar enhancement */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--purple), var(--cyan));
  border-radius: 10px;
}
