:root {
  --amb-purple: #6B207D;
  --amb-purple-dark: #380843;
  --amb-cream: #E3DACF;
  --amb-gold: #FCB819;
  --amb-text: #5A5A5A;
  --amb-bg: #f3f3f3;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 24px;
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--amb-text);
  background: radial-gradient(circle at 50% 0%, var(--amb-cream) 0%, var(--amb-bg) 55%);
  overflow: hidden;
}

.card {
  width: 100%;
  max-width: 380px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: rise 0.5s ease both;
}

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

.logo {
  width: 78%;
  max-width: 260px;
  height: auto;
  margin-bottom: 40px;
}

.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(107, 32, 125, 0.15);
  border-top-color: var(--amb-purple);
  animation: spin 0.9s linear infinite;
  margin-bottom: 22px;
}

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

h1 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--amb-purple-dark);
  margin: 0 0 8px;
}

p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 28px;
  color: var(--amb-text);
}

.btn {
  display: inline-block;
  width: 100%;
  padding: 14px 22px;
  background-color: var(--amb-purple);
  color: #ffffff;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 28px;
  box-shadow: 0 8px 20px rgba(107, 32, 125, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(107, 32, 125, 0.25);
}

.fallback {
  margin-top: 18px;
  font-size: 0.85rem;
}

.fallback a {
  color: var(--amb-purple);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 32, 125, 0.35);
}
