*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: #030710;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow: hidden;
}
.neon-line {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 101;
  background: linear-gradient(90deg, transparent, #1E88E5 20%, #42A5F5 80%, transparent);
}


/* Login overlay */
.login-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3,7,16,0.4);
}
.login-card {
  background: rgba(10,15,30,0.95);
  border: 1px solid rgba(127,200,255,0.12);
  border-radius: 16px; padding: 40px; max-width: 420px; width: 90%;
  text-align: center;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6), 0 0 60px rgba(127,200,255,0.05);
  backdrop-filter: blur(20px);
}
.login-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px; font-weight: 700;
  background: linear-gradient(135deg, #7fc8ff, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.login-subtitle {
  color: #6b8299; font-size: 14px; margin-bottom: 24px; line-height: 1.6;
}
#tg-login-wrap { margin: 24px 0 16px; min-height: 48px; }
.cta-link {
  display: inline-block; padding: 10px 24px; border-radius: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600;
  background: rgba(127,200,255,0.08); color: #7fc8ff;
  border: 1px solid rgba(127,200,255,0.15);
  text-decoration: none; transition: all 0.2s;
}
.cta-link:hover { background: rgba(127,200,255,0.15); text-decoration: none; }
.footer-note { color: #3d4f63; font-size: 11px; margin-top: 20px; }
.lock-icon { font-size: 32px; margin-bottom: 12px; }
/* Particles */
.particles-container {
  position: fixed; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
}
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(127,200,255,0.6);
  animation: floatUp linear infinite;
  box-shadow: 0 0 4px rgba(127,200,255,0.2);
}
.particle.flash {
  animation: floatUp linear infinite, lightning 5s ease-in-out infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  5% { opacity: var(--p-opacity, 0.35); }
  90% { opacity: var(--p-opacity, 0.35); }
  100% { transform: translateY(-100vh) scale(0.3); opacity: 0; }
}
@keyframes lightning {
  0%, 38%, 42%, 58%, 100% { box-shadow: 0 0 4px rgba(127,200,255,0.2); }
  40% { box-shadow: 0 0 10px rgba(127,200,255,0.8), 0 0 20px rgba(127,200,255,0.3); background: rgba(127,200,255,0.9); transform: scale(1.5); }
  60% { box-shadow: 0 0 8px rgba(127,200,255,0.5); background: rgba(127,200,255,0.7); transform: scale(1.2); }
  62% { box-shadow: 0 0 4px rgba(127,200,255,0.2); background: rgba(127,200,255,0.6); transform: scale(1); }
}
@keyframes slideIn { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 600px) {
  .login-card { padding: 28px 20px; }
}
