:root {
  --cream: #FBF3E7;
  --espresso: #3B2A20;
  --terracotta: #C1622D;
  --muted: #D8CBB8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--espresso);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 48px;
}

.centered-message {
  margin-top: 40vh;
  text-align: center;
  font-size: 18px;
  max-width: 320px;
}

.brand-title {
  font-size: 22px;
  font-weight: 700;
  margin: 24px 0 32px;
}

.card {
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(59, 42, 32, 0.15);
  background: white;
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px;
}

.card-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
}

.card-business-name {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.card-stamps {
  padding: 24px 20px;
}

.stamp-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.stamp-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0.35;
}

.card-reward {
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}

.primary-button {
  margin-top: 28px;
  width: 100%;
  max-width: 360px;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: var(--terracotta);
  color: white;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.primary-button:disabled {
  opacity: 0.6;
  cursor: default;
}

.secondary-button {
  margin-top: 12px;
  width: 100%;
  max-width: 360px;
  padding: 14px;
  border: 1.5px solid var(--muted);
  border-radius: 14px;
  background: transparent;
  color: var(--espresso);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.wallet-buttons {
  width: 100%;
  max-width: 360px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wallet-button {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px solid var(--muted);
  background: white;
  color: var(--espresso);
  font-size: 15px;
  font-weight: 600;
  opacity: 0.55;
  cursor: default;
  position: relative;
}

.wallet-button::after {
  content: "Coming soon";
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 2px;
}

.confirmation {
  text-align: center;
  width: 100%;
}

.confirmation h2 {
  font-size: 22px;
  margin: 16px 0 4px;
}

.confirmation p {
  font-size: 14px;
  opacity: 0.75;
  max-width: 320px;
  margin: 0 auto 20px;
}

.qr-image {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  background: white;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(59, 42, 32, 0.15);
}

.error-text {
  color: #B23A2E;
  font-size: 14px;
  margin: 12px 0;
  text-align: center;
}
