/* ==========================================================================
   JK DISH INFO - Modern Satellite & DTH Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --color-primary: #00D2FF;
  --color-primary-dark: #0066FF;
  --color-accent: #FFB800;
  --color-whatsapp: #25D366;
}

body {
  font-family: var(--font-main);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #090D16;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 5px;
  border: 2px solid #090D16;
}
::-webkit-scrollbar-thumb:hover {
  background: #00D2FF;
}

/* Background Gradients & Glows */
.bg-radial-hero {
  background: radial-gradient(circle at 50% 20%, rgba(0, 210, 255, 0.14) 0%, rgba(2, 6, 23, 0.8) 65%, #020617 100%);
}

.glow-cyan {
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.25);
}

.glow-cyan-hover:hover {
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
}

.glow-amber {
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.25);
}

.glow-whatsapp {
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

/* Glassmorphism panels */
.glass-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(51, 65, 85, 0.6);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(71, 85, 105, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(0, 210, 255, 0.5);
  transform: translateY(-4px);
}

/* Radar Pulse Animation */
@keyframes radarSweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.radar-sweep {
  animation: radarSweep 8s linear infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.02);
  }
}

.pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Float Animation */
@keyframes floatY {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-slow {
  animation: floatY 6s ease-in-out infinite;
}

/* WhatsApp Floating Button */
.whatsapp-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Gradient Text */
.text-gradient-cyan {
  background: linear-gradient(135deg, #00D2FF 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* News Ticker Bar */
@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

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

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 380px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #0F172A;
  color: #F8FAFC;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  border-left: 4px solid #00D2FF;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.25s ease;
}

.toast.toast-success {
  border-left-color: #10B981;
}

.toast.toast-warn {
  border-left-color: #F59E0B;
}

@keyframes slideInToast {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Gauge needle transitions */
.gauge-needle {
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: 50% 50%;
}

/* Badge Shimmer */
.badge-shimmer {
  position: relative;
  overflow: hidden;
}
.badge-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: shimmer 3.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}
