:root {
  --bg: #2f3424;
  --text: #f7f2ee;
  --muted: #e8c9cf;
  --pink: #f9d1d9;
  --pink-soft: #f0b8c4;
  --sage: #838f58;
  --sage-deep: #6b7648;
  --line: rgba(249, 209, 217, 0.2);
  --glow: rgba(249, 209, 217, 0.22);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "DM Sans", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--glow), transparent 55%),
    radial-gradient(circle at 88% 18%, rgba(131, 143, 88, 0.22), transparent 38%),
    radial-gradient(circle at 10% 90%, rgba(249, 209, 217, 0.12), transparent 42%),
    linear-gradient(180deg, #3a4030 0%, #2f3424 45%, #262a1e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.card {
  width: min(640px, 100%);
  background: linear-gradient(165deg, rgba(58, 64, 48, 0.95), rgba(47, 52, 36, 0.92));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(249, 209, 217, 0.1);
  padding: 40px 28px 28px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, #838f58, #f9d1d9, #9aa670, #838f58);
  filter: blur(5px);
  animation: spin 16s linear infinite;
  opacity: 0.85;
}

.avatar-wrap::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 209, 217, 0.2), transparent 72%);
  z-index: -1;
}

.avatar {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(249, 209, 217, 0.9);
  background: #3a4030;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

h1 {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 auto 6px;
  max-width: min(480px, 100%);
  background: linear-gradient(120deg, #fff5f7 0%, #f9d1d9 55%, #838f58 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  color: var(--muted);
  line-height: 1.55;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 auto 28px;
  max-width: min(480px, 100%);
}

.features {
  width: fit-content;
  max-width: min(480px, 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin: 0 auto 32px;
  padding: 0 8px;
}

.feature {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  column-gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  line-height: 1.45;
}

.check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(131, 143, 88, 0.22);
  border: 1px solid rgba(131, 143, 88, 0.55);
  color: var(--pink);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: #2f3424;
  background: linear-gradient(135deg, #f9d1d9, #f0b8c4 46%, #e8a8b6);
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 16px 22px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  box-shadow:
    0 16px 36px rgba(249, 209, 217, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cta-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.cta:active {
  transform: translateY(0);
}

.invite {
  width: min(480px, 100%);
  margin: 26px auto 0;
  border-radius: 12px;
  border: 1px solid rgba(131, 143, 88, 0.35);
  background: rgba(131, 143, 88, 0.14);
  padding: 20px 18px;
  color: #e0d0c4;
  line-height: 1.5;
  text-align: center;
  font-size: 0.95rem;
}

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

@media (max-width: 720px) {
  .card {
    padding: 30px 18px 24px;
    border-radius: 18px;
  }

  .features {
    gap: 12px;
    margin-bottom: 26px;
  }

  .feature {
    font-size: 0.95rem;
  }

  .cta {
    font-size: 1.02rem;
  }
}
