/* ============================================
   Bunybear — boutique toddler t-shirt brand
   Bright, playful kids palette
   ============================================ */

:root {
  /* Bright, saturated kids palette */
  --sun:        #ffd60a;   /* bright sunny yellow */
  --sun-deep:   #ffc300;   /* punchy yellow */
  --tangerine:  #ff8a00;   /* juicy orange */
  --tangerine-deep: #ff6b00;
  --pumpkin:    #ff5a1f;   /* hot orange */
  --watermelon: #ff3e6c;   /* bright pink-red pop */
  --candy:      #ff4d8d;   /* candy pink */
  --plum:       #6a2a8a;   /* rich plum for headings */
  --plum-deep:  #4a1c63;
  --sky:        #4cc9f0;   /* sky blue pop */
  --grass:      #2ec27e;   /* fresh green */
  --cream:      #fff8e1;
  --ink:        #2b1700;   /* warm near-black for crisp text */
  --ink-soft:   #5a3a1f;
  --whatsapp:   #25d366;
  --whatsapp-dark: #128c4a;
  --shadow:     0 18px 40px -16px rgba(255, 90, 31, 0.45);
  --shadow-hard:6px 6px 0 var(--ink);
}

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

html, body { height: 100%; }

body {
  font-family: 'Quicksand', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 165, 30, 0.65) 0%, transparent 40%),
    radial-gradient(circle at 88% 82%, rgba(255, 90, 140, 0.5) 0%, transparent 44%),
    radial-gradient(circle at 50% 50%, rgba(255, 230, 50, 0.75) 0%, transparent 62%),
    linear-gradient(135deg, #fff27a 0%, #ffc04a 100%);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  /* `safe center` keeps content centered when it fits, but pins it to the
     start (top/left) when it overflows — so zooming in pushes the page
     downward instead of clipping the header behind the viewport edge. */
  align-items: safe center;
  justify-content: safe center;
  padding: 2rem 1rem;
  position: relative;
}

/* ---------- Floating background ---------- */
.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.shape {
  position: absolute;
  width: 110px;
  height: auto;
  opacity: 0.95;
  animation: float 8s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(43, 23, 0, 0.18));
  user-select: none;
}

/* Shapes pulled in toward the middle of the screen, scattered around the
   card with a randomized feel. Widths vary slightly for visual interest. */
.shape-1 { top:  4%;  left: 28%; animation-delay: 0s;   width: 120px; }
.shape-2 { top:  9%;  left: 62%; animation-delay: 0.2s; width: 105px; }
.shape-3 { top: 78%;  left: 24%; animation-delay: 0.4s; width: 115px; }
.shape-4 { top: 38%;  left: 72%; animation-delay: 0.6s; width:  95px; }
.shape-5 { top: 46%;  left: 18%; animation-delay: 0.8s; width: 125px; }
.shape-6 { top: 82%;  left: 66%; animation-delay: 0s;   width: 110px; }

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

/* ---------- Layout ---------- */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  text-align: center;
}

/* ---------- Brand ---------- */
.brand { margin-bottom: 2rem; }

.logo {
  display: block;
  width: 180px;
  /* height: 110px; */
  margin: 0 auto 0.75rem;
  animation: bounce 2.5s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(43, 23, 0, 0.2));
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.brand-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  color: var(--plum);
  letter-spacing: -0.02em;
  line-height: 1;
}

.tagline {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: 0.15em;
  text-transform: lowercase;
  margin-top: 0.75rem;
  background: var(--sun);
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
}

/* ---------- Card ---------- */
.card {
  background: #ffffff;
  border: 3px solid var(--ink);
  border-radius: 32px;
  padding: clamp(2.25rem, 5vw, 4rem);
  box-shadow: var(--shadow-hard);
  position: relative;
}

.badge {
  display: inline-block;
  background: var(--watermelon);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.headline {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 5.4vw, 2.9rem);
  color: var(--plum);
  line-height: 1.25;
  margin-bottom: 1.15rem;
}

.accent {
  color: var(--watermelon);
  position: relative;
  display: inline-block;
}

.accent::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  left: -0.05em;
  right: -0.05em;
  height: 0.35em;
  background: var(--sun);
  z-index: -1;
  border-radius: 4px;
}

.message {
  font-size: 1.26rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 2rem;
  font-weight: 500;
}

.meantime {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.26rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

/* ---------- CTA ---------- */
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--tangerine);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.26rem;
  padding: 1.1rem 2.3rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-whatsapp {
  background: var(--whatsapp);
}

.wa-icon {
  flex-shrink: 0;
  display: block;
}

.qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.qr-label {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  letter-spacing: 0.08em;
}

.qr-wrap {
  background: var(--sun);
  padding: 0.75rem;
  border-radius: 20px;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.25s ease;
}

.qr-wrap:hover { transform: rotate(-3deg) scale(1.04); }

.qr {
  display: block;
  border-radius: 12px;
  width: 160px;
  height: 160px;
  background: #fff;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 2rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer .heart {
  color: var(--watermelon);
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
  font-size: 1.1em;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}

.copy {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.85;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .cta-row { flex-direction: row; justify-content: center; gap: 2.5rem; }
}

/* Hide the floating background shapes on portrait / narrow viewports
   (phones, tablets held vertically) so they don't crowd the card. */
@media (orientation: portrait), (max-width: 720px) {
  .bg-shapes { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .shape, .logo, .heart { animation: none; }
  .btn:hover, .qr-wrap:hover { transform: none; }
}
