/* ==========================================================================
   BLOOM X ROSBOTZ — CENTRE PARTNER THEME & STYLING
   Colors derived directly from the Bloom Brand Identity:
   - Bloom Pastel Sage:  #BDE29A / #EBF7DC
   - Bloom Pastel Peach: #FDC4B0 / #FFF2EC
   - Bloom Pastel Lilac: #EEBAE3 / #FAF0F8
   - Bloom Charcoal:     #231E28
   ========================================================================== */

:root {
  --bloom-green: #BDE29A;
  --bloom-green-light: #F2F9EA;
  --bloom-green-dark: #376816;
  --bloom-green-border: #A3D873;

  --bloom-peach: #FDC4B0;
  --bloom-peach-light: #FFF4EF;
  --bloom-peach-dark: #A43F1B;
  --bloom-peach-border: #F7A386;

  --bloom-lilac: #EEBAE3;
  --bloom-lilac-light: #FAF0F8;
  --bloom-lilac-dark: #7F246E;
  --bloom-lilac-border: #E093D0;

  --bloom-yellow: #FED466;
  --bloom-yellow-light: #FFF9E6;

  --bloom-dark: #231E28;
  --bloom-text-muted: #595563;
  --bloom-bg-cream: #FCFAF7;
}

/* Ensure view content toggling is bulletproof */
.view-content.active {
  display: block !important;
}
.view-content.hidden {
  display: none !important;
}

/* ══════════════════════════════════════════════
   BACKGROUND & ORGANIC BLOBS
   ══════════════════════════════════════════════ */
.bloom-section-bg {
  background-color: var(--bloom-bg-cream);
  background-image: 
    radial-gradient(at 10% 15%, rgba(189, 226, 154, 0.45) 0px, transparent 40%),
    radial-gradient(at 90% 12%, rgba(238, 186, 227, 0.45) 0px, transparent 40%),
    radial-gradient(at 50% 50%, rgba(253, 196, 176, 0.35) 0px, transparent 50%),
    radial-gradient(at 15% 85%, rgba(238, 186, 227, 0.4) 0px, transparent 40%),
    radial-gradient(at 85% 85%, rgba(189, 226, 154, 0.4) 0px, transparent 45%);
  position: relative;
  overflow: hidden;
}

/* Organic Floating Blobs mimicking the Bloom Logo */
.bloom-blob {
  position: absolute;
  pointer-events: none;
  filter: blur(45px);
  opacity: 0.7;
  z-index: 0;
  animation: bloomBlobDrift 16s ease-in-out infinite alternate;
}

.bloom-blob-green {
  background: #BDE29A;
  width: 380px;
  height: 320px;
  border-radius: 64% 36% 70% 30% / 45% 58% 42% 55%;
  top: 5%;
  left: -80px;
}

.bloom-blob-peach {
  background: #FDC4B0;
  width: 420px;
  height: 380px;
  border-radius: 48% 52% 38% 62% / 59% 41% 59% 41%;
  top: 35%;
  right: -90px;
  animation-duration: 20s;
  animation-delay: -4s;
}

.bloom-blob-lilac {
  background: #EEBAE3;
  width: 360px;
  height: 340px;
  border-radius: 58% 42% 63% 37% / 41% 64% 36% 59%;
  bottom: 8%;
  left: 10%;
  animation-duration: 18s;
  animation-delay: -8s;
}

@keyframes bloomBlobDrift {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-25px) rotate(10deg) scale(1.06);
  }
  100% {
    transform: translateY(20px) rotate(-8deg) scale(0.96);
  }
}

/* ══════════════════════════════════════════════
   CARD STYLES WITH BLOOM THEME
   ══════════════════════════════════════════════ */
.bloom-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 1.75rem;
  box-shadow: 0 12px 36px -8px rgba(35, 30, 40, 0.07), 0 4px 12px rgba(35, 30, 40, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.bloom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px -10px rgba(35, 30, 40, 0.12), 0 8px 16px rgba(35, 30, 40, 0.05);
}

.bloom-card-green {
  border-color: rgba(189, 226, 154, 0.7);
  background: linear-gradient(145deg, #ffffff 60%, #F4FAED 100%);
}
.bloom-card-green:hover {
  border-color: var(--bloom-green-border);
  box-shadow: 0 16px 40px -8px rgba(90, 160, 30, 0.18);
}

.bloom-card-peach {
  border-color: rgba(253, 196, 176, 0.7);
  background: linear-gradient(145deg, #ffffff 60%, #FFF5F0 100%);
}
.bloom-card-peach:hover {
  border-color: var(--bloom-peach-border);
  box-shadow: 0 16px 40px -8px rgba(220, 95, 50, 0.18);
}

.bloom-card-lilac {
  border-color: rgba(238, 186, 227, 0.7);
  background: linear-gradient(145deg, #ffffff 60%, #FCF2FA 100%);
}
.bloom-card-lilac:hover {
  border-color: var(--bloom-lilac-border);
  box-shadow: 0 16px 40px -8px rgba(180, 70, 160, 0.18);
}

/* ══════════════════════════════════════════════
   BADGES & PILLS
   ══════════════════════════════════════════════ */
.bloom-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.825rem;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.bloom-badge-green {
  background: var(--bloom-green-light);
  color: var(--bloom-green-dark);
  border: 1.5px solid var(--bloom-green-border);
}

.bloom-badge-peach {
  background: var(--bloom-peach-light);
  color: var(--bloom-peach-dark);
  border: 1.5px solid var(--bloom-peach-border);
}

.bloom-badge-lilac {
  background: var(--bloom-lilac-light);
  color: var(--bloom-lilac-dark);
  border: 1.5px solid var(--bloom-lilac-border);
}

.bloom-badge-yellow {
  background: var(--bloom-yellow-light);
  color: #8C6203;
  border: 1.5px solid #F5C64C;
}

/* ══════════════════════════════════════════════
   ACTION PILL BUTTONS (BUILD, CODE, CREATE, FLY)
   ══════════════════════════════════════════════ */
.bloom-action-card {
  padding: 1.25rem 1rem;
  border-radius: 1.5rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
}
.bloom-action-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.bloom-action-build {
  background: #FFF4EF;
  border-color: #F7A386;
  color: #A43F1B;
}
.bloom-action-build:hover {
  box-shadow: 0 12px 28px -6px rgba(220, 95, 50, 0.25);
}

.bloom-action-code {
  background: #F2F9EA;
  border-color: #A3D873;
  color: #376816;
}
.bloom-action-code:hover {
  box-shadow: 0 12px 28px -6px rgba(90, 160, 30, 0.25);
}

.bloom-action-create {
  background: #FAF0F8;
  border-color: #E093D0;
  color: #7F246E;
}
.bloom-action-create:hover {
  box-shadow: 0 12px 28px -6px rgba(180, 70, 160, 0.25);
}

.bloom-action-fly {
  background: #EBF8FF;
  border-color: #7DD3FC;
  color: #0369A1;
}
.bloom-action-fly:hover {
  box-shadow: 0 12px 28px -6px rgba(14, 165, 233, 0.25);
}

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.bloom-btn-primary {
  background: linear-gradient(135deg, #231E28 0%, #3D3545 100%);
  color: #ffffff;
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.9rem 2rem;
  box-shadow: 0 10px 24px -6px rgba(35, 30, 40, 0.25);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.bloom-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px -6px rgba(35, 30, 40, 0.35);
  background: linear-gradient(135deg, #18141C 0%, #2D2734 100%);
}

.bloom-btn-green {
  background: linear-gradient(135deg, #BDE29A 0%, #9DD06C 100%);
  color: #214309;
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.9rem 2rem;
  box-shadow: 0 10px 24px -6px rgba(110, 180, 40, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.bloom-btn-green:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px -6px rgba(110, 180, 40, 0.4);
}

.bloom-btn-peach {
  background: linear-gradient(135deg, #FDC4B0 0%, #F89E81 100%);
  color: #682007;
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.9rem 2rem;
  box-shadow: 0 10px 24px -6px rgba(220, 95, 50, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.bloom-btn-peach:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px -6px rgba(220, 95, 50, 0.4);
}

/* ══════════════════════════════════════════════
   AGE SELECTOR TABS
   ══════════════════════════════════════════════ */
.bloom-age-tab {
  padding: 0.9rem 1.75rem;
  border-radius: 1.25rem;
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s ease;
  border: 2px solid #E2E8F0;
  background: #ffffff;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.bloom-age-tab:hover {
  border-color: #CBD5E1;
  color: #1E293B;
  transform: translateY(-2px);
}
.bloom-age-tab.active {
  background: #231E28;
  color: #ffffff;
  border-color: #231E28;
  box-shadow: 0 8px 24px -4px rgba(35, 30, 40, 0.25);
  transform: translateY(-3px) scale(1.02);
}

/* ══════════════════════════════════════════════
   LOCATION CHIPS & ACCENTS
   ══════════════════════════════════════════════ */
.bloom-loc-card {
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 2px solid #F1F5F9;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.bloom-loc-card:hover {
  border-color: var(--bloom-peach-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(220, 95, 50, 0.15);
}

.bloom-loc-upcoming {
  border-style: dashed;
  background: #FAFAFA;
}
.bloom-loc-upcoming:hover {
  border-color: var(--bloom-lilac-border);
  box-shadow: 0 12px 28px -6px rgba(180, 70, 160, 0.15);
}

/* ══════════════════════════════════════════════
   NAVBAR BLOOM PILL BADGE
   ══════════════════════════════════════════════ */
.bloom-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #F2F9EA 0%, #FFF4EF 50%, #FAF0F8 100%);
  border: 2px solid #BDE29A;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: #231E28;
  box-shadow: 0 4px 12px rgba(189, 226, 154, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}
.bloom-nav-pill:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: #F89E81;
  box-shadow: 0 6px 18px rgba(248, 158, 129, 0.35);
}
.bloom-nav-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #22C55E;
  display: inline-block;
  animation: bloomPulse 1.8s infinite;
}

@keyframes bloomPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ══════════════════════════════════════════════
   KIDS FRIENDLY DECORATIVE STICKERS
   ══════════════════════════════════════════════ */
.bloom-sticker {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  transform: rotate(-3deg);
  transition: transform 0.25s ease;
}
.bloom-sticker:hover {
  transform: rotate(3deg) scale(1.1);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .bloom-blob {
    filter: blur(30px);
    opacity: 0.5;
  }
  .bloom-blob-green { width: 220px; height: 180px; }
  .bloom-blob-peach { width: 240px; height: 200px; }
  .bloom-blob-lilac { width: 200px; height: 180px; }
}
