/* Boopware landing — palette mirrors the Goodest Boops cream/blush/coral set. */
@font-face {
  font-family: "Baloo2";
  src: url("/assets/Baloo2.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --cream: #fffbf1;
  --cream-deep: #fdf3e0;
  --blush: #f6dce4;
  --pink: #f58ca8; /* coral-pink accent (matches in-game card border) */
  --pink-deep: #d65277;
  --ink: #4a3b33; /* warm brown text */
  --ink-soft: #7a6a60;
}

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

html,
body {
  height: 100%;
}

body {
  color-scheme: light;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 15%, var(--blush) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, var(--cream-deep) 0%, transparent 50%), var(--cream);
  color: var(--ink);
  font-family:
    "Nunito",
    "Quicksand",
    ui-rounded,
    "SF Pro Rounded",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.card {
  width: 100%;
  max-width: 540px;
  background: var(--cream);
  border: 4px solid var(--pink);
  border-bottom-width: 10px;
  border-radius: 36px;
  box-shadow: 0 18px 40px rgba(199, 82, 119, 0.22);
  padding: 48px 40px 32px;
  text-align: center;
}

.logo {
  width: min(210px, 64vw);
  height: auto;
  margin: 0 auto 14px;
  display: block;
}

.wordmark {
  font-family: "Baloo2", ui-rounded, system-ui, sans-serif;
  font-size: clamp(1.35rem, 5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--pink-deep);
  line-height: 1;
  margin-top: 0;
}

.tagline {
  font-family: "Baloo2", ui-rounded, system-ui, sans-serif;
  margin-top: 1px;
  font-size: clamp(0.78rem, 2.6vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
}

.blurb {
  margin: 22px auto 0;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.blurb strong {
  color: var(--ink);
}

/* Action buttons — pink "3D" pills, stacked. One shared style so the email and
   Discord buttons are identical in size; the Discord one just adds a glyph. */
.actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 280px;
  padding: 12px 26px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--pink-deep);
  transition:
    transform 0.08s ease,
    box-shadow 0.08s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 var(--pink-deep);
}

.btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--pink-deep);
}

.btn-icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}

.footer {
  margin-top: 34px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer a {
  color: var(--ink-soft);
  text-decoration: underline;
}

/* ---- Long-form document pages (e.g. privacy policy) ---- */
body.doc-page {
  align-items: flex-start; /* top-align long content instead of vertical centering */
}

.doc {
  width: 100%;
  max-width: 760px;
  margin: 24px auto;
  background: var(--cream);
  border: 4px solid var(--pink);
  border-bottom-width: 10px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(199, 82, 119, 0.22);
  padding: 40px clamp(22px, 5vw, 48px) 28px;
  text-align: left;
}

.doc-head {
  text-align: center;
  margin-bottom: 22px;
}

.doc-head .logo {
  width: min(120px, 40vw);
  margin-bottom: 10px;
}

.doc h1 {
  font-family: "Baloo2", ui-rounded, system-ui, sans-serif;
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--pink-deep);
  line-height: 1.1;
}

.doc .updated {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.doc h2 {
  font-family: "Baloo2", ui-rounded, system-ui, sans-serif;
  font-size: 1.15rem;
  color: var(--pink-deep);
  margin-top: 26px;
  margin-bottom: 8px;
}

.doc p,
.doc li {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink);
}

.doc p {
  margin-bottom: 12px;
}

.doc ul {
  margin: 0 0 12px 1.25em;
}

.doc li {
  margin-bottom: 6px;
}

.doc a {
  color: var(--pink-deep);
  font-weight: 700;
}

.doc-footer {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--blush);
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.doc-footer a {
  color: var(--pink-deep);
  font-weight: 700;
  text-decoration: none;
}
