* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-primary: #0D0D0D;
  --bg-secondary: #141418;
  --bg-card: rgba(25, 25, 35, 0.7);
  --border-color: rgba(168, 85, 247, 0.15);
  --purple: #A855F7;
  --pink: #EC4899;
  --cyan: #22D3EE;
  --green: #22C55E;
  --red: #EF4444;
  --yellow: #EAB308;
  --text-primary: #F1F1F3;
  --text-secondary: #8888A0;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(236, 72, 153, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(34, 211, 238, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

#root { position: relative; z-index: 1; }

.font-display { font-family: 'Bebas Neue', cursive; }
.font-heading { font-family: 'Oswald', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.glass-card-hover:hover {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.08);
}

.glow-purple { text-shadow: 0 0 20px rgba(168, 85, 247, 0.5); }
.glow-green { text-shadow: 0 0 20px rgba(34, 197, 94, 0.5); }
.glow-pink { text-shadow: 0 0 20px rgba(236, 72, 153, 0.5); }
.glow-cyan { text-shadow: 0 0 20px rgba(34, 211, 238, 0.5); }

.money-glow {
  color: var(--green);
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
  animation: moneyPulse 2s ease-in-out infinite;
}

@keyframes moneyPulse {
  0%, 100% { text-shadow: 0 0 10px rgba(34, 197, 94, 0.4); }
  50% { text-shadow: 0 0 25px rgba(34, 197, 94, 0.7); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

@keyframes viral {
  0% { transform: scale(1); }
  25% { transform: scale(1.05); }
  50% { transform: scale(0.97); }
  75% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes notification {
  0% { opacity: 0; transform: translateX(100px); }
  10% { opacity: 1; transform: translateX(0); }
  90% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(100px); }
}

.animate-fade-in { animation: fadeIn 0.3s ease-out; }
.animate-slide-in { animation: slideIn 0.3s ease-out; }
.animate-shake { animation: shake 0.4s ease-out; }
.animate-viral { animation: viral 0.6s ease-out; }
.animate-notification { animation: notification 4s ease-in-out forwards; }

.scanlines::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(239, 68, 68, 0.15);
  animation: scanline 3s linear infinite;
  pointer-events: none;
  z-index: 10;
}

.rep-bar {
  height: 6px;
  border-radius: 3px;
  transition: width 0.5s ease, background 0.5s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.btn-secondary {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--purple);
  padding: 8px 20px;
  border-radius: 8px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover { background: rgba(168, 85, 247, 0.2); }

.btn-danger {
  background: linear-gradient(135deg, #DC2626, #991B1B);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.progress-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  color: var(--text-secondary);
}

.nav-item:hover { background: rgba(168, 85, 247, 0.1); color: var(--text-primary); }
.nav-item.active { background: rgba(168, 85, 247, 0.15); color: var(--purple); border-left: 3px solid var(--purple); }

.tab-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 4px;
  font-size: 9px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color 0.2s;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
}

.tab-mobile.active { color: var(--purple); }
.tab-mobile .tab-icon { font-size: 18px; }

input, select, textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  width: 100%;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--purple);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(168, 85, 247, 0.3); border-radius: 3px; }

@media (max-width: 768px) {
  .nav-item { font-size: 12px; padding: 8px 12px; }
}