/* Anasayfa giriş — perde + logo + progress birlikte */
#logoSplash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s ease, visibility 0s 0.65s;
}

#logoSplash.exit {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-curtain {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

#logoSplash.exit .splash-curtain {
  opacity: 0;
  transform: scale(1.04);
}

.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 24px;
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

#logoSplash.exit .splash-inner {
  opacity: 0;
  transform: scale(1.12);
}

.splash-logo {
  width: min(260px, 62vw);
  height: auto;
  transform: scale(0.82);
  opacity: 0;
  filter: drop-shadow(0 10px 28px rgba(0, 43, 73, 0.14));
  transition: opacity 0.5s ease, transform 0.35s ease;
}

#logoSplash.show-logo .splash-logo {
  opacity: 1;
}

.splash-progress {
  width: min(280px, 72vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.splash-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(0, 144, 212, 0.12);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 43, 73, 0.06);
}

.splash-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 50px;
  background: linear-gradient(90deg, #0090d4, #4db4e6, #0090d4);
  background-size: 200% 100%;
  animation: progressShine 1.2s linear infinite;
  transition: width 0.08s linear;
}

@keyframes progressShine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.splash-progress-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a7a94;
}

body.splash-active {
  overflow: hidden;
}
