* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  background: linear-gradient(180deg, #0f2a44, #061a2d);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* WRAPPER */
.wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 15px;
}

/* CARD */
.card {
  background: #ffffff;
  width: 100%;
  max-width: 360px;
  padding: 20px 18px 24px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

/* LOGO */
.logo {
  font-size: 26px;
  margin-bottom: 10px;
}

.brand {
  color: #4aa3df;
  font-weight: bold;
}

/* TEXT */
h1 {
  font-size: 20px;
  margin: 10px 0 14px;
  color: #111;
}

h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #111;
}

.sub {
  font-size: 14px;
  margin-bottom: 12px;
}

/* IMAGE */
.image-box img {
  width: 160px;
  border-radius: 4px;
  margin-bottom: 14px;
}

/* STEPS */
.step-box {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 14px;
}

.step {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 20px;
  background: #e5e7eb;
  color: #555;
}

.step.active {
  background: #2563eb;
  color: #fff;
}

/* LEGAL */
.legal {
  font-size: 11px;
  color: #555;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* BUTTONS */
.btn {
  width: 100%;
  padding: 14px;
  font-weight: bold;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.primary {
  background: linear-gradient(#3b8edb, #1f5fa5);
  color: #fff;
  font-size: 17px;
  margin-bottom: 10px;
}

.secondary {
  background: transparent;
  color: #2563eb;
  font-size: 15px;
}

/* LOADING */
.loading {
  display: none;
  margin: 18px 0;
}

.spinner {
  width: 34px;
  height: 34px;
  border: 4px solid #ddd;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  margin: auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* FOOTER */
.footer-text {
  font-size: 12px;
  margin-top: 10px;
}

.links {
  margin-top: 14px;
}

.links a {
  display: block;
  font-size: 12px;
  color: #1a73e8;
  text-decoration: none;
  margin-top: 4px;
}

/* ✅ MOBILE FIX */
@media (max-width: 480px) {
  body {
    align-items: center;
  }
}
