/* AUTH MODAL FIX - Missing styles for authentication modal */

.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(10,14,26,0.90);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.auth-modal.show {
  display: flex;
  opacity: 1;
}

.auth-modal.hidden {
  display: none;
}

.auth-modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  width: min(440px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.auth-wrapper {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.auth-header {
  text-align: center;
}

.auth-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.auth-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.auth-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 0.5rem 0;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.auth-divider span {
  position: relative;
  background: var(--bg-card);
  padding: 0 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.auth-switch {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.auth-switch a {
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.auth-switch a:hover {
  color: var(--accent-secondary);
  text-decoration: underline;
}

.btn-steam {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1.2rem;
  background: #171a21;
  border: 1px solid #2a475e;
  color: white;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-steam:hover {
  background: #1b2838;
  border-color: #66c0f4;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-steam img {
  width: 20px;
  height: 20px;
  display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .auth-wrapper {
    padding: 1.5rem;
  }

  .auth-header h2 {
    font-size: 1.5rem;
  }
}
