/* =============================================
   SPLASH SCREEN
============================================= */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #b83d00 0%,
    #E8650A 25%,
    #F5A868 55%,
    #E8650A 75%,
    #b83d00 100%
  );
  background-size: 300% 300%;
  animation: splashGradient 9s ease infinite;
}

@keyframes splashGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.splash-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  padding: 2rem;
}

#splash-logo {
  width: 210px;
  max-width: 55vw;
  opacity: 0;
  animation: splashFadeUp 0.8s ease 0.35s forwards;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.22));
}

#splash-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.1rem, 3.5vw, 1.65rem);
  font-style: italic;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  min-height: 2.2em;
  letter-spacing: 0.02em;
}

#splash-btn {
  opacity: 0;
  padding: 0.85rem 3rem;
  border-radius: 100px;
  background: #fff;
  color: #E8650A;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#splash-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

#splash-btn.splash-btn-visible {
  animation: splashFadeUp 0.6s ease forwards;
}

@keyframes splashFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

#splash.splash-out {
  animation: splashFadeOut 0.65s ease forwards;
  pointer-events: none;
}

@keyframes splashFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
