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

body {
  font-family: 'Space Grotesk', sans-serif;
  background: #0D1421;
  min-height: 100vh;
}

.font-space {
  font-family: 'Space Grotesk', sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

.bg-main {
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(247, 147, 26, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0D1421 0%, #0a0f18 100%);
  background-attachment: fixed;
}

.bg-main::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  position: relative;
  z-index: 1;
}

.price-widget {
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  box-shadow: 
    0 0 40px rgba(247, 147, 26, 0.15),
    inset 0 0 60px rgba(247, 147, 26, 0.05);
  animation: price-pulse 3s ease-in-out infinite;
}

@keyframes price-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(247, 147, 26, 0.15), inset 0 0 60px rgba(247, 147, 26, 0.05); }
  50% { box-shadow: 0 0 60px rgba(247, 147, 26, 0.25), inset 0 0 80px rgba(247, 147, 26, 0.1); }
}

.header-glow {
  text-shadow: 0 0 30px rgba(247, 147, 26, 0.5);
}

.spinning-logo {
  animation: spin 20s linear infinite;
  filter: drop-shadow(0 0 15px rgba(247, 147, 26, 0.6));
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.forecast-card {
  border-width: 2px;
  transition: all 0.3s ease;
}

.forecast-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.forecast-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(247, 147, 26, 0.5) transparent;
}

.forecast-scroll::-webkit-scrollbar {
  height: 6px;
}

.forecast-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.forecast-scroll::-webkit-scrollbar-thumb {
  background: rgba(247, 147, 26, 0.5);
  border-radius: 3px;
}

.oracle-button {
  background: linear-gradient(135deg, #F7931A 0%, #8B5CF6 100%);
  box-shadow: 0 4px 20px rgba(247, 147, 26, 0.4);
  position: relative;
  overflow: hidden;
}

.oracle-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  from { transform: translateX(-100%) rotate(45deg); }
  to { transform: translateX(100%) rotate(45deg); }
}

.oracle-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(247, 147, 26, 0.5);
}

.needle {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.confetti-bg {
  background-image: 
    radial-gradient(circle at 10% 20%, #F7931A 2px, transparent 2px),
    radial-gradient(circle at 30% 40%, #8B5CF6 2px, transparent 2px),
    radial-gradient(circle at 50% 10%, #00ff88 2px, transparent 2px),
    radial-gradient(circle at 70% 60%, #ffd700 2px, transparent 2px),
    radial-gradient(circle at 90% 30%, #ff6b6b 2px, transparent 2px),
    radial-gradient(circle at 20% 80%, #F7931A 2px, transparent 2px),
    radial-gradient(circle at 60% 90%, #8B5CF6 2px, transparent 2px),
    radial-gradient(circle at 80% 70%, #00ff88 2px, transparent 2px);
  background-size: 100% 100%;
  animation: confetti-fall 2s ease-in-out infinite;
}

@keyframes confetti-fall {
  0%, 100% { background-position: 0 0; }
  50% { background-position: 10px 20px; }
}

@media (max-width: 768px) {
  .forecast-card {
    min-width: 120px;
  }
  
  .price-widget h2 {
    font-size: 1.75rem;
  }
}