/* ========================================
   LOADING SCREEN — Site rengiyle uyumlu
   ======================================== */

.loading-screen {
  position: fixed;
  inset: 0;
  background: #0f1923;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  gap: 40px;
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* ─── LOGO ─── */
.ls-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ls-logo-in 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
.ls-logo img {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: brightness(1) drop-shadow(0 0 12px rgba(194,207,224,0.15));
}

/* ─── CIRCLE ─── */
.ls-circle-wrap {
  position: relative;
  width: 82px;
  height: 82px;
  animation: ls-logo-in 0.6s 0.15s cubic-bezier(0.22,1,0.36,1) both;
}
.ls-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(194,207,224,0.7);
  border-right-color: rgba(194,207,224,0.15);
  animation: ls-spin 1.1s linear infinite;
}
.ls-ring-2 {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-bottom-color: rgba(194,207,224,0.2);
  border-left-color: rgba(194,207,224,0.08);
  animation: ls-spin 1.9s linear infinite reverse;
}
.ls-icon-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ls-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
}
.ls-icon.visible {
  animation: ls-icon-in 0.3s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.ls-icon.leaving {
  animation: ls-icon-out 0.22s ease-in forwards;
}

/* ─── KEYFRAMES ─── */
@keyframes ls-spin {
  to { transform: rotate(360deg); }
}
@keyframes ls-logo-in {
  from { opacity:0; transform: translateY(-10px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes ls-icon-in {
  from { opacity:0; transform: scale(0.4) rotate(-12deg); }
  to   { opacity:1; transform: scale(1)   rotate(0deg); }
}
@keyframes ls-icon-out {
  from { opacity:1; transform: scale(1)   rotate(0deg); }
  to   { opacity:0; transform: scale(0.4) rotate(12deg); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .ls-logo img  { height: 44px; }
  .ls-circle-wrap { width: 72px; height: 72px; }
}
@media (max-width: 480px) {
  .ls-logo img  { height: 36px; }
  .ls-circle-wrap { width: 64px; height: 64px; }
  .loading-screen { gap: 32px; }
}
