/* DelTick Trading Academy - Premium Financial Blue & Navy Theme (Chicago, USA) */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cinzel:wght@600;700;800&display=swap');

:root {
  --bg-navy-dark: #08101e;
  --bg-navy-main: #0b1528;
  --bg-navy-surface: #101d36;
  --bg-card: rgba(16, 29, 54, 0.85);
  --bg-card-hover: rgba(22, 40, 74, 0.95);
  --border-card: rgba(147, 197, 253, 0.15);
  --border-glow: rgba(56, 189, 248, 0.35);
  
  --accent-blue: #2563eb;
  --accent-sky: #38bdf8;
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-navy-dark);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.22), transparent 70%),
    linear-gradient(to bottom, #08101e 0%, #0b1528 50%, #08101e 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: hidden;
  selection-background-color: #38bdf8;
  selection-color: #000;
}

section[id], div[id] {
  scroll-margin-top: 130px;
}

.font-mono-num {
  font-family: 'JetBrains Mono', monospace;
  font-feature-settings: "tnum" 1, "zero" 1;
}

.font-serif-brand {
  font-family: 'Cinzel', serif;
}

/* Financial Blue Cards */
.terminal-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.terminal-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
}

.terminal-card-gold {
  border-color: rgba(245, 158, 11, 0.35);
}

.terminal-card-gold:hover {
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 15px 35px -5px rgba(245, 158, 11, 0.25);
}

.terminal-card-cyan {
  border-color: rgba(56, 189, 248, 0.3);
}

.terminal-card-cyan:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 15px 35px -5px rgba(56, 189, 248, 0.25);
}

/* Terminal Header Bar */
.terminal-header {
  background: rgba(16, 29, 54, 0.95);
  border-bottom: 1px solid rgba(147, 197, 253, 0.12);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* Bloomberg Ticker Tape & Financial Marquee */
@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.ticker-move {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 50s linear infinite;
  will-change: transform;
}

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

.tick-flash-up {
  color: #34d399 !important;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.7);
  transition: all 0.25s ease;
}

.tick-flash-down {
  color: #f87171 !important;
  text-shadow: 0 0 10px rgba(248, 113, 113, 0.7);
  transition: all 0.25s ease;
}

/* Grid background pattern */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(147, 197, 253, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(147, 197, 253, 0.04) 1px, transparent 1px);
}

.radial-glow {
  background: radial-gradient(circle at 50% 15%, rgba(37, 99, 235, 0.2) 0%, rgba(56, 189, 248, 0.08) 40%, transparent 75%);
}

.gold-glow {
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
}

/* Pulse animation for Live status */
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}

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

/* Premium Buttons */
.btn-primary-blue {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  transition: all 0.25s ease;
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.btn-primary-blue:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.6);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.55);
  transform: translateY(-1px);
}

.btn-outline-blue {
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(16, 29, 54, 0.7);
  color: #e0f2fe;
  transition: all 0.25s ease;
}

.btn-outline-blue:hover {
  border-color: #38bdf8;
  color: #ffffff;
  background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #08101e;
}
::-webkit-scrollbar-thumb {
  background: #1e3a5f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Text Gradients */
.text-gradient-white {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 70%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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