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

/* ============================================
   GLOBAL STYLES - Floating & Watered UI
============================================ */

:root {
  --primary: #0b2977;
  --secondary: #6d8abd;
  --accent: #799fb4;
  --bg-light: #ecf0f1;
  --bg-dark: #0f172a;
}

body {
  font-family: 'Poppins', sans-serif;
  transition: background-color 0.5s ease, color 0.5s ease;
  overflow-x: hidden;
}

/* ============================================
   ANIMATIONS
============================================ */

@keyframes float-up-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes float-left-right {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(20px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-float {
  animation: float-up-down 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-up-down 6s ease-in-out infinite;
  animation-delay: 3s;
}

.animate-drift {
  animation: float-left-right 8s ease-in-out infinite;
}

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

/* ============================================
   GLASSMORPHISM & BUBBLES
============================================ */

.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(11, 41, 119, 0.1);
}

.dark .glass {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.bubble-card {
  border-radius: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bubble-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.bubble-btn {
  border-radius: 9999px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bubble-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(11, 41, 119, 0.4);
}

.bubble-input {
  border-radius: 9999px;
}

/* ============================================
   CUSTOM SCROLLBAR
============================================ */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
