/* Munter Global – Shared Styles */
:root {
  --munter-500: #0ea5e9;
  --munter-400: #38bdf8;
  --accent: #f59e0b;
  --dark: #0a0f1c;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0a0f1c;
  color: white;
}

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

.hero-gradient {
  background: linear-gradient(-45deg, #0a0f1c, #0c4a6e, #0369a1, #0a0f1c);
  background-size: 400% 400%;
  animation: gradient 18s ease infinite;
}

@keyframes gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glow {
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.15);
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.25);
}

.nav-scrolled {
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Live ticker */
.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  background: rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ticker {
  display: inline-block;
  animation: ticker 40s linear infinite;
  padding-left: 100%;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.ticker-up { color: #34d399; }
.ticker-down { color: #f87171; }

/* Pulse for live indicators */
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse-live 1.5s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* Globe markers */
.globe-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.globe-img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(14, 165, 233, 0.25);
}
.globe-marker {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #0ea5e9;
  border-radius: 50%;
  border: 2px solid white;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  animation: marker-pulse 2s ease-in-out infinite;
}
.globe-marker::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: 140%;
  transform: translateX(-50%);
  background: rgba(10,15,28,0.9);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
}
.globe-marker:hover::after {
  opacity: 1;
}
@keyframes marker-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); }
}

/* Stock ticker row */
.stock-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.875rem;
  align-items: center;
}
.stock-row:last-child { border-bottom: none; }

/* Data flash animation */
.flash-up {
  animation: flashGreen 0.6s ease;
}
.flash-down {
  animation: flashRed 0.6s ease;
}
@keyframes flashGreen {
  0% { background: rgba(52, 211, 153, 0.3); }
  100% { background: transparent; }
}
@keyframes flashRed {
  0% { background: rgba(248, 113, 113, 0.3); }
  100% { background: transparent; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-gradient, .ticker, .globe-marker, .live-dot {
    animation: none !important;
  }
}
