/* ─────────────────────────────────────────────────────────────────────────
   Pet Booper — coming-soon teaser styles
   Design tokens mirror the in-game prototype and the main marketing site
   (../../../website/public/assets/css/styles.css). This file is deliberately
   trimmed — only the bits the teaser actually renders.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --color-primary: #ff6b35;
  --color-primary-dark: #e85420;
  --color-yellow:  #ffd23f;
  --color-teal:    #06d6a0;
  --color-pink:    #ff6bd6;
  --color-purple:  #7b61ff;
  --color-bg:      #fffdf5;
  --color-bg-warm: #fff6e8;
  --color-dark:    #1a1a2e;
  --color-muted:   #6b6b7a;
  --color-card:    #ffffff;

  --font-display: "Fredoka One", system-ui, sans-serif;
  --font-body:    "Nunito", system-ui, -apple-system, sans-serif;

  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 999px;

  --border-thin:   2px solid var(--color-dark);
  --border-medium: 2.5px solid var(--color-dark);
  --border-thick:  3px solid var(--color-dark);

  --shadow-2: 0 2px 0 var(--color-dark);
  --shadow-3: 0 3px 0 var(--color-dark);
  --shadow-4: 0 4px 0 var(--color-dark);
  --shadow-5: 0 5px 0 var(--color-dark);
  --shadow-6: 0 6px 0 var(--color-dark);

  --gradient-page: radial-gradient(ellipse at top, #fff6e8 0%, #ffe8c8 55%, #ffd8a0 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
}

body {
  background: var(--gradient-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mascot, .mascot-row { user-select: none; }

/* ── Page frame ────────────────────────────────────────────────────────── */

main.teaser {
  flex: 1 0 auto;
  position: relative;
  overflow: hidden;
  padding: 56px 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teaser__inner {
  max-width: 720px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ── Sparkles (decorative, identical motion to main site hero) ────────── */

.teaser__sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.teaser__sparkle {
  position: absolute;
  font-size: 22px;
  opacity: 0.7;
  animation: sparkle 3.6s ease-in-out infinite;
}

.teaser__sparkle:nth-child(1) { top: 12%; left: 8%;   animation-delay: 0s; }
.teaser__sparkle:nth-child(2) { top: 22%; right: 12%; animation-delay: 0.6s; }
.teaser__sparkle:nth-child(3) { top: 64%; left: 14%;  animation-delay: 1.2s; }
.teaser__sparkle:nth-child(4) { top: 70%; right: 8%;  animation-delay: 1.8s; }
.teaser__sparkle:nth-child(5) { top: 8%;  right: 38%; animation-delay: 2.4s; }
.teaser__sparkle:nth-child(6) { bottom: 14%; left: 42%; animation-delay: 3.0s; }

@keyframes sparkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7) rotate(-8deg); }
  50%      { opacity: 1;    transform: scale(1.15) rotate(8deg); }
}

/* ── Brand pill at the top ─────────────────────────────────────────────── */

.teaser__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: var(--border-thin);
  border-radius: var(--radius-pill);
  padding: 8px 18px 8px 10px;
  box-shadow: var(--shadow-3);
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-primary);
  text-shadow: 2px 2px 0 var(--color-dark);
  margin-bottom: 28px;
}

.teaser__brand-paw {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-yellow);
  border: var(--border-thin);
  border-radius: 10px;
  box-shadow: var(--shadow-2);
  font-size: 18px;
  text-shadow: none;
}

/* ── Hero title ────────────────────────────────────────────────────────── */

.teaser__eyebrow {
  display: inline-block;
  background: var(--color-yellow);
  border: var(--border-thin);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-dark);
  box-shadow: var(--shadow-2);
  margin-bottom: 22px;
}

.teaser__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 88px);
  line-height: 0.95;
  margin: 0;
  color: var(--color-primary);
  text-shadow:
    4px 4px 0 var(--color-dark),
    8px 8px 0 rgba(26, 26, 46, 0.12);
  letter-spacing: 1.5px;
}

.teaser__title-word { display: inline-block; }
.teaser__title-word--alt { color: var(--color-teal); }

.teaser__tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  margin: 22px auto 8px;
  color: var(--color-dark);
  max-width: 600px;
  line-height: 1.3;
}

.teaser__sub {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 700;
  color: var(--color-muted);
  margin: 0 auto 28px;
  max-width: 560px;
  line-height: 1.55;
}

/* ── Pet stage (silhouettes only — no names, no treats, no count promise) ─ */

.teaser__stage {
  position: relative;
  height: 160px;
  max-width: 560px;
  margin: 6px auto 24px;
}

.mascot-row {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

.mascot {
  font-size: 56px;
  line-height: 1;
  display: inline-block;
  filter: drop-shadow(2px 4px 0 rgba(26, 26, 46, 0.5));
  animation: bob 2.6s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.mascot:nth-child(1) { animation-delay: 0s;   font-size: 60px; }
.mascot:nth-child(2) { animation-delay: 0.2s; font-size: 78px; }
.mascot:nth-child(3) { animation-delay: 0.4s; font-size: 62px; }
.mascot:nth-child(4) { animation-delay: 0.6s; font-size: 68px; }

.mascot:hover { transform: scale(1.12) rotate(-4deg); }
.mascot.is-wiggled { animation: wiggle 0.6s ease-out; }

@keyframes bob {
  0%, 100% { transform: translateY(0)   rotate(-2deg); }
  50%      { transform: translateY(-8px) rotate(2deg); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-8deg) scale(1.05); }
  75%      { transform: rotate(8deg)  scale(1.05); }
}

/* The little speech puff is deliberately vague — no "BOOP!" reveal. */
.puff {
  position: absolute;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-primary);
  text-shadow: 2px 2px 0 var(--color-dark);
  animation: puff 0.9s ease-out forwards;
}

@keyframes puff {
  0%   { opacity: 0;   transform: translate(-50%, 0)    scale(0.6) rotate(-12deg); }
  20%  { opacity: 1; }
  100% { opacity: 0;   transform: translate(-50%, -50px) scale(1.15) rotate(8deg); }
}

/* ── "What we can confirm" list ────────────────────────────────────────── */

.teaser__card {
  background: var(--color-card);
  border: var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-6);
  padding: 24px 28px 22px;
  margin: 0 auto 32px;
  max-width: 520px;
  text-align: left;
}

.teaser__card-title {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--color-dark);
  letter-spacing: 0.4px;
  text-align: center;
}

.teaser__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.teaser__list li {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.teaser__list li::before {
  content: "✓";
  font-family: var(--font-display);
  color: var(--color-teal);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 214, 160, 0.15);
  border-radius: 50%;
  font-size: 13px;
  margin-top: 1px;
}

/* ── Store pills ───────────────────────────────────────────────────────── */

.teaser__stores {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 18px;
}

.store-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--color-dark);
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 10px 22px 10px 16px;
  box-shadow: var(--shadow-5);
  font-family: var(--font-display);
  text-align: left;
}

.store-card__icon { font-size: 26px; }

.store-card__top {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.store-card__bottom { font-size: 17px; line-height: 1; }

.teaser__whisper {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-muted);
  margin: 0 auto;
  max-width: 460px;
  line-height: 1.5;
}

/* ── Footer ────────────────────────────────────────────────────────────── */

.teaser-footer {
  flex-shrink: 0;
  padding: 18px 24px 28px;
  text-align: center;
}

.teaser-footer__legal {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

.teaser-footer__contact {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--color-dark);
}

/* ── 404 ──────────────────────────────────────────────────────────────── */

.notfound {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  text-align: center;
}

.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(80px, 16vw, 160px);
  line-height: 1;
  color: var(--color-primary);
  text-shadow: 4px 4px 0 var(--color-dark);
  margin: 0;
  letter-spacing: 2px;
}

.notfound__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  margin: 12px 0 6px;
  color: var(--color-dark);
}

.notfound__body {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-muted);
  margin: 0 auto 22px;
  max-width: 420px;
  line-height: 1.5;
}

.notfound__home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  background: var(--color-primary);
  color: #fff;
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  box-shadow: var(--shadow-5);
}

.notfound__home:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-6); }

@media (prefers-reduced-motion: reduce) {
  .mascot, .teaser__sparkle { animation: none; }
  .mascot.is-wiggled { animation: none; }
}
