:root {
  --btc-orange: #f7931a;
  --gold: #ffd700;
  --gold-dark: #b8860b;
  --navy: #0d1421;
  --card-bg: rgba(26, 26, 46, 0.6);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--navy);
  background-image: 
    radial-gradient(ellipse at top right, rgba(247, 147, 26, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  min-height: 100vh;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
}

.bg-navy {
  background-color: var(--navy);
}

.bg-card-bg {
  background-color: var(--card-bg);
}

.text-btc-orange {
  color: var(--btc-orange);
}

.text-gold {
  color: var(--gold);
}

.text-gold-dark {
  color: var(--gold-dark);
}

.bg-btc-orange {
  background-color: var(--btc-orange);
}

.bg-gold {
  background-color: var(--gold);
}

.bg-gold-dark {
  background-color: var(--gold-dark);
}

.from-btc-orange {
  --tw-gradient-from: var(--btc-orange);
}

.to-orange-400 {
  --tw-gradient-to: #fb923c;
}

.from-gold {
  --tw-gradient-from: var(--gold);
}

.to-gold-dark {
  --tw-gradient-to: var(--gold-dark);
}

.border-btc-orange\/30 {
  border-color: rgba(247, 147, 26, 0.3);
}

.border-gold\/30 {
  border-color: rgba(255, 215, 0, 0.3);
}

.bg-btc-orange\/10 {
  background-color: rgba(247, 147, 26, 0.1);
}

.bg-gold\/10 {
  background-color: rgba(255, 215, 0, 0.1);
}

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

.animate-fade-in {
  animation: fade-in 0.5s ease-out;
}

@keyframes fill-bar {
  from {
    width: 0%;
  }
}

.animate-fill-bar {
  animation: fill-bar 1.5s ease-out;
}

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

.animate-confetti {
  animation: confetti 3s ease-in forwards;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px currentColor;
  }
  50% {
    box-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
  }
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Selection styling */
::selection {
  background: rgba(247, 147, 26, 0.4);
  color: white;
}

/* Card hover effects */
.hover\:scale-\[1\.02\]:hover {
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .text-3xl {
    font-size: 1.5rem;
  }
  
  .text-5xl {
    font-size: 2rem;
  }
}

/* Loading skeleton animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.animate-pulse {
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}