/* Açılış perdesi — Flutter motoru ilk kareyi çizene kadar görünen ekran.
   Renkler oyunun kimliğinden (lacivert #102138 + altın #D4AF37). */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #102138;
}

#boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: radial-gradient(circle at 50% 40%, #1e3a5f 0%, #102138 70%);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  transition: opacity 0.35s ease;
}

#boot.is-done {
  opacity: 0;
  pointer-events: none;
}

#boot img {
  width: 128px;
  height: 128px;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

#boot .boot-bar {
  position: relative;
  width: 180px;
  height: 3px;
  overflow: hidden;
  background: rgba(212, 175, 55, 0.18);
}

#boot .boot-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: #d4af37;
  animation: boot-slide 1.1s ease-in-out infinite;
}

@keyframes boot-slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}

@media (prefers-reduced-motion: reduce) {
  #boot .boot-bar::after {
    animation: none;
    width: 100%;
  }
}
