:root {
  --primary: #305633;
  --primary-2: #2a613a;
  --accent: #A6F7AD;
  --font-sans: 'Inter', 'Poppins', 'Helvetica Neue', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--primary);
  font-family: var(--font-sans);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 🌆 Splash Container */
#splash-screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-2) 100%);
  z-index: 99999;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
  min-height: 100vh;
  user-select: none;
}

/* ✨ Logo */
#splash-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.9) translateY(8px);
  animation: fadeUp 0.9s 0.3s forwards ease-out;
}

/* 🌆 Title */
#splash-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 18px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.9s 0.6s forwards ease-out, shimmer 4s linear 1s infinite;
  background: linear-gradient(90deg, var(--accent) 0%, #ebffe8 10%, var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 📍 Subtitle */
#splash-subtitle {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 4px;
  margin-top: 12px;
  opacity: 0;
  animation: fadeUp 0.9s 1s forwards ease-out;
}

/* 🆕 Title Wrapper for Badge */ 
#title-wrapper {
  position: relative;
  display: inline-block;
  margin-top: 18px; /* same as before */
  text-align: center;
}

/* 🏷️ Beta Badge */
#beta-badge {
  position: absolute;
  right: -12px;
  background: rgba(255,255,255,0.25);
  color: #ebffe0;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);

  /* 🎉 Add animations */
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.9s 0.4s forwards ease-out,
             shimmer 4s linear 1s infinite;
}




/* ⚙️ Fallback */
#splash-fallback {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* 🔹 Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ✨ Fade-out */
.splash-hidden {
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  visibility: hidden;
}

/* 📱 Responsive */
@media (max-width: 420px) {
  #splash-logo {
    width: 110px;
    height: 110px;
  }
  #splash-title {
    font-size: 24px;
  }
}

/* ♿ Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}


