@import "tailwindcss";

/* ================================================================
   🎈 BALLOON ANTICS — CARNIVAL PLAYGROUND DESIGN SYSTEM v2
   Scallop borders, zigzags, balloon animals, party bunting,
   squash-stretch effects, swing animations, and pure joy.
   ================================================================ */

@theme {
  --color-candy-pink: #FF3F8E;
  --color-candy-pink-hover: #E6366F;
  --color-candy-orange: #FF6B35;
  --color-candy-yellow: #FFD23F;
  --color-candy-green: #44D492;
  --color-candy-blue: #3EC6FF;
  --color-candy-purple: #A855F7;
  --color-candy-red: #EF4444;
  --color-sky-start: #87CEEB;
  --color-sky-end: #E0F7FF;
  --color-dark: #1A1033;
  --color-cream: #FFF8F0;

  --font-fredoka: "Fredoka", sans-serif;
  --font-outfit: "Outfit", sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-outfit); background: var(--color-cream); color: var(--color-dark); cursor: none; overflow-x: hidden; }

/* ─── CUSTOM CURSOR ──────────────────────────────────────── */
.custom-cursor { position: fixed; width: 36px; height: 52px; pointer-events: none; z-index: 100000; transform: translate(-50%, -100%); filter: drop-shadow(2px 4px 3px rgba(0,0,0,0.25)); }
.cursor-trail { position: fixed; border-radius: 50%; pointer-events: none; z-index: 99999; opacity: 0.6; }

/* ─── HERO ────────────────────────────────────────────────── */
.hero-section { position: relative; min-height: 100vh; background: linear-gradient(180deg, #87CEEB 0%, #B8E6FF 50%, #E0F7FF 80%, var(--color-cream) 100%); overflow: hidden; }
.cloud { position: absolute; background: white; border-radius: 50%; opacity: 0.85; filter: blur(1px); animation: cloudDrift linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: white; border-radius: 50%; }
@keyframes cloudDrift { 0% { transform: translateX(-120%); } 100% { transform: translateX(calc(100vw + 120%)); } }
.sun { position: absolute; width: 120px; height: 120px; background: radial-gradient(circle, #FFD23F 40%, rgba(255,210,63,0.3) 70%, transparent 100%); border-radius: 50%; top: 40px; right: 80px; animation: sunPulse 4s ease-in-out infinite; z-index: 1; }
@keyframes sunPulse { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.08); filter: brightness(1.15); } }

/* Hero title */
.hero-title { font-family: var(--font-fredoka); font-weight: 700; text-shadow: 4px 4px 0 var(--color-dark), -1px -1px 0 var(--color-dark), 1px -1px 0 var(--color-dark), -1px 1px 0 var(--color-dark); animation: heroEntry 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both; }
@keyframes heroEntry { 0% { transform: scale(0.3) rotate(-10deg); opacity: 0; } 60% { transform: scale(1.1) rotate(3deg); opacity: 1; } 80% { transform: scale(0.95) rotate(-1deg); } 100% { transform: scale(1) rotate(0deg); } }
.hero-subtitle { font-family: var(--font-fredoka); animation: heroEntry 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s both; }

/* Letter bounce */
.bounce-letter { display: inline-block; animation: letterBounce 0.6s ease both; cursor: default; transition: color 0.2s, transform 0.2s; }
.bounce-letter:hover { transform: scale(1.3) rotate(-5deg) !important; }
@keyframes letterBounce { 0% { transform: translateY(-80px) rotate(10deg); opacity: 0; } 60% { transform: translateY(10px) rotate(-3deg); opacity: 1; } 80% { transform: translateY(-5px) rotate(1deg); } 100% { transform: translateY(0) rotate(0deg); } }

/* Blob frame */
.blob-frame { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; box-shadow: 0 20px 60px rgba(0,0,0,0.2), inset 0 0 0 6px rgba(255,255,255,0.3); animation: blobMorph 12s ease-in-out infinite; overflow: hidden; }
@keyframes blobMorph { 0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; } 25% { border-radius: 58% 42% 55% 45% / 46% 62% 38% 54%; } 50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; } 75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; } }

/* ─── SECTION DIVIDERS — THE FUN STUFF ─────────────────────── */

/* Scallop divider (semicircle pattern) */
.divider-scallop { position: relative; height: 40px; width: 100%; overflow: hidden; z-index: 5; }
.divider-scallop::before {
  content: "";
  position: absolute;
  top: 0; left: -10px;
  width: calc(100% + 20px);
  height: 80px;
  background: radial-gradient(circle at 20px 0, transparent 18px, var(--scallop-color, var(--color-cream)) 19px);
  background-size: 40px 40px;
}

/* Zigzag divider */
.divider-zigzag { position: relative; width: 100%; height: 30px; z-index: 5; }
.divider-zigzag svg { display: block; width: 100%; height: 30px; }

/* Cloud-shaped divider */
.divider-clouds { position: relative; width: 100%; height: 60px; z-index: 5; }
.divider-clouds svg { display: block; width: 100%; height: 60px; }

/* Balloon cluster divider */
.divider-balloons { position: relative; width: 100%; height: 80px; z-index: 5; display: flex; justify-content: center; margin: -40px 0; }

/* ─── PARTY BUNTING ─────────────────────────────────────────── */
.party-bunting { display: flex; justify-content: center; gap: 0; width: 100%; overflow: hidden; padding-top: 8px; }
.bunting-flag { width: 32px; height: 40px; clip-path: polygon(0 0, 100% 0, 50% 100%); animation: buntingSwing 3s ease-in-out infinite; transform-origin: top center; }
@keyframes buntingSwing { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

/* ─── FLOATING BALLOONS ─────────────────────────────────────── */
.float-balloon { position: fixed; pointer-events: auto; cursor: pointer; z-index: 50; transition: transform 0.1s; filter: drop-shadow(3px 5px 4px rgba(0,0,0,0.15)); }
.float-balloon:hover { transform: scale(1.3) !important; }
@keyframes floatUp { 0% { transform: translateY(100vh) rotate(0deg); opacity: 0; } 10% { opacity: 0.95; } 90% { opacity: 0.95; } 100% { transform: translateY(-150px) rotate(var(--rot, 10deg)); opacity: 0; } }

/* ─── BALLOON ANIMAL DECORATIONS ──────────────────────────── */
.balloon-animal { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); filter: drop-shadow(3px 5px 6px rgba(0,0,0,0.15)); }
.balloon-animal:hover { animation: squashStretch 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes squashStretch { 0% { transform: scale(1, 1); } 20% { transform: scale(1.2, 0.8); } 40% { transform: scale(0.85, 1.15); } 60% { transform: scale(1.1, 0.9); } 80% { transform: scale(0.95, 1.05); } 100% { transform: scale(1, 1); } }

/* Swing animation for hanging decorations */
@keyframes swing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
.animate-swing { animation: swing 3s ease-in-out infinite; transform-origin: top center; }

/* Wiggle for balloon animals */
@keyframes wiggle { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
.animate-wiggle { animation: wiggle 2s ease-in-out infinite; }
.animate-wiggle-delay-1 { animation: wiggle 2.2s ease-in-out infinite 0.3s; }
.animate-wiggle-delay-2 { animation: wiggle 2.5s ease-in-out infinite 0.6s; }

/* Bounce float */
@keyframes bounceFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.animate-bounce-float { animation: bounceFloat 3s ease-in-out infinite; }
.animate-bounce-float-delay { animation: bounceFloat 3.5s ease-in-out infinite 0.5s; }

/* Pop-in */
@keyframes popIn { 0% { transform: scale(0) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.15) rotate(5deg); opacity: 1; } 80% { transform: scale(0.9) rotate(-2deg); } 100% { transform: scale(1) rotate(0deg); } }
.animate-pop-in { animation: popIn 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) both; }

/* Rubber band stretch */
@keyframes rubberBand { 0% { transform: scale(1); } 30% { transform: scaleX(1.25) scaleY(0.75); } 40% { transform: scaleX(0.75) scaleY(1.25); } 50% { transform: scaleX(1.15) scaleY(0.85); } 65% { transform: scaleX(0.95) scaleY(1.05); } 75% { transform: scaleX(1.05) scaleY(0.95); } 100% { transform: scale(1); } }
.hover-rubber:hover { animation: rubberBand 0.8s ease; }

/* ─── MARQUEE ───────────────────────────────────────────────── */
.marquee-strip { background: var(--color-candy-yellow); border-top: 4px solid var(--color-dark); border-bottom: 4px solid var(--color-dark); overflow: hidden; padding: 10px 0; transform: rotate(-1.5deg); margin: -10px -20px; position: relative; z-index: 6; }
.marquee-content { display: flex; gap: 40px; animation: marqueeScroll 20s linear infinite; width: max-content; font-family: var(--font-fredoka); font-weight: 700; font-size: 1.1rem; color: var(--color-dark); text-transform: uppercase; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Reverse marquee */
.marquee-strip-reverse { transform: rotate(1.5deg); }
.marquee-strip-reverse .marquee-content { animation-direction: reverse; }

/* ─── SECTION BACKGROUNDS ──────────────────────────────────── */
.section-services { background: linear-gradient(180deg, var(--color-cream) 0%, #FFF0E5 50%, #FFDFCF 100%); position: relative; }
.section-zoo { background: linear-gradient(180deg, #E8F8FF 0%, #D0F0FF 50%, #BDE8FF 100%); position: relative; overflow: hidden; }
.section-why { background: linear-gradient(180deg, #FFF5E6 0%, #FFEDCC 100%); position: relative; }
.section-how { background: linear-gradient(180deg, #F0FFF4 0%, #D8FFE8 50%, #C0F8D0 100%); position: relative; overflow: hidden; }
.section-cta { background: linear-gradient(180deg, var(--color-candy-pink) 0%, var(--color-candy-purple) 50%, var(--color-candy-blue) 100%); position: relative; overflow: hidden; }

/* Polka dot overlay */
.polka-dots { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.15) 6px, transparent 6px); background-size: 50px 50px; pointer-events: none; z-index: 0; }

/* ─── CARDS ─────────────────────────────────────────────────── */
.service-card { position: relative; background: white; border-radius: 24px; border: 4px solid var(--color-dark); box-shadow: 8px 8px 0 var(--color-dark); overflow: hidden; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.service-card:hover { transform: translateY(-12px) rotate(-1deg); box-shadow: 14px 14px 0 var(--color-dark); }
.service-card .card-image { width: 100%; height: 220px; object-fit: cover; border-bottom: 4px solid var(--color-dark); }
.service-card .card-badge { position: absolute; top: 16px; right: 16px; font-family: var(--font-fredoka); font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 50px; border: 3px solid var(--color-dark); box-shadow: 3px 3px 0 var(--color-dark); z-index: 2; }

/* Wobbly card variant */
.card-wobbly { border-radius: 40px 28px 44px 32px / 32px 44px 28px 40px; }

/* ─── BALLOON ZOO GRID CARDS ──────────────────────────────── */
.zoo-card { background: white; border: 4px solid var(--color-dark); box-shadow: 6px 6px 0 var(--color-dark); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; padding: 24px 20px 20px; text-align: center; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; }
.zoo-card:hover { transform: translateY(-10px) scale(1.05); box-shadow: 10px 10px 0 var(--color-dark); }
.zoo-card svg { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.zoo-card:hover svg { animation: squashStretch 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn-candy { font-family: var(--font-fredoka); font-weight: 700; font-size: 1.1rem; padding: 14px 36px; border-radius: 50px; border: 4px solid var(--color-dark); box-shadow: 6px 6px 0 var(--color-dark); position: relative; overflow: hidden; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); text-decoration: none; display: inline-block; }
.btn-candy::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.5s; }
.btn-candy:hover { transform: translateY(-4px); box-shadow: 10px 10px 0 var(--color-dark); }
.btn-candy:hover::before { left: 100%; }
.btn-candy:active { transform: translateY(3px); box-shadow: 3px 3px 0 var(--color-dark); }

/* ─── FEATURE ITEMS ─────────────────────────────────────────── */
.feature-item { display: flex; align-items: center; gap: 20px; padding: 20px 28px; border-radius: 20px; border: 3px solid var(--color-dark); box-shadow: 5px 5px 0 var(--color-dark); background: white; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.feature-item:hover { transform: translateX(8px) translateY(-4px); box-shadow: 8px 8px 0 var(--color-dark); }
.feature-icon { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; border: 3px solid var(--color-dark); box-shadow: 3px 3px 0 var(--color-dark); }

/* ─── HOW IT WORKS TIMELINE ─────────────────────────────────── */
.timeline-step { position: relative; display: flex; gap: 24px; align-items: flex-start; }
.timeline-step::before { content: ""; position: absolute; left: 30px; top: 65px; width: 4px; height: calc(100% - 30px); background: repeating-linear-gradient(to bottom, var(--color-candy-pink) 0, var(--color-candy-pink) 8px, transparent 8px, transparent 16px); border-radius: 4px; }
.timeline-step:last-child::before { display: none; }
.timeline-number { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; border: 4px solid var(--color-dark); box-shadow: 5px 5px 0 var(--color-dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-fredoka); font-weight: 700; font-size: 1.5rem; color: white; z-index: 2; }
.timeline-content { background: white; border: 3px solid var(--color-dark); box-shadow: 5px 5px 0 var(--color-dark); border-radius: 20px; padding: 20px 24px; flex: 1; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.timeline-content:hover { transform: translateX(6px); box-shadow: 8px 8px 0 var(--color-dark); }

/* ─── TESTIMONIAL TICKER ──────────────────────────────────── */
.ticker-track { display: flex; gap: 24px; animation: ticker 40s linear infinite; width: max-content; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.testimonial-card { flex-shrink: 0; width: 320px; padding: 24px; border-radius: 20px; border: 3px solid var(--color-dark); box-shadow: 5px 5px 0 var(--color-dark); background: white; transition: transform 0.3s; }
.testimonial-card:hover { transform: scale(1.04) rotate(-1deg); }

/* ─── STATS ─────────────────────────────────────────────────── */
.stat-number { font-family: var(--font-fredoka); font-weight: 700; font-size: 3.5rem; background: linear-gradient(135deg, var(--color-candy-pink), var(--color-candy-purple)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-bubble { background: white; border: 4px solid var(--color-dark); box-shadow: 6px 6px 0 var(--color-dark); border-radius: 50% 50% 46% 46% / 54% 54% 46% 46%; width: 180px; height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.stat-bubble:hover { transform: scale(1.08) rotate(-3deg); box-shadow: 10px 10px 0 var(--color-dark); }

/* ─── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.7); transition: opacity 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ─── RAINBOW TEXT ──────────────────────────────────────────── */
.rainbow-text { background: linear-gradient(90deg, var(--color-candy-pink), var(--color-candy-orange), var(--color-candy-yellow), var(--color-candy-green), var(--color-candy-blue), var(--color-candy-purple), var(--color-candy-pink)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: rainbowShift 4s linear infinite; }
@keyframes rainbowShift { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

/* ─── NAVIGATION ────────────────────────────────────────────── */
.nav-bar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 12px 24px; transition: background 0.4s, box-shadow 0.4s, padding 0.4s; backdrop-filter: blur(12px); }
.nav-bar.scrolled { background: rgba(255, 248, 240, 0.92); box-shadow: 0 4px 20px rgba(0,0,0,0.1); padding: 8px 24px; }
.nav-link { font-family: var(--font-fredoka); font-weight: 600; font-size: 1rem; color: var(--color-dark); text-decoration: none; padding: 8px 16px; border-radius: 50px; transition: all 0.3s; position: relative; }
.nav-link::after { content: ""; position: absolute; bottom: 2px; left: 50%; width: 0; height: 3px; background: var(--color-candy-pink); border-radius: 2px; transition: width 0.3s, left 0.3s; }
.nav-link:hover::after { width: 70%; left: 15%; }
.nav-link:hover { color: var(--color-candy-pink); background: rgba(255, 63, 142, 0.08); }

/* Mobile */
.mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 248, 240, 0.98); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 24px; opacity: 0; transition: opacity 0.3s; }
.mobile-menu.open { display: flex; opacity: 1; }
.mobile-menu .nav-link { font-size: 1.5rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; padding: 8px; }
.hamburger span { display: block; width: 28px; height: 3px; background: var(--color-dark); border-radius: 3px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer-section { background: var(--color-dark); color: white; position: relative; }

/* ─── CONFETTI & POP ────────────────────────────────────────── */
.confetti-piece { position: fixed; pointer-events: none; z-index: 99999; animation: confettiFall linear forwards; }
@keyframes confettiFall { 0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; } 100% { transform: translateY(100vh) rotate(var(--rot, 720deg)) scale(0.5); opacity: 0; } }
.pop-burst { position: fixed; pointer-events: none; z-index: 99998; border-radius: 50%; animation: popExpand 0.4s ease-out forwards; }
@keyframes popExpand { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }

/* ─── PAGE LOADER ───────────────────────────────────────────── */
.page-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--color-candy-yellow); z-index: 999999; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; transition: opacity 0.6s, visibility 0.6s; }
.page-loader.loaded { opacity: 0; visibility: hidden; }
.loader-balloon { width: 60px; height: 80px; animation: loaderBounce 0.8s ease-in-out infinite; }
@keyframes loaderBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
.loader-text { font-family: var(--font-fredoka); font-weight: 700; font-size: 1.2rem; color: var(--color-dark); animation: loaderBounce 0.8s ease-in-out infinite 0.15s; }

/* ─── STICKER DECORATION ────────────────────────────────────── */
.sticker { position: absolute; pointer-events: none; z-index: 3; }
.sticker-rotate { transform: rotate(var(--sticker-rot, 12deg)); }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .desktop-nav { display: none; }
  .hero-title { font-size: 2.5rem !important; }
  .stat-number { font-size: 2.5rem; }
  .stat-bubble { width: 150px; height: 150px; }
  .service-card:hover { transform: translateY(-6px) rotate(0deg); }
  .zoo-card { border-radius: 24px; }
  .timeline-step::before { left: 28px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2rem !important; }
  .btn-candy { padding: 12px 24px; font-size: 0.95rem; }
  .stat-bubble { width: 130px; height: 130px; }
}

/* ─── HOW IT WORKS v2 — PARTY PATH ───────────────────────── */
.party-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.party-path-step {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.party-path-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-illustration {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid var(--color-dark);
  box-shadow: 8px 8px 0 var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.step-illustration:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 12px 12px 0 var(--color-dark);
}

.step-illustration.celebrating {
  animation: celebrateStep 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes celebrateStep {
  0% { transform: scale(1); }
  25% { transform: scale(1.15) rotate(-5deg); }
  50% { transform: scale(0.9) rotate(5deg); }
  75% { transform: scale(1.05) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.step-connector {
  position: relative;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-connector-line {
  width: 6px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    var(--color-candy-pink) 0,
    var(--color-candy-pink) 10px,
    var(--color-candy-yellow) 10px,
    var(--color-candy-yellow) 20px,
    var(--color-candy-blue) 20px,
    var(--color-candy-blue) 30px
  );
  border-radius: 3px;
}

.step-card {
  flex: 1;
  background: white;
  border: 4px solid var(--color-dark);
  box-shadow: 7px 7px 0 var(--color-dark);
  border-radius: 28px;
  padding: 28px 32px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 var(--color-dark);
}

.step-card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 4px;
  background: var(--color-dark);
  transform: translateY(-50%);
}

.party-path-step:nth-child(odd) .step-card::before {
  left: -34px;
}

.party-path-step:nth-child(even) .step-card::before {
  right: -34px;
}

.step-number-badge {
  position: absolute;
  top: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--color-dark);
  box-shadow: 3px 3px 0 var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-fredoka);
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  z-index: 2;
}

.party-path-step:nth-child(odd) .step-number-badge { left: -20px; }
.party-path-step:nth-child(even) .step-number-badge { right: -20px; }

/* SVG animations for step illustrations */
@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-12deg); }
  20% { transform: rotate(12deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  50% { transform: rotate(0deg); }
}

@keyframes giftBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-8px) scale(1.05); }
  60% { transform: translateY(2px) scale(0.98); }
}

@keyframes confettiSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.step-svg-phone { animation: phoneRing 2s ease-in-out infinite; }
.step-svg-gift { animation: giftBounce 2.5s ease-in-out infinite; }
.step-svg-party { animation: confettiSpin 8s linear infinite; }

/* Sparkle decorations */
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

.sparkle-star {
  position: absolute;
  pointer-events: none;
  z-index: 4;
}

.sparkle-star svg {
  animation: sparkle 2s ease-in-out infinite;
}

/* Testimonial card colored top border */
.testimonial-card {
  border-top: 5px solid var(--card-accent, var(--color-candy-pink));
}

.testimonial-card:nth-child(1) { --card-accent: #FF3F8E; }
.testimonial-card:nth-child(2) { --card-accent: #FFD23F; }
.testimonial-card:nth-child(3) { --card-accent: #3EC6FF; }
.testimonial-card:nth-child(4) { --card-accent: #A855F7; }
.testimonial-card:nth-child(5) { --card-accent: #44D492; }
.testimonial-card:nth-child(6) { --card-accent: #FF6B35; }

/* Enhanced CTA confetti background */
.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.08) 2px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.05) 3px, transparent 3px);
  background-size: 40px 40px, 70px 70px;
  background-position: 0 0, 20px 35px;
  pointer-events: none;
  z-index: 0;
}

/* Responsive party-path */
@media (max-width: 768px) {
  .step-illustration { width: 120px; height: 120px; }
  .party-path-step { flex-direction: column !important; align-items: center; }
  .step-card::before { display: none; }
  .step-number-badge { left: 50% !important; right: auto !important; transform: translateX(-50%); }
  .step-connector-line { height: 40px; }
}

/* Hover sparkle trail on buttons */
.btn-candy:hover {
  filter: brightness(1.05);
}

/* Comic bubble effect styles */
.comic-bubble {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  font-family: var(--font-fredoka);
  font-weight: 700;
  font-size: 1.25rem;
  padding: 6px 14px;
  background: white;
  border: 3px solid var(--color-dark);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--color-dark);
  color: var(--bubble-color, var(--color-candy-pink));
  transform: translate(-50%, -50%) rotate(var(--bubble-rot, 0deg));
  animation: floatUpAndFade 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes floatUpAndFade {
  0% { transform: translate(-50%, -50%) scale(0) rotate(var(--bubble-rot, 0deg)); opacity: 0; }
  30% { transform: translate(-50%, -80%) scale(1.1) rotate(var(--bubble-rot, 0deg)); opacity: 1; }
  100% { transform: translate(-50%, -150%) scale(0.9) rotate(var(--bubble-rot, 0deg)); opacity: 0; }
}

/* ─── BOOKING PLANNER & FORM ────────────────────────────── */
.section-planner {
  background: linear-gradient(180deg, #FFD6E0 0%, #E8F8FF 100%);
  position: relative;
}

.input-wobbly {
  font-family: var(--font-outfit);
  font-weight: 500;
  border: 3.5px solid var(--color-dark);
  border-radius: 20px 16px 22px 18px / 18px 22px 16px 20px;
  padding: 12px 18px;
  background: white;
  color: var(--color-dark);
  outline: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 4px 4px 0 var(--color-dark);
  width: 100%;
}

.input-wobbly:focus {
  transform: translateY(-2px);
  box-shadow: 7px 7px 0 var(--color-dark);
  border-color: var(--color-candy-pink);
}

.select-wobbly {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1033' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 42px;
}

.checkbox-wobbly {
  appearance: none;
  width: 26px;
  height: 26px;
  border: 3.5px solid var(--color-dark);
  border-radius: 8px 10px 7px 9px / 9px 7px 10px 8px;
  background: white;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  box-shadow: 2.5px 2.5px 0 var(--color-dark);
}

.checkbox-wobbly:checked {
  background-color: var(--color-candy-pink);
}

.checkbox-wobbly:checked::after {
  content: "✓";
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: var(--font-fredoka);
  font-weight: 700;
  font-size: 16px;
}

.checkbox-wobbly:hover {
  transform: scale(1.1);
  box-shadow: 4px 4px 0 var(--color-dark);
}

.planner-summary-card {
  background: white;
  border: 4px solid var(--color-dark);
  box-shadow: 8px 8px 0 var(--color-dark);
  border-radius: 32px;
  padding: 30px;
  position: sticky;
  top: 100px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.planner-summary-card:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 0 var(--color-dark);
}

/* ─── ABOUT BRUCE SECTION ──────────────────────────────── */
.section-about {
  background: linear-gradient(180deg, #FFF5E6 0%, #FFEDCC 100%);
  position: relative;
}

/* ─── SERVICE AREAS SECTION ────────────────────────────── */
.section-areas {
  background: linear-gradient(180deg, #E8F8FF 0%, #D0F0FF 100%);
  position: relative;
}

.area-card {
  background: white;
  border: 4px solid var(--color-dark);
  box-shadow: 7px 7px 0 var(--color-dark);
  border-radius: 28px 40px 32px 36px / 36px 32px 40px 28px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.area-card:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: 12px 12px 0 var(--color-dark);
}

.area-card:nth-child(1) { --area-accent: #FF3F8E; }
.area-card:nth-child(2) { --area-accent: #FFD23F; }
.area-card:nth-child(3) { --area-accent: #44D492; }

.area-card-header {
  border-bottom: 3.5px dashed var(--color-dark);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

/* ─── MAGICAL SPEECH BUBBLE ───────────────────────────────── */
.magical-speech-bubble {
  position: relative;
  background: white;
  border: 4px solid var(--color-dark);
  border-radius: 30px 50px 35px 45px / 40px 35px 50px 30px;
  box-shadow: 8px 8px 0 var(--color-dark);
  transition: all 0.3s ease;
}

.magical-speech-bubble:hover {
  transform: translateY(-2px) rotate(0.5deg);
  box-shadow: 10px 10px 0 var(--color-dark);
}

.magical-speech-bubble::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 12px;
  border-style: solid;
  border-color: transparent var(--color-dark) transparent transparent;
}

.magical-speech-bubble::after {
  content: "";
  position: absolute;
  left: -19px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 12px;
  border-style: solid;
  border-color: transparent white transparent transparent;
}

@media (max-width: 1023px) {
  .magical-speech-bubble::before {
    left: 50%;
    top: -24px;
    transform: translateX(-50%) rotate(90deg);
  }
  .magical-speech-bubble::after {
    left: 50%;
    top: -19px;
    transform: translateX(-50%) rotate(90deg);
  }
}

/* ─── INTERACTIVE MAGIC HAT & RABBIT ───────────────────────── */
.top-hat-container {
  perspective: 400px;
}

#magic-rabbit {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
  transform-origin: bottom center;
  margin-bottom: -12px;
  z-index: 25;
}

.magic-rabbit-hide {
  transform: translateY(45px) scale(0.2);
  opacity: 0;
  pointer-events: none;
}

.magic-rabbit-show {
  transform: translateY(0) scale(1) rotate(-3deg);
  opacity: 1;
  pointer-events: auto;
}

#magic-hat {
  z-index: 30;
  position: relative;
}

.hat-wiggle {
  animation: hatWiggle 0.6s ease;
}

@keyframes hatWiggle {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-12deg) scaleY(0.95); }
  30% { transform: rotate(10deg) scaleY(1.05); }
  45% { transform: rotate(-8deg) scaleY(0.97); }
  60% { transform: rotate(6deg) scaleY(1.02); }
  75% { transform: rotate(-3deg) scaleY(0.99); }
}

/* Magic sparkles */
.magic-sparkle-bg {
  transform-origin: center;
  filter: drop-shadow(2px 2px 0 var(--color-dark));
}

/* ─── GLOSSY LATEX BALLOON FEATURE CARDS ─────────────────── */
.balloon-feature-card {
  position: relative;
  border: 3.5px solid var(--color-dark);
  box-shadow: 6px 6px 0 var(--color-dark);
  border-radius: 40px 30px 45px 35px / 35px 45px 30px 40px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.balloon-feature-card::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 8%;
  width: 84%;
  height: 30%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 50% 50% 40% 40% / 60% 60% 30% 30%;
  pointer-events: none;
  opacity: 0.55;
}

.balloon-feature-card:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 9px 9px 0 var(--color-dark);
}

.balloon-feature-card:active {
  transform: scale(0.98) rotate(-1deg);
}

.balloon-pink {
  background: linear-gradient(135deg, #FF7BB0 0%, #FF3F8E 55%, #D61B69 100%);
}
.balloon-yellow {
  background: linear-gradient(135deg, #FFE585 0%, #FFD23F 55%, #DBA800 100%);
}
.balloon-blue {
  background: linear-gradient(135deg, #8CDBFF 0%, #3EC6FF 55%, #0B9BD6 100%);
}
.balloon-green {
  background: linear-gradient(135deg, #81EDB9 0%, #44D492 55%, #18A869 100%);
}

.balloon-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.35);
  border: 3.5px solid var(--color-dark);
  border-radius: 50% 45% 50% 40% / 45% 50% 40% 50%;
  box-shadow: 2px 2px 0 var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 2;
  transition: transform 0.3s ease;
}

.balloon-feature-card:hover .balloon-feature-icon {
  transform: scale(1.15) rotate(-10deg);
}

/* ─── HOW IT WORKS v2 — PARTY PATH ───────────────────────── */
.party-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.party-path-step {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.party-path-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-illustration {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid var(--color-dark);
  box-shadow: 8px 8px 0 var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.step-illustration:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 12px 12px 0 var(--color-dark);
}

.step-illustration.celebrating {
  animation: celebrateStep 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes celebrateStep {
  0% { transform: scale(1); }
  25% { transform: scale(1.15) rotate(-5deg); }
  50% { transform: scale(0.9) rotate(5deg); }
  75% { transform: scale(1.05) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.step-connector {
  position: relative;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-connector-line {
  width: 6px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    var(--color-candy-pink) 0,
    var(--color-candy-pink) 10px,
    var(--color-candy-yellow) 10px,
    var(--color-candy-yellow) 20px,
    var(--color-candy-blue) 20px,
    var(--color-candy-blue) 30px
  );
  border-radius: 3px;
}

.step-card {
  flex: 1;
  background: white;
  border: 4px solid var(--color-dark);
  box-shadow: 7px 7px 0 var(--color-dark);
  border-radius: 28px;
  padding: 28px 32px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 var(--color-dark);
}

.step-card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 4px;
  background: var(--color-dark);
  transform: translateY(-50%);
}

.party-path-step:nth-child(odd) .step-card::before {
  left: -34px;
}

.party-path-step:nth-child(even) .step-card::before {
  right: -34px;
}

.step-number-badge {
  position: absolute;
  top: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--color-dark);
  box-shadow: 3px 3px 0 var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-fredoka);
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  z-index: 2;
}

.party-path-step:nth-child(odd) .step-number-badge { left: -20px; }
.party-path-step:nth-child(even) .step-number-badge { right: -20px; }

/* SVG animations for step illustrations */
@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-12deg); }
  20% { transform: rotate(12deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  50% { transform: rotate(0deg); }
}

@keyframes giftBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-8px) scale(1.05); }
  60% { transform: translateY(2px) scale(0.98); }
}

@keyframes confettiSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.step-svg-phone { animation: phoneRing 2s ease-in-out infinite; }
.step-svg-gift { animation: giftBounce 2.5s ease-in-out infinite; }
.step-svg-party { animation: confettiSpin 8s linear infinite; }

/* Sparkle decorations */
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

.sparkle-star {
  position: absolute;
  pointer-events: none;
  z-index: 4;
}

.sparkle-star svg {
  animation: sparkle 2s ease-in-out infinite;
}

/* Responsive party-path */
@media (max-width: 768px) {
  .step-illustration { width: 120px; height: 120px; }
  .party-path-step { flex-direction: column !important; align-items: center; }
  .step-card::before { display: none; }
  .step-number-badge { left: 50% !important; right: auto !important; transform: translateX(-50%); }
  .step-connector-line { height: 40px; }
}
