* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root {
  --bg-primary: #f8fafc;
  --card-bg: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-yellow: #f59e0b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #334155;
  }
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
}

.blob-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -10;
  opacity: 0.6;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
  transform-origin: center;
}

/* Blob 1: Top Left Drifter */

.blob-1 {
  width: clamp(200px, 25vw, 400px);
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  top: -10%;
  left: -10%;
  animation: float1 18s infinite ease-in-out;
}

/* Blob 2: Bottom Right Wanderer */

.blob-2 {
  width: clamp(180px, 20vw, 350px);
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  bottom: -5%;
  right: -5%;
  animation: float2 22s infinite ease-in-out;
}

/* Blob 3: Center-Left Roamer */

.blob-3 {
  width: clamp(150px, 15vw, 300px);
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  top: 60%;
  left: 10%;
  animation: float3 25s infinite ease-in-out;
}

/* Blob 4: Top-Right Hoverer */

.blob-4 {
  width: clamp(160px, 18vw, 320px);
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-pink));
  top: 15%;
  right: 10%;
  animation: float4 20s infinite ease-in-out;
}

/* Combined Keyframes: Scale + Move + Rotate */

@keyframes float1 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(10vw, 15vh) scale(1.2) rotate(120deg);
  }
  66% {
    transform: translate(-5vw, 20vh) scale(0.9) rotate(240deg);
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(0, 0) scale(1.1) rotate(0deg);
  }
  33% {
    transform: translate(-15vw, -10vh) scale(1.3) rotate(-120deg);
  }
  66% {
    transform: translate(-5vw, -20vh) scale(1) rotate(-240deg);
  }
}

@keyframes float3 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(15vw, -15vh) scale(1.4) rotate(180deg);
  }
}

@keyframes float4 {
  0%, 100% {
    transform: translate(0, 0) scale(1.2) rotate(0deg);
  }
  50% {
    transform: translate(-20vw, 10vh) scale(0.8) rotate(-180deg);
  }
}

/* Overlay */

.nua-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  display: none;
  transition: opacity .4s ease;
}

.nua-overlay.show {
  opacity: 1;
}

/* Center Toast */

.glass-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.8);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 20px 30px;
  border-radius: 20px;
  z-index: 9999;
  opacity: 0;
  transition: opacity .4s ease, transform .4s ease;
  text-align: center;
  color: var(--text-primary);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Show animation */

.glass-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Toast message */

.nua-smsg {
  font-family: Advent Pro;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 12px;
  color: var(--text-primary);
}

