:root {
  color-scheme: light;
  --bg-top: #f5efe6;
  --bg-bottom: #d9e6f2;
  --ink: #172033;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(23, 32, 51, 0.08);
  --accent: #172033;
  --accent-strong: #2563eb;
  --shadow: 0 24px 80px rgba(23, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.94), transparent 28rem),
    linear-gradient(160deg, var(--bg-top), var(--bg-bottom));
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(12px);
}

body::before {
  width: 20rem;
  height: 20rem;
  top: 4vh;
  right: -5rem;
  background: rgba(37, 99, 235, 0.14);
}

body::after {
  width: 24rem;
  height: 24rem;
  left: -8rem;
  bottom: -9rem;
  background: rgba(249, 115, 22, 0.12);
}

.confetti-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  width: 100%;
  padding: clamp(1rem, 4vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.content-card {
  width: min(100%, 34rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  text-align: center;
}

.content-card--form {
  width: min(100%, 30rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23, 32, 51, 0.58);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--accent);
  text-wrap: balance;
}

.support-copy {
  margin: 0.95rem 0 0;
  color: rgba(23, 32, 51, 0.8);
  font-size: 1rem;
  line-height: 1.55;
}

.form-label {
  display: block;
  margin-top: 1.35rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
}

.text-input {
  width: 100%;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 0.95rem 1rem;
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.text-input:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.celebrate-button {
  margin-top: 1.75rem;
  border: 0;
  border-radius: 999px;
  min-width: 12rem;
  min-height: 3.4rem;
  padding: 0.95rem 1.8rem;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-strong), #1d4ed8);
  box-shadow:
    0 16px 30px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.celebrate-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(37, 99, 235, 0.32);
  filter: brightness(1.03);
}

.celebrate-button:active {
  transform: translateY(1px) scale(0.99);
}

@media (max-width: 520px) {
  .content-card {
    border-radius: 1.5rem;
    width: 100%;
    padding: 1.9rem 1.15rem;
  }

  h1 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
    line-height: 1.14;
  }

  .celebrate-button {
    width: 100%;
    min-width: 0;
  }
}
