/* ─── PREMIUM AUTH PAGE STYLES ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #030308;
}

/* Background glowing orbs */
.bg-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: float-orbs 20s infinite ease-in-out;
}

.bg-orb:nth-child(1) {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
}

.bg-orb:nth-child(2) {
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  animation-delay: -5s;
}

.bg-orb:nth-child(3) {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  animation-delay: -10s;
}

@keyframes float-orbs {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.1); }
}

/* Main Page Container */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* Brand styling */
.auth-brand {
  text-align: center;
  margin-bottom: 40px;
  animation: fade-in-down 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-logo {
  height: 180px;
  width: auto;
  margin-bottom: 20px;
  animation: float-logo 4s ease-in-out infinite;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@keyframes float-logo {
  0%, 100% { transform: translateY(0px) rotate(0deg); filter: drop-shadow(0 8px 16px rgba(168, 85, 247, 0.45)); }
  50% { transform: translateY(-10px) rotate(2deg); filter: drop-shadow(0 20px 32px rgba(236, 72, 153, 0.7)); }
}

.auth-brand-name {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, #fdfcff 30%, #c084fc 70%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 30px rgba(168, 85, 247, 0.15);
}

.auth-brand-sub {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Premium Glassmorphism Card */
.auth-card {
  width: 100%;
  max-width: 400px;
  padding: 36px 28px;
  background: rgba(10, 10, 20, 0.6);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.85), 
              0 0 50px rgba(168, 85, 247, 0.08),
              inset 0 1px 1px rgba(255, 255, 255, 0.1);
  animation: card-appear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.8), rgba(236, 72, 153, 0.8), transparent);
}

@keyframes card-appear {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Alert Box */
.alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: shake 0.4s ease-in-out;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Discord button container styling */
.discord-login-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Premium Discord button style */
.btn-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 14px;
  padding: 16px 28px !important;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-discord::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn-discord:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(88, 101, 242, 0.6),
              0 0 15px rgba(255, 255, 255, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.btn-discord:hover::after {
  left: 125%;
}

.btn-discord:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

/* Footer style */
.auth-footer {
  margin-top: 32px;
  font-size: 0.82rem;
  color: #64748b;
  animation: fade-in 1.2s ease-in-out;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.auth-footer i {
  color: #10b981;
  font-size: 0.9rem;
  filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.5));
}

@keyframes fade-in-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
