:root {
  --indigo-bg: #090a14;
  --indigo-card: rgba(20, 24, 45, 0.5);
  --indigo-border: rgba(255, 255, 255, 0.08);
  --cyan-neon: #00f2fe;
  --purple-neon: #a154ff;
}
body {
  background-color: var(--indigo-bg);
  color: #e2e5f0;
  font-family: 'Plus Jakarta Sans', Poppins, sans-serif;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .fw-bolder, .fw-bold, .menu-link, .btn {
  font-family: 'Outfit', sans-serif !important;
}
.text-gray-500 {
  color: #b5b9cc !important;
}
.text-gray-400 {
  color: #d1d5db !important;
}
.landing-dark-bg {
  background-color: var(--indigo-bg);
  position: relative;
}
.landing-dark-bg::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(161, 84, 255, 0.05) 50%, transparent 100%);
  top: 10%;
  right: 5%;
  z-index: 1;
  pointer-events: none;
}
.landing-dark-bg::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(161, 84, 255, 0.12) 0%, rgba(0, 242, 254, 0.03) 50%, transparent 100%);
  bottom: -10%;
  left: -5%;
  z-index: 1;
  pointer-events: none;
}
.glass-card {
  background: var(--indigo-card) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid var(--indigo-border) !important;
  border-radius: 16px !important;
}
.glass-header {
  background: rgba(9, 10, 20, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--indigo-border) !important;
  transition: all 0.3s ease;
}
.glass-header.sticky {
  background: rgba(9, 10, 20, 0.95) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.btn-gradient {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #fff !important;
  border: 1px solid rgba(0, 242, 254, 0.35) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.btn-gradient:hover {
  background: linear-gradient(135deg, var(--cyan-neon) 0%, var(--purple-neon) 100%) !important;
  color: #090a14 !important;
  border-color: transparent !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4) !important;
  transform: translateY(-2px);
}
.btn-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  background: transparent !important;
  transition: all 0.3s ease;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #fff !important;
}
.gradient-text {
  background: linear-gradient(135deg, var(--cyan-neon) 0%, var(--purple-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feature-card {
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.06) !important;
}
.status-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--cyan-neon);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--cyan-neon);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}
.strategy-item {
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}
.strategy-item:hover, .strategy-item.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 242, 254, 0.3) !important;
}
.strategy-item.active .badge-number {
  background-color: var(--cyan-neon) !important;
  color: #090a14 !important;
  box-shadow: 0 0 12px var(--cyan-neon);
}
.console-box {
  background-color: #06070d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-family: monospace;
  font-size: 11px;
  color: #a1a5b7;
  overflow-y: auto;
  height: 140px;
}
.market-ticker-card {
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--indigo-border);
  border-radius: 12px;
  padding: 16px;
}
.market-ticker-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 242, 254, 0.2);
}
.glow-purple {
  color: var(--purple-neon) !important;
  text-shadow: 0 0 10px rgba(161, 84, 255, 0.5);
}
.glow-cyan {
  color: var(--cyan-neon) !important;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}
.ta-nav-link {
  color: #b5b9cc !important;
  transition: all 0.2s ease;
  font-weight: 500;
  background: transparent !important;
}
.ta-nav-link:hover, .ta-nav-link.active, .menu-item.hover > .ta-nav-link {
  color: var(--cyan-neon) !important;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
  background: transparent !important;
  box-shadow: none !important;
}

/* Ticker wrap holds the marquee container */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(9, 10, 20, 0.4);
  padding: 24px 0;
  position: relative;
}
/* Ticker wrapper track */
.ticker {
  display: flex;
  width: max-content;
  animation: ticker-slide 35s linear infinite;
}
.ticker:hover {
  animation-play-state: paused;
}
/* Individual card items inside the ticker */
.ticker-item {
  flex-shrink: 0;
  width: 250px;
  margin: 0 12px;
}
@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* SVG animations for strategy visualizer */
.scanner-line-1 {
  animation: scan-1 3s ease-in-out infinite;
}
.scanner-line-2 {
  animation: scan-2 3s ease-in-out infinite;
}
@keyframes scan-1 {
  0% { transform: translate3d(30px, 0, 0); opacity: 0; }
  10%, 40% { opacity: 0.8; }
  50%, 100% { transform: translate3d(160px, 0, 0); opacity: 0; }
}
@keyframes scan-2 {
  0%, 50% { transform: translate3d(220px, 0, 0); opacity: 0; }
  60%, 90% { opacity: 0.8; }
  100% { transform: translate3d(350px, 0, 0); opacity: 0; }
}

.signal-arrow {
  animation: arrow-slide 1.5s ease-in-out infinite;
  transform-origin: 310px 125px;
  transform-box: fill-box;
}
@keyframes arrow-slide {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.pulse-text {
  animation: text-pulse 1.5s ease-in-out infinite;
}
@keyframes text-pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; fill: #fff; }
}

/* ABC/OB Sonar expand animation */
.sonar-ping-red, .sonar-ping-red-2, .sonar-ping-green {
  transform-box: fill-box;
  transform-origin: center;
  animation: sonar-expand 2s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
}
.sonar-ping-red-2 {
  animation-delay: 0.6s;
}
.sonar-ping-green {
  animation-delay: 1.2s;
}
@keyframes sonar-expand {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3.5); opacity: 0; }
}

.path-flow {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-path 6s linear infinite;
}
@keyframes draw-path {
  0% { stroke-dashoffset: 400; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -400; }
}

/* Order Block zone glow styles */
.ob-zone-supply {
  animation: ob-glow-red 3s ease-in-out infinite alternate;
}
.ob-zone-demand {
  animation: ob-glow-green 3s ease-in-out infinite alternate;
}
@keyframes ob-glow-red {
  from { fill: rgba(255, 68, 95, 0.05); stroke: rgba(255, 68, 95, 0.25); }
  to { fill: rgba(255, 68, 95, 0.15); stroke: rgba(255, 68, 95, 0.55); }
}
@keyframes ob-glow-green {
  from { fill: rgba(80, 205, 137, 0.05); stroke: rgba(80, 205, 137, 0.25); }
  to { fill: rgba(80, 205, 137, 0.15); stroke: rgba(80, 205, 137, 0.55); }
}

.ob-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw-ob-path 4s ease-in-out infinite;
}
@keyframes draw-ob-path {
  0%, 10% { stroke-dashoffset: 600; }
  70%, 100% { stroke-dashoffset: 0; }
}

/* Hybrid sequential validation animation */
.check-box-1 { animation: check-seq-1 4s infinite; }
.check-box-2 { animation: check-seq-2 4s infinite; }
.check-box-3 { animation: check-seq-3 4s infinite; }
.confluence-result { animation: check-result 4s infinite; }

@keyframes check-seq-1 {
  0%, 100% { stroke: rgba(255,255,255,0.1); fill: rgba(255,255,255,0.01); }
  15%, 85% { stroke: #50cd89; fill: rgba(80, 205, 137, 0.1); }
}
@keyframes check-seq-2 {
  0%, 30%, 100% { stroke: rgba(255,255,255,0.1); fill: rgba(255,255,255,0.01); }
  45%, 85% { stroke: #50cd89; fill: rgba(80, 205, 137, 0.1); }
}
@keyframes check-seq-3 {
  0%, 60%, 100% { stroke: rgba(255,255,255,0.1); fill: rgba(255,255,255,0.01); }
  75%, 85% { stroke: #50cd89; fill: rgba(80, 205, 137, 0.1); }
}
@keyframes check-result {
  0%, 80%, 100% { stroke: rgba(255,255,255,0.15); fill: rgba(255,255,255,0.01); }
  85%, 95% { stroke: #00f2fe; fill: rgba(0, 242, 254, 0.12); }
}

.check-text-1 { animation: text-seq-1 4s infinite; }
.check-text-2 { animation: text-seq-2 4s infinite; }
.check-text-3 { animation: text-seq-3 4s infinite; }
.result-text { animation: text-result 4s infinite; }

@keyframes text-seq-1 {
  0%, 100% { opacity: 0.3; }
  15%, 85% { opacity: 1; }
}
@keyframes text-seq-2 {
  0%, 30%, 100% { opacity: 0.3; }
  45%, 85% { opacity: 1; }
}
@keyframes text-seq-3 {
  0%, 60%, 100% { opacity: 0.3; }
  75%, 85% { opacity: 1; }
}
@keyframes text-result {
  0%, 80%, 100% { opacity: 0.1; }
  85%, 95% { opacity: 1; }
}

.landing-section-py {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  position: relative;
}

#features {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#features .container {
  position: relative;
  z-index: 2;
}

/* Features Hover Background Animations */
.features-bg-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.features-bg-overlay-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.6s;
}

.features-bg-overlay-item.active {
  opacity: 1;
  visibility: visible;
}

#strategies {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#strategies .container {
  position: relative;
  z-index: 2;
}

.strategies-bg-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.strategies-bg-overlay-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.6s;
}

.strategies-bg-overlay-item.active {
  opacity: 1;
  visibility: visible;
}

@keyframes radar-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.anim-radar-sweep {
  transform-origin: 600px 300px;
  animation: radar-sweep 8s linear infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.2; transform: scale(0.9); }
  50% { opacity: 0.8; transform: scale(1.1); }
}
.anim-pulse-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes slide-packet {
  0% { transform: translate3d(100px, 0, 0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translate3d(1100px, 0, 0); opacity: 0; }
}
.anim-slide-packet-1 { animation: slide-packet 6s linear infinite; }
.anim-slide-packet-2 { animation: slide-packet 4s linear infinite; animation-delay: 1s; }
.anim-slide-packet-3 { animation: slide-packet 5s linear infinite; animation-delay: 2s; }

@keyframes glow-stroke {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(255, 199, 0, 0.2)); opacity: 0.4; }
  50% { filter: drop-shadow(0 0 8px rgba(255, 199, 0, 0.8)); opacity: 1; }
}
.anim-glow-stroke {
  animation: glow-stroke 3s ease-in-out infinite;
}

@keyframes flow-line {
  0% { stroke-dasharray: 0 1000; stroke-dashoffset: 0; }
  100% { stroke-dasharray: 1000 0; stroke-dashoffset: -1000; }
}
.anim-flow-line {
  stroke-dasharray: 20 20;
  animation: flow-line 25s linear infinite;
}
.anim-flow-line-curve {
  stroke-dasharray: 15 15;
  animation: flow-line 20s linear infinite reverse;
}

@keyframes shield-pulse {
  0%, 100% { opacity: 0.2; filter: drop-shadow(0 0 2px rgba(241, 65, 108, 0.1)); }
  50% { opacity: 0.7; filter: drop-shadow(0 0 12px rgba(241, 65, 108, 0.6)); }
}
.anim-shield-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: shield-pulse 3.5s ease-in-out infinite;
}

@keyframes lock-slide {
  0%, 100% { transform: translateY(-20px); }
  50% { transform: translateY(20px); }
}
.anim-lock-line-1 { animation: lock-slide 4s ease-in-out infinite; }
.anim-lock-line-2 { animation: lock-slide 4s ease-in-out infinite reverse; }

@keyframes ping-green {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
.anim-ping-green {
  transform-box: fill-box;
  transform-origin: center;
  animation: ping-green 2s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
}

@keyframes tg-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(20px, -15px, 0); }
}
.anim-tg-bubble-1 { animation: tg-float 5s ease-in-out infinite; }
.anim-tg-bubble-2 { animation: tg-float 6s ease-in-out infinite; animation-delay: 1.5s; }

@keyframes draw-path-infinite {
  0% { stroke-dashoffset: 1000; }
  100% { stroke-dashoffset: 0; }
}
.anim-draw-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-path-infinite 8s linear infinite;
}

@keyframes log-scroll {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-80px); opacity: 0; }
}
.anim-log-stream-1 { animation: log-scroll 12s linear infinite; }
.anim-log-stream-2 { animation: log-scroll 15s linear infinite; }

/* Glowing Neon Icon classes */
.icon-cyan {
  color: var(--cyan-neon) !important;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
}
.icon-purple {
  color: var(--purple-neon) !important;
  text-shadow: 0 0 10px rgba(161, 84, 255, 0.6);
}
.icon-success {
  color: #50cd89 !important;
  text-shadow: 0 0 10px rgba(80, 205, 137, 0.6);
}
.icon-warning {
  color: #ffc700 !important;
  text-shadow: 0 0 10px rgba(255, 199, 0, 0.6);
}
.icon-danger {
  color: #f1416c !important;
  text-shadow: 0 0 10px rgba(241, 65, 108, 0.6);
}

.glass-icon-wrapper {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.feature-card:hover .glass-icon-wrapper {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(0, 242, 254, 0.3) !important;
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

/* Workflow premium container styling */
.workflow-section-bg {
  position: relative;
  background: radial-gradient(circle at center, rgba(161, 84, 255, 0.05) 0%, rgba(9, 10, 20, 0) 75%) !important;
}

/* Workflow card */
.workflow-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 16px !important;
  padding: 32px 24px !important;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 2;
}
.workflow-card:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(0, 242, 254, 0.25) !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.06) !important;
}

.workflow-col {
  position: relative;
}
@media (min-width: 992px) {
  .workflow-col:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 40%;
    right: -18px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.15);
    font-family: Arial, sans-serif;
    z-index: 3;
    transition: all 0.3s ease;
  }
  .workflow-col:hover:not(:last-child)::after {
    color: var(--cyan-neon);
    transform: scale(1.1);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
  }
}

/* Badge gradients */
.badge-gradient-1 {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%) !important;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
  color: #090a14 !important;
}
.badge-gradient-2 {
  background: linear-gradient(135deg, #a154ff 0%, #fa709a 100%) !important;
  box-shadow: 0 0 12px rgba(161, 84, 255, 0.3);
  color: #fff !important;
}
.badge-gradient-3 {
  background: linear-gradient(135deg, #50cd89 0%, #36e2b2 100%) !important;
  box-shadow: 0 0 12px rgba(80, 205, 137, 0.3);
  color: #090a14 !important;
}
.badge-gradient-4 {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
  box-shadow: 0 0 12px rgba(250, 112, 154, 0.3);
  color: #090a14 !important;
}

/* Interactive Bot Simulator Enhanced */
.sim-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.sim-stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  transition: all 0.3s ease;
}
.sim-stat-card.active {
  border-color: rgba(0, 242, 254, 0.15);
  background: rgba(0, 242, 254, 0.02);
}
.sim-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  color: #7e8299;
  font-weight: 700;
  margin-bottom: 4px;
}
.sim-stat-val {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  font-family: monospace;
}
.sim-profit-up {
  color: #50cd89 !important;
  text-shadow: 0 0 8px rgba(80, 205, 137, 0.3);
}
.sim-profit-down {
  color: #f1416c !important;
  text-shadow: 0 0 8px rgba(241, 65, 108, 0.3);
}

.sim-chart-wrap {
  background: rgba(6, 7, 13, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  height: 120px;
}

/* Radar Scan Effect overlay when running */
.radar-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.07) 0%, transparent 10%, transparent 100%);
  background-size: 100% 200%;
  animation: scanlines 4s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}
.radar-scanner.active {
  opacity: 1;
}
@keyframes scanlines {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% -200%; }
}

.console-box {
  font-size: 11px !important;
  line-height: 1.6;
}
.console-system { color: #00f2fe; }
.console-info { color: #d1d5db; }
.console-scan { color: #7e8299; }
.console-buy { color: #50cd89; font-weight: bold; text-shadow: 0 0 5px rgba(80, 205, 137, 0.4); }
.console-sell { color: #f1416c; font-weight: bold; text-shadow: 0 0 5px rgba(241, 65, 108, 0.4); }
.console-order { color: #a154ff; font-weight: bold; }
.console-profit { color: #50cd89; font-weight: bold; }
.console-loss { color: #f1416c; font-weight: bold; }

/* iPhone-Style Floating Market Watermark Styles */
.iphone-market-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.market-float-item {
  position: absolute;
  color: rgba(255, 255, 255, 0.012);
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  filter: blur(1.5px);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.03);
  letter-spacing: 1px;
}

@keyframes float-drift-up {
  0% {
    transform: translate3d(0, 110vh, 0) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate3d(120px, -10vh, 0) rotate(12deg);
    opacity: 0;
  }
}

@keyframes float-drift-down {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate3d(-120px, 110vh, 0) rotate(-12deg);
    opacity: 0;
  }
}

@keyframes float-drift-diagonal {
  0% {
    transform: translate3d(-25vw, 85vh, 0) rotate(-8deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translate3d(125vw, 15vh, 0) rotate(8deg);
    opacity: 0;
  }
}

/* Drift particle classes with unique settings, opacities, speeds and delays */
.float-p1 { left: 8%; font-size: 3.8rem; filter: blur(1.8px); animation: float-drift-up 32s linear infinite; animation-delay: -5s; color: rgba(255, 255, 255, 0.015) !important; }
.float-p2 { left: 28%; font-size: 2.4rem; filter: blur(0.5px); animation: float-drift-up 24s linear infinite; animation-delay: -12s; color: rgba(0, 242, 254, 0.025) !important; text-shadow: 0 0 15px rgba(0, 242, 254, 0.15); }
.float-p3 { left: 52%; font-size: 4.8rem; filter: blur(2.8px); animation: float-drift-down 40s linear infinite; animation-delay: -3s; color: rgba(255, 255, 255, 0.012) !important; }
.float-p4 { left: 74%; font-size: 3.2rem; filter: blur(1.2px); animation: float-drift-up 28s linear infinite; animation-delay: -18s; color: rgba(255, 255, 255, 0.016) !important; }
.float-p5 { left: 88%; font-size: 2.6rem; filter: blur(0.8px); animation: float-drift-down 35s linear infinite; animation-delay: -8s; color: rgba(161, 84, 255, 0.022) !important; text-shadow: 0 0 15px rgba(161, 84, 255, 0.15); }

.float-p6 { left: 3%; font-size: 4.2rem; filter: blur(2.2px); animation: float-drift-down 38s linear infinite; animation-delay: -15s; color: rgba(255, 255, 255, 0.011) !important; }
.float-p7 { left: 22%; font-size: 3rem; filter: blur(1px); animation: float-drift-up 30s linear infinite; animation-delay: -2s; color: rgba(255, 255, 255, 0.018) !important; }
.float-p8 { left: 46%; font-size: 3.5rem; filter: blur(1.6px); animation: float-drift-up 34s linear infinite; animation-delay: -22s; color: rgba(255, 255, 255, 0.014) !important; }
.float-p9 { left: 68%; font-size: 5.2rem; filter: blur(3.2px); animation: float-drift-down 45s linear infinite; animation-delay: -10s; color: rgba(255, 255, 255, 0.01) !important; }
.float-p10 { left: 82%; font-size: 2.2rem; filter: blur(0.6px); animation: float-drift-up 26s linear infinite; animation-delay: -14s; color: rgba(255, 255, 255, 0.017) !important; }

.float-p11 { font-size: 4rem; filter: blur(2px); animation: float-drift-diagonal 36s linear infinite; animation-delay: -7s; color: rgba(255, 255, 255, 0.013) !important; }
.float-p12 { font-size: 2.5rem; filter: blur(0.7px); animation: float-drift-diagonal 28s linear infinite; animation-delay: -19s; color: rgba(0, 242, 254, 0.028) !important; text-shadow: 0 0 15px rgba(0, 242, 254, 0.15); }
.float-p13 { font-size: 5rem; filter: blur(3px); animation: float-drift-diagonal 44s linear infinite; animation-delay: -1s; color: rgba(255, 255, 255, 0.011) !important; }
.float-p14 { font-size: 3.4rem; filter: blur(1.1px); animation: float-drift-diagonal 32s linear infinite; animation-delay: -25s; color: rgba(255, 255, 255, 0.015) !important; }
.float-p15 { font-size: 2.8rem; filter: blur(1.3px); animation: float-drift-diagonal 38s linear infinite; animation-delay: -13s; color: rgba(161, 84, 255, 0.025) !important; text-shadow: 0 0 15px rgba(161, 84, 255, 0.15); }

/* Market Pair Circular Flag Icons */
.market-icon-group {
  display: inline-flex;
  align-items: center;
}
.market-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #1a1b26;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
.market-icon-overlay {
  margin-left: -8px;
  position: relative;
  z-index: 2;
}

/* Ticker Badges Custom Style Overrides for Dark Mode */
.market-ticker-card .d-flex span.fs-7 {
  margin-right: 12px !important;
}
.market-ticker-card .badge.badge-light-success {
  background-color: rgba(80, 205, 137, 0.12) !important;
  color: #50cd89 !important;
  border: 1px solid rgba(80, 205, 137, 0.25) !important;
}
.market-ticker-card .badge.badge-light-danger {
  background-color: rgba(241, 65, 108, 0.12) !important;
  color: #f1416c !important;
  border: 1px solid rgba(241, 65, 108, 0.25) !important;
}

/* Risk Section Custom Premium Styling */
.risk-card {
  background: rgba(255, 82, 82, 0.02) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 159, 67, 0.15) !important;
  box-shadow: 0 10px 40px rgba(255, 82, 82, 0.04) !important;
  position: relative;
}

.risk-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ff9f43 0%, #ff5252 100%);
}

.risk-glow-spot-1 {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 159, 67, 0.08) 0%, transparent 70%);
  top: -50px;
  left: -50px;
  pointer-events: none;
}

.risk-glow-spot-2 {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 82, 82, 0.06) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
  pointer-events: none;
}

.risk-icon-pulse-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 159, 67, 0.08);
  border: 1px solid rgba(255, 159, 67, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 20px rgba(255, 159, 67, 0.12);
  animation: risk-icon-glow 2.5s infinite alternate;
}

.risk-pulse-icon {
  color: #ff9f43 !important;
  text-shadow: 0 0 10px rgba(255, 159, 67, 0.5);
}

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

@keyframes risk-icon-glow {
  0% {
    box-shadow: 0 0 15px rgba(255, 159, 67, 0.12);
    border-color: rgba(255, 159, 67, 0.18);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 30px rgba(255, 82, 82, 0.3);
    border-color: rgba(255, 82, 82, 0.4);
    transform: scale(1.05);
  }
}

/* Custom Dropdown Premium Glassmorphism styling */
.custom-dropdown-btn {
  background: rgba(20, 24, 45, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.custom-dropdown-btn:hover, .custom-dropdown.open .custom-dropdown-btn {
  border-color: rgba(0, 242, 254, 0.3) !important;
  background: rgba(20, 24, 45, 0.8) !important;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.15);
}

.custom-dropdown-arrow {
  transition: transform 0.2s ease;
}

.custom-dropdown.open .custom-dropdown-arrow {
  transform: rotate(180deg);
}

.custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(13, 16, 32, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 6px 0;
}

.custom-dropdown.open .custom-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-dropdown-item {
  padding: 8px 14px !important;
  color: #b5b9cc !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

.custom-dropdown-item:hover {
  background: rgba(0, 242, 254, 0.08) !important;
  color: #00f2fe !important;
}

.custom-dropdown-item.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(161, 84, 255, 0.12) 100%) !important;
  color: #00f2fe !important;
  font-weight: 600 !important;
  border-left: 2px solid #00f2fe;
  padding-left: 12px !important;
}
