
/* ════════════════════════════════════════
   SLIDER SHELL  (only thing that's new)
════════════════════════════════════════ */
#aisx-root {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  isolation: isolate;
  /* solid base so particles + slides sit on a consistent dark backdrop */
  background: #07080f;
}

/* particle canvas sits behind everything */
#aisx-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

#aisx-stage {
  position: relative;
  z-index: 1;
}

.aisx-slide { display: none; }
.aisx-slide.aisx-on { display: block; animation: aisxIn 0.4s ease; }
@keyframes aisxIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* nav bar */
.aisx-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 26px 0 10px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
}

/* the call-out hint above the arrows */
.aisx-hint {
  width: 100%; text-align: center;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #00d2b4;
  margin-bottom: 6px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  animation: aisxHintGlow 2.4s ease-in-out infinite;
}
.aisx-hint::before, .aisx-hint::after {
  content: ''; flex: 0 1 60px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,210,180,0.4), transparent);
}
@keyframes aisxHintGlow {
  0%,100% { opacity: 0.75; text-shadow: 0 0 4px rgba(0,210,180,0.3); }
  50%     { opacity: 1;    text-shadow: 0 0 14px rgba(0,210,180,0.9); }
}

/* main arrow buttons */
.aisx-btn {
  position: relative;
  width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0,210,180,0.25), rgba(0,210,180,0.08) 60%, rgba(0,0,0,0.6));
  border: 2px solid #00d2b4;
  color: #00ff88; font-size: 26px; font-weight: bold; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 0 0 0 rgba(0,210,180,0.5), 0 6px 18px rgba(0,0,0,0.4);
  text-shadow: 0 0 10px rgba(0,255,136,0.7);
  overflow: visible;
}
/* pulsing ring */
.aisx-btn::before {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid rgba(0,210,180,0.6);
  animation: aisxPulse 1.8s ease-out infinite;
  pointer-events: none;
}
.aisx-btn::after {
  content: ''; position: absolute; inset: -10px;
  border-radius: 50%; border: 2px solid rgba(0,210,180,0.3);
  animation: aisxPulse 1.8s ease-out 0.6s infinite;
  pointer-events: none;
}
@keyframes aisxPulse {
  0%   { opacity: 0.9; transform: scale(0.95); }
  100% { opacity: 0;   transform: scale(1.45); }
}

/* gentle nudge animation drawing the eye sideways */
#aisxNext { animation: aisxNudge 2.2s ease-in-out infinite; }
#aisxPrev { animation: aisxNudge 2.2s ease-in-out infinite reverse; animation-delay: 0.6s; }
@keyframes aisxNudge {
  0%, 100% { transform: translateX(0); }
  60%      { transform: translateX(6px); }
  80%      { transform: translateX(-2px); }
}

.aisx-btn:hover {
  background: radial-gradient(circle at 30% 30%, rgba(0,255,136,0.5), rgba(0,210,180,0.2) 60%, rgba(0,0,0,0.6));
  transform: scale(1.18) !important;
  box-shadow: 0 0 28px rgba(0,255,136,0.7), 0 10px 26px rgba(0,0,0,0.5);
  animation: none;
}
.aisx-btn:active { transform: scale(0.92) !important; }

/* the live data badge inside the next arrow — bigger, brighter, always on */
.aisx-newbadge {
  position: absolute; top: -12px; right: -16px;
  background: linear-gradient(135deg, #ff3838, #ff7a1a, #ffb84a);
  color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
  padding: 5px 10px; border-radius: 10px;
  border: 2px solid #07080f;
  text-transform: uppercase; white-space: nowrap;
  animation: aisxBadgePop 1.3s ease-in-out infinite;
  box-shadow:
    0 0 14px rgba(255,107,74,0.85),
    0 0 28px rgba(255,107,74,0.45),
    0 0 0 4px rgba(255,107,74,0.15);
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  z-index: 5;
}
/* tiny pulsing dot inside the badge */
.aisx-newbadge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
  animation: aisxBadgeDot 1s ease-in-out infinite;
  box-shadow: 0 0 8px #fff;
}
@keyframes aisxBadgeDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.6); }
}
@keyframes aisxBadgePop {
  0%, 100% { transform: scale(1) rotate(-6deg); }
  50%      { transform: scale(1.18) rotate(-2deg); }
}

/* dots */
.aisx-dots { display: flex; gap: 12px; align-items: center; padding: 0 8px; }
.aisx-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: #2a3550; cursor: pointer;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
}
.aisx-dot:hover { background: #4a5570; transform: scale(1.2); }
.aisx-dot.aisx-on {
  background: #00d2b4;
  transform: scale(1.45);
  box-shadow: 0 0 14px rgba(0,210,180,0.8);
  border-color: rgba(0,210,180,0.4);
}
