/* Custom Styles & Utilities for CryptoPulse VIP */

:root {
  --bg-dark: #0b0e14;
  --bg-card: #111622;
  --emerald-glow: rgba(16, 185, 129, 0.4);
  --emerald-accent: #10b981;
}

/* Base resets & smooth scrolling */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color-scheme: dark;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: #f1f5f9;
  overflow-x: hidden;
}

/* Monospace font for crypto tickers & numbers */
.font-mono-stat {
  font-family: 'JetBrains Mono', 'Space Grotesk', ui-monospace, SFMono-Regular, monospace;
}

/* Subtle background grid pattern */
.bg-crypto-grid {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Glowing radials */
.radial-glow-emerald {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
}

.radial-glow-blue {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 70%);
}

/* Emerald glow box-shadow */
.shadow-emerald-glow {
  box-shadow: 0 0 25px -5px rgba(16, 185, 129, 0.35);
}

.shadow-emerald-glow-lg {
  box-shadow: 0 0 35px -5px rgba(16, 185, 129, 0.5);
}

.shadow-card-subtle {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

/* Animated gradient border effect */
.border-gradient-emerald {
  border: 1px solid rgba(16, 185, 129, 0.3);
  position: relative;
}

.border-gradient-emerald:hover {
  border-color: rgba(16, 185, 129, 0.7);
}

/* Continuous Marquee Ticker */
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-ticker {
  display: flex;
  width: max-content;
  animation: ticker-scroll 35s linear infinite;
}

.animate-ticker:hover {
  animation-play-state: paused;
}

/* Custom subtle scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0b0e14;
}
::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #10b981;
}

/* Accordion transition classes */
.faq-content {
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

.faq-content.open {
  max-height: 500px;
  opacity: 1;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.open {
  transform: rotate(180deg);
}

/* Glassmorphism card */
.glass-card {
  background: rgba(17, 22, 34, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
}

/* Pulse badge ring */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.beacon-pulse {
  animation: pulse-ring 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
