

@font-face {
  font-family: "Brittany";
  src: url("fonts/BrittanySignature.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* ================= SPLASH SCREEN ================= */

#splashScreen {
  transition: opacity 0.5s ease;
}

#splashScreen.fade-out {
  opacity: 0;
}

#splashScreen.hide {
  visibility: hidden;
}

.splash-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* LOGO FIXED CENTER */
.splash-logo-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.splash-logo {
  width: 240px;
  max-width: 75vw;
  opacity: 0;
  animation: logoFade 3s ease forwards;
}

/* TEXT CONTAINER FIX WIDTH */
.splash-text-container {
  width: 360px;
  max-width: 85vw;
  text-align: center;
  min-height: 60px;
}

.splash-text {
  font-family: "Brittany", cursive;
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: 1px;

  background: linear-gradient(
    90deg,
    #d4af37,
    #f5d67a,
    #b8962e
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes logoFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

#splashScreen.fade-out {
  opacity: 0;
}

#splashScreen.hide {
  visibility: hidden;
}

.splash-content {
  text-align: center;
  animation: splashFadeUp 1s ease forwards;
}

.splash-logo {
  width: 220px;
  max-width: 70vw;
  height: auto;
  margin-bottom: 28px;
  opacity: 0.95;
}

.splash-text {
  font-family: "Brittany", cursive;
  font-size: 26px;
  letter-spacing: 1px;
  max-width: 340px;
  margin: 0 auto;
  line-height: 1.6;

  background: linear-gradient(
    90deg,
    #d4af37,
    #f5d67a,
    #b8962e
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  min-height: 40px;
}

@keyframes splashFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#app {
  opacity: 0;
}
