/* === Loading Screen === */
.loadingScreen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--space-black);
  z-index: 1;
}

.loadingContent {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loadingTitle {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--plasma-cyan), var(--shell-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.loadingText {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--chrome-silver);
}

.spinner {
  animation: spin 1.5s linear infinite;
  color: var(--plasma-cyan);
}

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

/* === Reconnect Overlay === */
.reconnectOverlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(4px);
  z-index: 200;
}

.reconnectCard {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: rgba(10, 14, 23, 0.95);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  padding: 2rem 3rem;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}

.reconnectIcon {
  color: var(--claw-red);
}

.reconnectTitle {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--star-white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.reconnectText {
  font-size: 0.85rem;
  color: var(--chrome-silver);
}

.reconnectBtn {
  margin-top: 0.25rem;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--star-white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--chrome-silver);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.reconnectBtn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* === Sign In Button === */
.signInBtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--star-white);
  background: linear-gradient(135deg, var(--shell-orange), var(--claw-red));
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.signInBtn:hover {
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
  transform: translateY(-1px);
}
