* { box-sizing: border-box; margin: 0; padding: 0; }
body { overflow-x: hidden; }

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 20px rgba(255,215,0,0.3), 0 0 60px rgba(255,215,0,0.1); }
  50% { box-shadow: 0 0 30px rgba(255,215,0,0.5), 0 0 80px rgba(255,215,0,0.2); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes trophy-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.animate-fadeInUp { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fadeIn { animation: fadeIn 0.4s ease-out forwards; }
.animate-slideInRight { animation: slideInRight 0.5s ease-out forwards; }
.animate-countUp { animation: countUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.animate-pulse-gold { animation: pulse-gold 2s ease-in-out infinite; }
.animate-trophy { animation: trophy-bounce 0.6s ease-in-out; }

.shimmer-bg {
  background: linear-gradient(90deg, transparent 0%, rgba(255,215,0,0.08) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.glass-card {
  background: rgba(22, 27, 34, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,215,0,0.1);
}

.glass-card-strong {
  background: rgba(22, 27, 34, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,215,0,0.15);
}

.gold-border { border: 1px solid rgba(255,215,0,0.3); }
.gold-glow { box-shadow: 0 0 15px rgba(255,215,0,0.15); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: #252d3f;
  border-radius: 3px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #FFD700;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255,215,0,0.4);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #FFD700;
  cursor: pointer;
  border: none;
}

select, input[type="text"], input[type="number"] {
  background: #0D1117;
  border: 1px solid rgba(255,215,0,0.2);
  color: #e5e7eb;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'IBM Plex Sans', sans-serif;
  transition: border-color 0.2s;
}
select:focus, input[type="text"]:focus, input[type="number"]:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 0 2px rgba(255,215,0,0.15);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #08090d; }
::-webkit-scrollbar-thumb { background: #252d3f; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #374151; }

.bar-animate {
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }

.splash-bg {
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(255,215,0,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(245,158,11,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255,215,0,0.03) 0%, transparent 50%),
    linear-gradient(180deg, #08090d 0%, #0D1117 100%);
}

.tab-active {
  background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(245,158,11,0.1));
  border-color: rgba(255,215,0,0.4);
}