/* ========================= */
/* Splash Page Styles        */
/* ========================= */

/* Center splash container */
.splash {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
}

/* Logo scaling + fade-in */
.logo {
  width: 20vw;           /* responsive scaling */
  max-width: 260px;      /* cap size on large screens */
  height: auto;          /* maintain aspect ratio */
  display: block;
  margin: 0 auto 18px;
  opacity: 0;
  animation: fadeInLogo 1.5s ease forwards;
}

@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Buttons below logo */
.splash .buttons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Sparkles + Meteors canvases (if used) */
#sparkle-canvas,
#meteor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%!important;
  height: 100%!important;
  pointer-events: none;  /* don’t block clicks */
  z-index: 11;            /* behind splash content */
}

/* ========================= */
/* Responsive tweaks         */
/* ========================= */
@media (max-width: 768px) {
  .logo {
    width: 50vw;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 70vw;
    max-width: 180px;
    margin-bottom: 12px;
  }
}
