/* ========================================
   LOADING SCREEN â€” Gold & Black + Card Suits Circle
   ======================================== */

.loading-screen {
  position: fixed;
  inset: 0;
  background: #0a0a0c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  gap: 44px;
  opacity: 1;
  transition: opacity 0.6s ease, visibility 0.6s 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.7s cubic-bezier(0.22,1,0.36,1) both;
}
.ls-logo img {
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255,215,0,0.2));
}

/* â”€â”€â”€ CIRCLE â”€â”€â”€ */
.ls-circle-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  animation: ls-logo-in 0.7s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}
.ls-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: rgba(212,175,55,0.85);
  border-right-color: rgba(212,175,55,0.25);
  animation: ls-spin 1.2s linear infinite;
}
.ls-ring-2 {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-bottom-color: rgba(212,175,55,0.3);
  border-left-color: rgba(212,175,55,0.12);
  animation: ls-spin 2s 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.35s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.ls-icon.leaving {
  animation: ls-icon-out 0.25s ease-in forwards;
}

/* â”€â”€â”€ KEYFRAMES â”€â”€â”€ */
@keyframes ls-spin {
  to { transform: rotate(360deg); }
}
@keyframes ls-logo-in {
  from { opacity:0; transform: translateY(-14px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes ls-icon-in {
  from { opacity:0; transform: scale(0.4) rotate(-15deg); }
  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(15deg); }
}

/* â”€â”€â”€ RESPONSIVE â”€â”€â”€ */
@media (max-width: 768px) {
  .ls-logo img  { height: 46px; }
  .ls-circle-wrap { width: 76px; height: 76px; }
}
@media (max-width: 480px) {
  .ls-logo img  { height: 38px; }
  .ls-circle-wrap { width: 68px; height: 68px; }
  .loading-screen { gap: 36px; }
}