/* ============================================
   AI-УЧЁТ — ОБЩИЕ СТИЛИ (GLASSMORPHISM)
   ============================================ */

body {
  background: #08090b !important;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(201,169,97,0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(0,224,184,0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(201,169,97,0.08) 0%, transparent 40%);
  z-index: -2;
  animation: bgFloat 20s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-3%, 2%) scale(1.05); }
  66% { transform: translate(2%, -3%) scale(0.98); }
}

.particles-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(201,169,97,0.4);
  box-shadow: 0 0 20px rgba(201,169,97,0.5);
  animation: floatUp linear infinite;
}
.particle.cyan {
  background: rgba(0,224,184,0.3);
  box-shadow: 0 0 20px rgba(0,224,184,0.4);
}
@keyframes floatUp {
  0% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) translateX(30px) scale(1); opacity: 0; }
}

.glass {
  background: rgba(255,255,255,0.04) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.05) !important;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px) rotateX(-10deg);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center bottom;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.btn-primary {
  position: relative;
  overflow: visible;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: inherit;
  filter: blur(20px);
  opacity: 0.4;
  z-index: -1;
  animation: btnPulse 2.5s ease-in-out infinite;
}
@keyframes btnPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

@media (max-width: 768px) {
  .particle { display: none; }
}
