/* Custom CSS for Crypto Landing Page - Conversion Optimized */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(247, 147, 26, 0.3); }
  50% { box-shadow: 0 0 30px rgba(247, 147, 26, 0.6); }
}

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

/* Floating animation for key elements */
.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Glow effect for premium buttons */
.glow-effect {
  animation: glow 2s ease-in-out infinite alternate;
}

/* Pulse effect for alerts */
.pulse-crypto {
  animation: pulse-crypto 2s ease-in-out infinite;
}

/* Custom button hover effects */
.btn-crypto-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-crypto-hover:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-crypto-hover:hover:before {
  left: 100%;
}

/* Gradient text effects */
.gradient-text-gold {
  background: linear-gradient(135deg, #F7931A, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-green {
  background: linear-gradient(135deg, #00D4AA, #4ADE80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #F7931A, #00D4AA);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #FFD700, #4ADE80);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .mobile-text-center {
    text-align: center;
  }
  
  .mobile-full-width {
    width: 100%;
  }
}

/* Focus states for accessibility */
button:focus, a:focus {
  outline: 2px solid #F7931A;
  outline-offset: 2px;
}

/* Loading states */
.loading-shimmer {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

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

/* Enhanced video container */
.video-container {
  position: relative;
  background: radial-gradient(circle at center, rgba(247, 147, 26, 0.1), transparent);
}

.video-container:before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #F7931A, #00D4AA, #0066FF, #F7931A);
  border-radius: inherit;
  z-index: -1;
  animation: rotate-gradient 4s linear infinite;
}

@keyframes rotate-gradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Micro-interactions */
.interactive-scale {
  transition: transform 0.2s ease;
}

.interactive-scale:hover {
  transform: scale(1.02);
}

.interactive-scale:active {
  transform: scale(0.98);
}

/* Performance optimizations */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .bg-gradient-to-br {
    background: #000;
  }
  
  .text-gray-300 {
    color: #fff;
  }
  
  .text-gray-400 {
    color: #ccc;
  }
}