/* ── Splash screen ──────────────────────────────────────────────────────── */

#app-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0f0f1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: opacity 0.4s ease;
}

#app-splash.splash-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ── Logo + ring ────────────────────────────────────────────────────────── */
#splash-logo-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#splash-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px dashed #C5532B;
  animation: splashRingSpin 4s linear infinite;
  opacity: 0.9;
}

@keyframes splashRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

#splash-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

/* ── Text ───────────────────────────────────────────────────────────────── */
#splash-title {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

#splash-season {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #C5532B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#splash-flag {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.1em;
}

#splash-sub {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  font-style: italic;
  color: #aaaabc;
  letter-spacing: 0.08em;
}

/* ── Bouncing dots ──────────────────────────────────────────────────────── */
#splash-dots {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

#splash-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C5532B;
  animation: splashDotBounce 1.2s ease-in-out infinite;
}

#splash-dots span:nth-child(2) { animation-delay: 0.2s; }
#splash-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes splashDotBounce {
  0%, 80%, 100% { transform: translateY(0);    opacity: 0.4; }
  40%            { transform: translateY(-8px); opacity: 1;   }
}

/* ── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  #splash-logo-wrap {
    width: 64px;
    height: 64px;
  }

  #splash-logo {
    width: 64px;
    height: 64px;
  }

  #splash-ring {
    inset: -8px;
    border-width: 2.5px;
  }

  #splash-title {
    font-size: 1.2rem;
  }

  #splash-season {
    font-size: 0.78rem;
  }

  #splash-flag {
    font-size: 1.6rem;
  }
}