/* ============================================
   GAME AUTHENTICATION PAGES
   ============================================ */

.game-auth-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  overflow: hidden;
}

/* Animated Background */
.game-auth-page__bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.game-auth-page__bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(79, 209, 197, 0.15), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(108, 92, 231, 0.12), transparent 50%);
  animation: gradientShift 15s ease infinite;
}

.game-auth-page__particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.game-auth-page__particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(79, 209, 197, 0.3);
  border-radius: 50%;
  animation: float 12s infinite ease-in-out;
}

.game-auth-page__particles span:nth-child(1) { left: 15%; top: 20%; animation-delay: 0s; }
.game-auth-page__particles span:nth-child(2) { left: 70%; top: 70%; animation-delay: 2s; }
.game-auth-page__particles span:nth-child(3) { left: 40%; top: 50%; animation-delay: 4s; }
.game-auth-page__particles span:nth-child(4) { left: 80%; top: 30%; animation-delay: 1s; }
.game-auth-page__particles span:nth-child(5) { left: 25%; top: 80%; animation-delay: 3s; }

/* ============================================
   GAME AUTH BOX
   ============================================ */

.game-auth-box {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: linear-gradient(135deg, rgba(30, 30, 40, 0.95), rgba(20, 20, 30, 0.98));
  border: 2px solid rgba(79, 209, 197, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(79, 209, 197, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  animation: slideInUp 0.6s ease-out;
}

.game-auth-box__header {
  text-align: center;
  margin-bottom: 2rem;
}

.game-auth-box__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(79, 209, 197, 0.2), rgba(108, 92, 231, 0.2));
  border: 2px solid rgba(79, 209, 197, 0.3);
  border-radius: 50%;
  margin-bottom: 1rem;
  color: #4fd1c5;
}

.game-auth-box__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #4fd1c5, #6c5ce7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.game-auth-box__subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ============================================
   GAME FORM ELEMENTS
   ============================================ */

.game-auth-form {
  margin-bottom: 1.5rem;
}

.game-form-group {
  margin-bottom: 1.25rem;
}

.game-form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.game-form-label svg {
  color: #4fd1c5;
}

.game-form-input,
.game-auth-form input[type="text"],
.game-auth-form input[type="email"],
.game-auth-form input[type="password"] {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 0.95rem;
  color: white;
  transition: all 0.3s ease;
  font-family: inherit;
}

.game-form-input:focus,
.game-auth-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(79, 209, 197, 0.5);
  box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.1);
}

.game-form-input::placeholder,
.game-auth-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.game-form-help {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.375rem;
  line-height: 1.4;
}

/* ============================================
   GAME ALERTS
   ============================================ */

.game-auth-messages {
  margin-bottom: 1.5rem;
}

.game-alert {
  padding: 0.875rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  border: 1px solid;
}

.game-alert:last-child {
  margin-bottom: 0;
}

.game-alert--success {
  background: rgba(79, 209, 197, 0.1);
  border-color: rgba(79, 209, 197, 0.3);
  color: #4fd1c5;
}

.game-alert--error {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.3);
  color: #f87171;
}

.game-alert--warning {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

.game-alert--info {
  background: rgba(108, 92, 231, 0.1);
  border-color: rgba(108, 92, 231, 0.3);
  color: #a78bfa;
}

.game-alert p {
  margin: 0.25rem 0;
}

.game-alert p:first-child {
  margin-top: 0;
}

.game-alert p:last-child {
  margin-bottom: 0;
}

/* ============================================
   AUTH BOX FOOTER
   ============================================ */

.game-auth-box__footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.game-auth-box__alt-text {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.75rem 0;
}

/* ============================================
   BUTTON VARIANTS
   ============================================ */

.game-btn--full-width {
  width: 100%;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 576px) {
  .game-auth-box {
    padding: 2rem 1.5rem;
  }

  .game-auth-box__title {
    font-size: 1.5rem;
  }

  .game-auth-box__logo {
    width: 60px;
    height: 60px;
  }

  .game-auth-box__logo svg {
    width: 36px;
    height: 36px;
  }
}
