* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #fff3ee 0%, #f3f4f7 320px, #f3f4f7 100%);
  color: #17181c;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

button {
  font: inherit;
}

.page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.card {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(238, 77, 45, 0.14), 0 2px 8px rgba(17, 18, 20, 0.06);
  animation: rise 420ms ease both;
}

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

.banner {
  position: relative;
  padding: 28px 24px 34px;
  background: linear-gradient(135deg, #ff7a4a 0%, #ee4d2d 55%, #d8371c 100%);
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.badge svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.tag {
  margin: 0;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.body {
  padding: 30px 24px 32px;
}

h1 {
  margin: 0;
  color: #17181c;
  font-size: 1.85rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lead {
  margin: 14px 0 0;
  color: #5b5d64;
  font-size: 0.98rem;
  line-height: 1.6;
}

.checklist {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fbf6f4;
  font-size: 0.92rem;
  font-weight: 650;
  color: #2c2d31;
}

.check {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a4a, #ee4d2d);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
}

.stats {
  display: flex;
  margin-top: 28px;
}

.stat {
  flex: 1;
}

.stat strong {
  display: block;
  color: #17181c;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 2px;
  color: #86888e;
  font-size: 0.76rem;
  font-weight: 600;
}

.progress-track {
  margin-top: 12px;
  height: 6px;
  border-radius: 999px;
  background: #f0e4e0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a4a, #ee4d2d);
  transition: width 600ms ease;
}

.invite-button {
  width: 100%;
  margin-top: 26px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff7a4a, #ee4d2d);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 750;
  box-shadow: 0 12px 24px rgba(238, 77, 45, 0.32);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.invite-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(238, 77, 45, 0.38);
}

.invite-button:active {
  transform: translateY(0);
}

.invite-button:disabled {
  opacity: 0.65;
  transform: none;
}

.invite-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.status-message {
  min-height: 18px;
  margin: 10px 0 0;
  color: #c0392b;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.footer {
  margin-top: 22px;
  color: #9a9ba0;
  font-size: 0.78rem;
  text-align: center;
}

@media (min-width: 600px) {
  .page {
    max-width: 520px;
    padding: 48px 20px 60px;
  }

  h1 {
    font-size: 2.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card {
    animation: none;
  }

  .invite-button {
    transition: none;
  }
}
