:root {
  --bg-dark: #0a0e17;
  --bg-darker: #05070a;
  --primary: #10b981;
  --primary-hover: #059669;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 20px;
}

.background-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.blob {
  position: absolute;
  filter: blur(100px);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 20s infinite alternate;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #25D366 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1e3a8a 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

.container {
  width: 100%;
  max-width: 500px;
  z-index: 10;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-header {
  text-align: center;
  margin-bottom: 30px;
}

.logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin-bottom: 20px;
  color: var(--primary);
}

.card-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

.card-body h2 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.card-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.action-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.primary-btn:hover:not(:disabled) {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.primary-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.primary-btn:disabled {
  background-color: #475569;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}

.btn-icon {
  display: flex;
  align-items: center;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

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

.status-msg {
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
}

.status-msg.hidden {
  display: none;
}

.status-msg.success {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-msg.error {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.policy-acceptance {
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid var(--glass-border);
}

.policy-acceptance p {
  font-size: 13px;
  margin-bottom: 0;
  line-height: 1.5;
}

.policy-acceptance a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.policy-acceptance a:hover {
  color: #34d399;
  text-decoration: underline;
}

.card-footer {
  text-align: center;
  margin-top: 30px;
}

.card-footer p {
  font-size: 13px;
  color: #64748b;
}

.card-footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.card-footer a:hover {
  color: var(--text-main);
}

@media (max-width: 640px) {
  .glass-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .card-header h1 {
    font-size: 22px;
  }

  .card-body h2 {
    font-size: 18px;
  }

  .primary-btn {
    padding: 15px 18px;
    font-size: 15px;
  }
}