/* No Bullies Club — coming-soon and thanks pages */
:root {
  --purple: #8a3cf0;
  --pink: #f1358f;
  --blue: #1aa8f3;
  --orange: #ff7a1a;
  --yellow: #ffc72c;
  --navy: #1c1a3d;
  --cream: #fff8ea;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: #fff;
  position: relative;
  overflow-x: hidden;
  display: flex; flex-direction: column;
  min-height: 100vh;
}

/* Confetti background */
.confetti {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.confetti span {
  position: absolute; display: block; border-radius: 50%;
  opacity: 0.55;
  animation: drift 9s ease-in-out infinite alternate;
}
.confetti .sq { border-radius: 4px; transform: rotate(18deg); }
@keyframes drift {
  from { transform: translateY(0) rotate(0deg); }
  to   { transform: translateY(-22px) rotate(16deg); }
}

main {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(1.5rem, 5vw, 3.5rem) 1.25rem 2rem;
}

.logo {
  width: min(92vw, 620px);
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(28, 26, 61, 0.10));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50%      { transform: translateY(-10px) rotate(0.6deg); }
}

.badge {
  display: inline-block;
  margin: 1.75rem 0 0.9rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  transform: rotate(-2deg);
  box-shadow: 0 4px 0 var(--navy);
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6.5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--purple), var(--pink) 45%, var(--blue));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-bottom: 0.1em;
}
.lede {
  max-width: 520px;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.55;
  margin: 0 auto 2rem;
  color: #3b3a5c;
}

/* Notify form */
.notify {
  width: min(100%, 520px);
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: 8px 8px 0 var(--navy);
}
.notify label {
  display: block; font-weight: 800; margin-bottom: 0.65rem;
  font-family: var(--font-display); font-size: 1.05rem;
}
.notify .row { display: flex; gap: 0.6rem; }
.notify input[type="email"] {
  flex: 1; min-width: 0;
  padding: 0.85rem 1rem;
  font: inherit; font-weight: 600;
  border: 2px solid #d9d7ea; border-radius: 12px;
  color: var(--navy);
}
.notify input[type="email"]:focus {
  outline: 3px solid rgba(26, 168, 243, 0.45); border-color: var(--blue);
}
.notify button {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border: 0; border-radius: 12px;
  padding: 0.85rem 1.3rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.notify button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(241, 53, 143, 0.35); }
.notify button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.notify small { display: block; margin-top: 0.7rem; color: #6c6b8a; font-weight: 600; }
@media (max-width: 480px) {
  .notify .row { flex-direction: column; }
  .notify button { width: 100%; }
}

footer {
  position: relative; z-index: 1;
  text-align: center;
  padding: 1.25rem 1rem 1.75rem;
  font-weight: 700; font-size: 0.9rem;
  color: #6c6b8a;
}
footer .dots { display: inline-flex; gap: 6px; margin-right: 0.75rem; vertical-align: middle; }
footer .dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
@media (prefers-reduced-motion: reduce) {
  .logo, .confetti span { animation: none; }
}

/* Thanks page */
.thanks-card {
  width: min(100%, 520px);
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: 22px;
  padding: 1.75rem 1.5rem;
  box-shadow: 8px 8px 0 var(--navy);
}
.thanks-card p { margin: 0 0 1.25rem; font-weight: 600; color: #3b3a5c; line-height: 1.55; }
.btn {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(241, 53, 143, 0.35); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.logo--sm { width: min(80vw, 440px); }
