:root {
  /* Edge colors */
  --xy-edge-stroke-default: #8a8f98; /* subtle gray */
  --xy-edge-stroke-width-default: 1.25;
  --xy-edge-stroke-selected-default: #2f74ff; /* brand-500 */
  --xy-connectionline-stroke-default: #8a8f98;
  --xy-connectionline-stroke-width-default: 1.25;

  /* Nodes */
  --xy-node-color-default: inherit;
  --xy-node-border-default: 1px solid rgba(255, 255, 255, 0.08);
  --xy-node-background-color-default: #151515; /* surface */
  --xy-node-group-background-color-default: rgba(255, 255, 255, 0.04);
  --xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, 0.16);
  --xy-node-boxshadow-selected-default: 0 0 0 1px #2f74ff; /* brand-500 */

  /* Handles */
  --xy-handle-background-color-default: #2f74ff;
  --xy-handle-border-color-default: #0f1720;

  /* Selection */
  --xy-selection-background-color-default: rgba(47, 116, 255, 0.08);
  --xy-selection-border-default: 1px dotted rgba(47, 116, 255, 0.8);

  /* Controls & minimap */
  --xy-controls-button-background-color-default: #1b1b1b; /* dark surface */
  --xy-controls-button-background-color-hover-default: #222; /* darker */
  --xy-controls-button-color-default: inherit;
  --xy-controls-button-color-hover-default: inherit;
  --xy-controls-button-border-color-default: rgba(255, 255, 255, 0.08);
  --xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.24);

  --xy-minimap-background-color-default: #0f0f0f;
  --xy-background-pattern-dots-color-default: #2a2a2a;
  --xy-background-pattern-line-color-default: #1f1f1f;
  --xy-background-pattern-cross-color-default: #1f1f1f;
}

/* Dark mode (если переключите Chakra на dark) */
.dark .react-flow {
  --xy-node-background-color-default: #1a202c; /* gray-900 */
  --xy-node-border-default: 1px solid #2d3748; /* gray-800 */
  --xy-edge-stroke-default: #8a8f98;
  --xy-edge-stroke-selected-default: #2f74ff;
  --xy-selection-background-color-default: rgba(47, 116, 255, 0.08);
  --xy-selection-border-default: 1px dotted rgba(47, 116, 255, 0.8);
}

/* Gradient border animation for feature slider */
@keyframes rotate-gradient {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

/* New global animations for enhanced UI */

/* Smooth float animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Pulse glow effect */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.4;
    box-shadow: 0 0 20px rgba(47, 116, 255, 0.3);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 40px rgba(47, 116, 255, 0.6);
  }
}

/* Shimmer effect for cards */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Spin animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Scale pulse */
@keyframes scalePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Fade in up animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gradient shift */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Border glow animation */
@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(47, 116, 255, 0.3);
    box-shadow: 0 0 10px rgba(47, 116, 255, 0.2);
  }
  50% {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  }
}

/* Text glow */
@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(47, 116, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(47, 116, 255, 0.8), 0 0 40px rgba(139, 92, 246, 0.5);
  }
}

/* Particle drift */
@keyframes particleDrift {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px) rotate(360deg);
    opacity: 0;
  }
}

/* Utility classes for animations - GPU accelerated */
.animate-float {
  animation: float 6s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
  will-change: opacity, box-shadow;
}

.animate-shimmer {
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
  will-change: background-position;
}

.animate-spin-slow {
  animation: spin 20s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.animate-scale-pulse {
  animation: scalePulse 2s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
  will-change: opacity, transform;
  transform: translateZ(0);
}

.animate-gradient-shift {
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  will-change: background-position;
}

.animate-border-glow {
  animation: borderGlow 3s ease-in-out infinite;
}

.animate-text-glow {
  animation: textGlow 2s ease-in-out infinite;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
}

/* Prevent black bars and horizontal scroll */
html, body {
  min-height: 100%;
  background-color: #050505;
  max-width: 100%;
  overflow-x: hidden;
}

#root {
  background-color: #050505;
  width: 100%;
  overflow: visible !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}

/* Force single scroll context */
#root > div,
#root > div > div {
  overflow: visible !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: scroll;
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2f74ff, #8b5cf6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #3d82ff, #9d6fff);
}

/* Selection styling */
::selection {
  background: rgba(47, 116, 255, 0.3);
  color: white;
}

/* Focus visible styling */
:focus-visible {
  outline: 2px solid #2f74ff;
  outline-offset: 2px;
}

/* Reduced motion preferences - respect user accessibility settings */
@media (prefers-reduced-motion: reduce) {
  .animate-float,
  .animate-pulse-glow,
  .animate-shimmer,
  .animate-spin-slow,
  .animate-scale-pulse,
  .animate-gradient-shift,
  .animate-border-glow,
  .animate-text-glow,
  [data-reduce-motion="true"] {
    animation: none !important;
    will-change: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
}


/*# sourceMappingURL=main.163dfe0c.css.map*/