:root {
  --bg-primary: #0a0f1d;
  --bg-secondary: #070a14;
  --card-bg: rgba(16, 22, 38, 0.65);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --primary-accent: #3b82f6;
  --primary-accent-glow: rgba(59, 130, 246, 0.45);
  --spinner-border: rgba(59, 130, 246, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Background Animated Blobs */
.background-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  animation: pulse-blob 12s infinite alternate ease-in-out;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1e40af 0%, rgba(30, 64, 175, 0) 70%);
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0369a1 0%, rgba(3, 105, 161, 0) 70%);
  bottom: -150px;
  right: -100px;
  animation-delay: -6s;
}

@keyframes pulse-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 30px) scale(1.15);
  }
}

/* Glassmorphic Card Container */
.card-container {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 440px;
  perspective: 1000px;
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: slide-up-fade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform: translateY(30px);
  opacity: 0;
}

@keyframes slide-up-fade {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Logo Area with dynamic glow */
.logo-area {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 28px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--primary-accent);
  border-bottom-color: var(--primary-accent);
  animation: spin 3s linear infinite;
  opacity: 0.8;
}

.logo-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, #1d4ed8 0%, #1e3a8f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 25px var(--primary-accent-glow);
  animation: pulse-glow 2s infinite alternate ease-in-out;
}

.logo-icon svg {
  width: 36px;
  height: 36px;
  transform: scale(1);
  transition: transform 0.3s ease;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 15px var(--primary-accent-glow);
  }
  100% {
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.7);
  }
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Typography */
.title {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 36px;
}

/* Status Box */
.status-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 14px 24px;
  margin-bottom: 32px;
  width: 100%;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--spinner-border);
  border-top-color: var(--primary-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.status-text {
  font-size: 14px;
  color: #e2e8f0;
  font-weight: 500;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  border-radius: 16px;
  padding: 18px 24px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  margin-bottom: 24px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* Info Footer */
.info-footer {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0 10px;
}
