/* ==========================
   🍻 PAREA SPLASH SCREEN
   ========================== */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: radial-gradient(circle at 50% 40%, #f0e7d5 0%, #e8e4da 40%, #d9d3c7 100%);
  color: #1c1c1e;
}

/* 🌗 Adjust automatically for dark mode */
@media (prefers-color-scheme: dark) {
  body, html {
    background: radial-gradient(circle at 50% 40%, #0d0d0f 0%, #18181a 60%, #0d0d0f 100%);
    color: #f5f5f7;
  }
}

/* 🔹 Glass container */
.splash-glass {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255,255,255,0.3);
  animation: fadeIn 0.8s ease forwards;
}

/* 🍺 Logo text */
.splash-logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent, #f9d85c);
  text-shadow: 0 0 20px rgba(255,216,77,0.5);
  letter-spacing: 0.5px;
  transform: translateY(10px);
  opacity: 0;
  animation: logoPop 1.2s ease forwards 0.3s;
}

/* ✨ Subtext */
.splash-sub {
  font-size: 1rem;
  margin-top: 0.8rem;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.9s;
}

/* 🌈 Blur bubble glow */
.bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.5;
  animation: floatBubble 6s ease-in-out infinite alternate;
}
.bubble1 { width: 180px; height: 180px; top: 20%; left: 25%; background: #ffdf5c; animation-delay: 0s; }
.bubble2 { width: 220px; height: 220px; bottom: 20%; right: 20%; background: #ffb64d; animation-delay: 2s; }

/* 🌀 Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes logoPop {
  0% { opacity: 0; transform: scale(0.8) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes floatBubble {
  from { transform: translateY(0); opacity: 0.5; }
  to { transform: translateY(-20px); opacity: 0.7; }
}

/* 🧠 Fade-out transition before redirect */
.fade-out {
  animation: fadeOut 0.6s ease forwards;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
