@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap');

* {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  color: white;
  overflow-x: hidden;
}

.bitcoin-pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.price-pulse {
  animation: price-glow 2s ease-in-out infinite;
}

@keyframes price-glow {
  0%, 100% { text-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }
  50% { text-shadow: 0 0 20px rgba(34, 197, 94, 0.8); }
}

.scenario-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.scenario-card:hover {
  transform: translateY(-4px);
}

.prediction-panel {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.volatility-gauge {
  width: 150px;
  height: 75px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(to right, #22c55e 0%, #eab308 50%, #ef4444 100%);
  border-radius: 150px 150px 0 0;
  overflow: hidden;
}

.volatility-needle {
  width: 4px;
  height: 60px;
  background: white;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform-origin: bottom center;
  transition: transform 0.5s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.leverage-warning {
  animation: warning-pulse 1.5s ease-in-out infinite;
}

@keyframes warning-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.5); }
  50% { box-shadow: 0 0 40px rgba(239, 68, 68, 0.8); }
}

.gate {
  width: 120px;
  height: 80px;
  position: relative;
}

.gate-left, .gate-right {
  width: 50px;
  height: 80px;
  background: linear-gradient(to bottom, #6b7280, #374151);
  position: absolute;
  border: 2px solid #9ca3af;
  transition: all 0.8s ease;
}

.gate-left {
  left: 0;
  border-radius: 10px 0 0 10px;
}

.gate-right {
  right: 0;
  border-radius: 0 10px 10px 0;
}

.gate.open .gate-left {
  transform: translateX(-60px);
}

.gate.open .gate-right {
  transform: translateX(60px);
}

.gate.opening .gate-left {
  transform: translateX(-30px);
}

.gate.opening .gate-right {
  transform: translateX(30px);
}

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: #4b5563;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4b5563;
  border: 3px solid #1f2937;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.timeline-dot.completed {
  background: #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
}

.timeline-dot.active {
  background: #eab308;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.6);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.timeline-content {
  text-align: center;
}

.sentiment-gauge-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.sentiment-gauge {
  width: 200px;
  height: 100px;
  position: relative;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  display: flex;
}

.sentiment-red, .sentiment-yellow, .sentiment-green {
  flex: 1;
  height: 100%;
}

.sentiment-red {
  background: linear-gradient(to bottom, #ef4444, #dc2626);
}

.sentiment-yellow {
  background: linear-gradient(to bottom, #eab308, #ca8a04);
}

.sentiment-green {
  background: linear-gradient(to bottom, #22c55e, #16a34a);
}

.sentiment-needle {
  width: 4px;
  height: 80px;
  background: white;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform-origin: bottom center;
  transition: transform 0.6s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.wisdom-scroll {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
}

.wisdom-scroll::-webkit-scrollbar {
  width: 8px;
}

.wisdom-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.wisdom-scroll::-webkit-scrollbar-thumb {
  background: #8b5cf6;
  border-radius: 4px;
}

.wisdom-card {
  transition: all 0.2s ease;
}

.wisdom-card:hover {
  transform: translateX(4px);
  border-color: rgba(139, 92, 246, 0.5);
}

.wisdom-text {
  animation: wisdom-glow 3s ease-in-out infinite;
}

@keyframes wisdom-glow {
  0%, 100% { color: #fbbf24; }
  50% { color: #fcd34d; }
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, #eab308, #ca8a04);
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(234, 179, 8, 0.5);
}

.slider {
  background: linear-gradient(to right, #22c55e 0%, #eab308 50%, #ef4444 100%);
}

.slider::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  background: white;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: white;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border: none;
}

.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confetti-fall 3s linear forwards;
}

@keyframes confetti-fall {
  to {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

.ultra-bullish {
  animation: ultra-bullish-glow 0.5s ease-in-out infinite;
  color: #ffd700 !important;
}

@keyframes ultra-bullish-glow {
  0%, 100% { 
    text-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700, 0 0 60px #ffd700; 
  }
  50% { 
    text-shadow: 0 0 40px #ffd700, 0 0 80px #ffd700, 0 0 120px #ffd700; 
  }
}

.hodl-shake {
  animation: hodl-shake 0.5s ease-in-out;
}

@keyframes hodl-shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
  20%, 40%, 60%, 80% { transform: translateX(10px); }
}

@media (max-width: 768px) {
  .timeline {
    flex-direction: column;
    gap: 30px;
  }
  
  .timeline::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    height: auto;
  }
  
  .timeline-item {
    flex-direction: row;
    gap: 20px;
  }
  
  .timeline-dot {
    margin: 0;
  }
}