:root {
  --bg-color: #ffffff;
  --glow-color: rgba(0, 0, 0, 0.05);
  color: #050505;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #050505;
    --glow-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--color); /* Will use the root color */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Subtle animated background glow effect */
body::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
  animation: pulse-glow 10s infinite alternate ease-in-out;
}

/* Page load entrance animation */
#app {
  z-index: 1;
  opacity: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in-up 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  animation: float 6s ease-in-out infinite;
  perspective: 1000px;
  position: relative;
}

/* Subtle reflection under the logo */
.logo-container::after {
  content: '';
  position: absolute;
  bottom: -20px;
  width: 60%;
  height: 20px;
  background: radial-gradient(ellipse at center, var(--glow-color) 0%, transparent 70%);
  border-radius: 50%;
  animation: shadow-pulse 6s ease-in-out infinite;
  filter: blur(5px);
}

.logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 15px var(--glow-color));
}

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

@keyframes shadow-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(0.8);
    opacity: 0.2;
  }
}

@keyframes pulse-glow {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo {
    max-width: 200px;
  }
}
