:root {
  --teal: #00E0E5;
  --blue: #3888FF;
  --bg: #0B1120;
  --card-bg: #ffffff;
  --text: #1A2233;
  --muted: #6B7686;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.state.hidden {
  display: none;
}

.logo-mark {
  font-size: 40px;
  margin-bottom: 8px;
}

h1 {
  font-size: 22px;
  margin: 8px 0 4px;
  color: var(--text);
}

.author {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.muted {
  color: var(--muted);
}

.stats {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 20px 0 28px;
  padding: 16px 0;
  border-top: 1px solid #EEF0F4;
  border-bottom: 1px solid #EEF0F4;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: block;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: opacity 0.15s ease;
}

.btn:active {
  opacity: 0.8;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #ffffff;
}

.btn-secondary {
  background: #F2F4F8;
  color: var(--text);
}

.spinner {
  width: 32px;
  height: 32px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid #E5E9F0;
  border-top-color: var(--blue);
  animation: spin 0.8s linear infinite;
}

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

.footer-note {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}
