:root {
  --neon-pink: #ff2ec4;
  --neon-cyan: #00f0ff;
  --neon-gold: #ffd700;
  --neon-green: #39ff14;
  --bg-dark: #0a0e27;
  --panel-dark: #131832;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg-dark);
  color: #e8e8ff;
}

.login-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 20%, #1a1f4a 0%, #0a0e27 70%);
}

.login-card {
  background: rgba(19, 24, 50, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 16px;
  padding: 40px;
  width: 340px;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.25), 0 0 80px rgba(255, 46, 196, 0.1);
  text-align: center;
}

.logo-glow {
  font-size: 26px;
  font-weight: 800;
  color: var(--neon-gold);
  text-shadow: 0 0 10px var(--neon-gold), 0 0 30px rgba(255,215,0,0.6);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.subtitle { color: #9aa0c3; font-size: 13px; margin-bottom: 24px; }

.login-form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid #2c3366;
  background: #0e1330;
  color: #fff;
  font-size: 14px;
}

.btn-neon {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
  color: #05061a;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 0 20px rgba(255, 46, 196, 0.5);
  transition: transform 0.15s ease;
}
.btn-neon:hover { transform: translateY(-2px); }

.alert-error {
  background: rgba(255, 0, 60, 0.15);
  border: 1px solid #ff003c;
  color: #ff6b8a;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
}

/* ---------- App shell ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: linear-gradient(90deg, #131832, #1a1f4a);
  border-bottom: 1px solid rgba(0,240,255,0.2);
}
.topbar .brand { font-weight: 800; color: var(--neon-gold); text-shadow: 0 0 8px rgba(255,215,0,0.5); }
.balance-pill {
  background: rgba(57,255,20,0.12);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(57,255,20,0.6);
}
.container { max-width: 1100px; margin: 0 auto; padding: 24px; }

.card {
  background: var(--panel-dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.game-tile {
  border-radius: 16px;
  padding: 26px 18px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.game-tile:hover { transform: scale(1.03); }
.game-tile.slot { background: linear-gradient(145deg, #ff2ec4, #7b2ff7); box-shadow: 0 0 30px rgba(255,46,196,0.4); }
.game-tile.fish { background: linear-gradient(145deg, #00c9ff, #0072ff); box-shadow: 0 0 30px rgba(0,201,255,0.4); }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08); }
th { color: var(--neon-cyan); text-transform: uppercase; font-size: 11px; letter-spacing: 1px; }

.btn { padding: 8px 16px; border-radius: 8px; border: none; cursor: pointer; font-weight: 700; }
.btn-gold { background: var(--neon-gold); color: #221800; }
.btn-danger { background: #ff2b52; color: #fff; }
.btn-cyan { background: var(--neon-cyan); color: #001c22; }

input, select {
  padding: 9px 12px; border-radius: 8px; border: 1px solid #2c3366;
  background: #0e1330; color: #fff; font-size: 14px;
}

.tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.tab { padding: 10px 20px; border-radius: 30px; background: #1a1f4a; cursor: pointer; font-weight: 600; }
.tab.active { background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan)); color: #05061a; }

canvas { background: radial-gradient(circle, #04102a, #010615); border-radius: 14px; border: 1px solid rgba(0,240,255,0.3); }
