/* ===== Candy Pop — Visual Effects ===== */

/* ===== Animated Gradient Mesh (Hero Background) ===== */
@property --mesh-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from var(--mesh-angle),
    rgba(255, 182, 213, 0.08),
    rgba(196, 150, 255, 0.06),
    rgba(147, 226, 255, 0.08),
    rgba(253, 230, 138, 0.05),
    rgba(255, 182, 213, 0.08)
  );
  animation: mesh-rotate 25s linear infinite;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .hero-mesh {
  background: conic-gradient(
    from var(--mesh-angle),
    rgba(255, 107, 157, 0.08),
    rgba(56, 189, 248, 0.06),
    rgba(168, 85, 247, 0.08),
    rgba(255, 107, 157, 0.08)
  );
}

@keyframes mesh-rotate {
  to { --mesh-angle: 360deg; }
}

/* ===== Floating Pastel Blobs ===== */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.floating-orb-1 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, rgba(255, 182, 213, 0.5), rgba(255, 107, 157, 0.3));
  top: -80px;
  right: 8%;
  animation: orb-float-1 10s ease-in-out infinite;
  border-radius: 60% 40% 50% 50%;
}

.floating-orb-2 {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(196, 150, 255, 0.4));
  bottom: -40px;
  left: 3%;
  animation: orb-float-2 13s ease-in-out infinite;
  border-radius: 40% 60% 55% 45%;
}

.floating-orb-3 {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(147, 226, 255, 0.4));
  top: 35%;
  left: 45%;
  animation: orb-float-3 16s ease-in-out infinite;
  border-radius: 50% 40% 60% 50%;
}

.floating-orb-4 {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(255, 220, 100, 0.35));
  top: 15%;
  left: 20%;
  animation: orb-float-4 14s ease-in-out infinite;
  border-radius: 45% 55% 50% 50%;
}

[data-theme="dark"] .floating-orb-1 { background: rgba(255, 107, 157, 0.12); }
[data-theme="dark"] .floating-orb-2 { background: rgba(168, 85, 247, 0.10); }
[data-theme="dark"] .floating-orb-3 { background: rgba(56, 189, 248, 0.10); }
[data-theme="dark"] .floating-orb-4 { background: rgba(251, 191, 36, 0.08); }

@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(20px, 30px) scale(1.08) rotate(5deg); }
  50% { transform: translate(-15px, 15px) scale(0.95) rotate(-3deg); }
  75% { transform: translate(25px, -10px) scale(1.03) rotate(2deg); }
}

@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(-30px, -25px) scale(1.1) rotate(-5deg); }
  66% { transform: translate(15px, -8px) scale(0.92) rotate(3deg); }
}

@keyframes orb-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, 25px) scale(1.12); }
}

@keyframes orb-float-4 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  40% { transform: translate(20px, -20px) scale(1.05) rotate(8deg); }
  80% { transform: translate(-15px, 10px) scale(0.96) rotate(-4deg); }
}

/* ===== Floating Emoji Decorations ===== */
.floating-emoji {
  position: absolute;
  font-size: 2rem;
  pointer-events: none;
  z-index: 2;
  animation: emoji-bob 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  user-select: none;
}

.floating-emoji:nth-child(odd) {
  animation-duration: 5s;
  animation-delay: -1s;
}

.floating-emoji:nth-child(3n) {
  animation-duration: 6s;
  animation-delay: -2s;
}

.floating-emoji:nth-child(4n) {
  animation-duration: 3.5s;
  animation-delay: -0.5s;
}

@keyframes emoji-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(5deg); }
  75% { transform: translateY(8px) rotate(-5deg); }
}

/* ===== Mouse-follow glow (pastel) ===== */
.hero-mouse-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 182, 213, 0.25) 0%,
    rgba(196, 150, 255, 0.15) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 50%);
  transform: translate(-50%, -50%);
  transition: left 0.15s ease-out, top 0.15s ease-out;
  opacity: 0;
}

.hero:hover .hero-mouse-glow {
  opacity: 1;
}

[data-theme="dark"] .hero-mouse-glow {
  background: radial-gradient(circle, rgba(255, 107, 157, 0.25) 0%, transparent 70%);
}

/* ===== Glass morphism cards (candy) ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 182, 213, 0.3);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 107, 157, 0.45);
  box-shadow: 0 12px 40px rgba(255, 107, 157, 0.18), 0 4px 16px rgba(168, 85, 247, 0.1);
  transform: translateY(-3px);
}

[data-theme="dark"] .glass-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .glass-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 107, 157, 0.3);
  box-shadow: 0 8px 32px rgba(255, 107, 157, 0.15);
}

/* ===== Animated gradient text ===== */
.gradient-text-animated {
  background: linear-gradient(135deg, #FF6B9D, #A855F7, #38BDF8, #FF6B9D);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== Animated gradient border on hover ===== */
.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #FF6B9D, #A855F7, #38BDF8, #FBBF24, #FF6B9D);
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
  animation: gradient-shift 4s ease infinite;
}

.gradient-border:hover::before {
  opacity: 1;
}

/* ===== Section decorative blobs (pastel) ===== */
.section-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.section-blob-left {
  width: 300px;
  height: 300px;
  left: -150px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255, 182, 213, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
}

.section-blob-right {
  width: 250px;
  height: 250px;
  right: -120px;
  top: 30%;
  background: radial-gradient(circle, rgba(147, 226, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
}

[data-theme="dark"] .section-blob-left {
  background: radial-gradient(circle, rgba(255, 107, 157, 0.08) 0%, transparent 70%);
}

[data-theme="dark"] .section-blob-right {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
}

/* ===== Shimmer effect for stats (candy sparkle) ===== */
.stat-shimmer {
  position: relative;
  overflow: hidden;
}

.stat-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: -200% 0; }
  50% { background-position: 200% 0; }
}

/* ===== Reveal animation ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Gradient Mesh Background ===== */
.hero-gradient-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(255, 182, 213, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 75% 20%, rgba(196, 150, 255, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 50% 80%, rgba(147, 226, 255, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 85% 70%, rgba(253, 230, 138, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 90% 40% at 10% 70%, rgba(167, 243, 208, 0.25) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: mesh-shift 12s ease-in-out infinite;
}

[data-theme="dark"] .hero-gradient-mesh {
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(255, 107, 157, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 75% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 50% 80%, rgba(56, 189, 248, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 85% 70%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 90% 40% at 10% 70%, rgba(168, 85, 247, 0.10) 0%, transparent 50%);
  background-size: 200% 200%;
}

@keyframes mesh-shift {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 50% 30%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 30% 80%; }
  100% { background-position: 0% 0%; }
}

/* ===== Floating Bubbles ===== */
.hero-bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6), transparent 70%);
  border: 2px solid;
  opacity: 0;
  animation: bubble-rise linear infinite;
}

.bubble:nth-child(1)  { left: 5%;  width: 22px; height: 22px; border-color: rgba(255,182,213,0.5); animation-duration: 9s;  animation-delay: 0s; }
.bubble:nth-child(2)  { left: 15%; width: 16px; height: 16px; border-color: rgba(216,180,254,0.5); animation-duration: 11s; animation-delay: 1.5s; }
.bubble:nth-child(3)  { left: 28%; width: 28px; height: 28px; border-color: rgba(147,226,255,0.5); animation-duration: 8s;  animation-delay: 3s; }
.bubble:nth-child(4)  { left: 40%; width: 14px; height: 14px; border-color: rgba(253,230,138,0.5); animation-duration: 12s; animation-delay: 0.5s; }
.bubble:nth-child(5)  { left: 55%; width: 20px; height: 20px; border-color: rgba(167,243,208,0.5); animation-duration: 10s; animation-delay: 2s; }
.bubble:nth-child(6)  { left: 65%; width: 30px; height: 30px; border-color: rgba(216,180,254,0.4); animation-duration: 13s; animation-delay: 4s; }
.bubble:nth-child(7)  { left: 75%; width: 18px; height: 18px; border-color: rgba(255,182,213,0.5); animation-duration: 9.5s; animation-delay: 1s; }
.bubble:nth-child(8)  { left: 85%; width: 24px; height: 24px; border-color: rgba(147,226,255,0.4); animation-duration: 11.5s; animation-delay: 3.5s; }
.bubble:nth-child(9)  { left: 48%; width: 12px; height: 12px; border-color: rgba(253,230,138,0.5); animation-duration: 8.5s; animation-delay: 5s; }
.bubble:nth-child(10) { left: 92%; width: 26px; height: 26px; border-color: rgba(167,243,208,0.4); animation-duration: 14s; animation-delay: 2.5s; }

@keyframes bubble-rise {
  0%   { transform: translateY(0) scale(0.3); opacity: 0; }
  10%  { opacity: 0.7; transform: translateY(-8vh) scale(0.8); }
  50%  { opacity: 0.5; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-110vh) scale(1.1); opacity: 0; }
}

/* ===== Bouncy Text Animation ===== */
.hero h1 .word-bounce {
  display: inline-block;
  opacity: 0;
  animation: bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero h1 .word-bounce:nth-child(1) { animation-delay: 0.1s; }
.hero h1 .word-bounce:nth-child(2) { animation-delay: 0.2s; }
.hero h1 .word-bounce:nth-child(3) { animation-delay: 0.3s; }
.hero h1 .word-bounce:nth-child(4) { animation-delay: 0.4s; }
.hero h1 .word-bounce:nth-child(5) { animation-delay: 0.5s; }
.hero h1 .word-bounce:nth-child(6) { animation-delay: 0.6s; }
.hero h1 .word-bounce:nth-child(7) { animation-delay: 0.7s; }
.hero h1 .word-bounce:nth-child(8) { animation-delay: 0.8s; }

@keyframes bounce-in {
  0%   { opacity: 0; transform: translateY(40px) scale(0.5); }
  60%  { opacity: 1; transform: translateY(-8px) scale(1.05); }
  80%  { transform: translateY(3px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== Confetti on Scroll ===== */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  opacity: 0;
}

.confetti-piece.burst {
  animation: confetti-fall 2.5s ease-out forwards;
}

.confetti-piece:nth-child(1)  { left: 5%;  background: #FFB6D5; animation-delay: 0s;    border-radius: 50%; }
.confetti-piece:nth-child(2)  { left: 12%; background: #D8B4FE; animation-delay: 0.05s; width: 8px; height: 12px; border-radius: 50%; }
.confetti-piece:nth-child(3)  { left: 20%; background: #93E2FF; animation-delay: 0.1s;  border-radius: 50%; }
.confetti-piece:nth-child(4)  { left: 28%; background: #FDE68A; animation-delay: 0.08s; width: 12px; height: 6px; border-radius: 50%; }
.confetti-piece:nth-child(5)  { left: 35%; background: #A7F3D0; animation-delay: 0.15s; border-radius: 50%; width: 8px; height: 8px; }
.confetti-piece:nth-child(6)  { left: 42%; background: #FFB6D5; animation-delay: 0.03s; border-radius: 50%; }
.confetti-piece:nth-child(7)  { left: 50%; background: #D8B4FE; animation-delay: 0.12s; width: 6px; height: 14px; border-radius: 50%; }
.confetti-piece:nth-child(8)  { left: 58%; background: #FF6B9D; animation-delay: 0.07s; border-radius: 50%; }
.confetti-piece:nth-child(9)  { left: 65%; background: #93E2FF; animation-delay: 0.18s; border-radius: 50%; }
.confetti-piece:nth-child(10) { left: 72%; background: #A855F7; animation-delay: 0.02s; width: 12px; height: 8px; border-radius: 50%; }
.confetti-piece:nth-child(11) { left: 78%; background: #FDE68A; animation-delay: 0.13s; border-radius: 50%; width: 6px; height: 6px; }
.confetti-piece:nth-child(12) { left: 85%; background: #FFB6D5; animation-delay: 0.09s; border-radius: 50%; }
.confetti-piece:nth-child(13) { left: 90%; background: #A7F3D0; animation-delay: 0.16s; border-radius: 50%; }
.confetti-piece:nth-child(14) { left: 17%; background: #D8B4FE; animation-delay: 0.06s; width: 8px; height: 8px; border-radius: 50%; }
.confetti-piece:nth-child(15) { left: 33%; background: #FF6B9D; animation-delay: 0.11s; border-radius: 50%; }
.confetti-piece:nth-child(16) { left: 47%; background: #93E2FF; animation-delay: 0.04s; width: 14px; height: 6px; border-radius: 50%; }
.confetti-piece:nth-child(17) { left: 62%; background: #FDE68A; animation-delay: 0.14s; border-radius: 50%; }
.confetti-piece:nth-child(18) { left: 80%; background: #A855F7; animation-delay: 0.08s; border-radius: 50%; }
.confetti-piece:nth-child(19) { left: 95%; background: #A7F3D0; animation-delay: 0.17s; width: 10px; height: 6px; border-radius: 50%; }
.confetti-piece:nth-child(20) { left: 53%; background: #FFB6D5; animation-delay: 0.01s; border-radius: 50%; }

@keyframes confetti-fall {
  0%   { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
  25%  { opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg) scale(0.3); opacity: 0; }
}

/* ===== Sparkle Cursor Trail ===== */
.sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  font-size: 14px;
  animation: sparkle-fade 0.8s ease-out forwards;
}

@keyframes sparkle-fade {
  0%   { transform: scale(0.3) rotate(0deg); opacity: 1; }
  50%  { transform: scale(1.2) rotate(180deg); opacity: 0.7; }
  100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

/* ===== Jelly Buttons ===== */
.btn.jelly-btn {
  position: relative;
  overflow: hidden;
}

.btn.jelly-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  border-radius: inherit;
  pointer-events: none;
}

.btn.jelly-btn:hover {
  animation: jelly-squish 0.6s ease;
}

@keyframes jelly-squish {
  0%   { transform: scale(1, 1); }
  15%  { transform: scale(1.15, 0.85); }
  30%  { transform: scale(0.9, 1.1); }
  45%  { transform: scale(1.05, 0.95); }
  60%  { transform: scale(0.98, 1.02); }
  75%  { transform: scale(1.02, 0.98); }
  100% { transform: scale(1, 1); }
}

/* ===== Card Tilt Effect (3D perspective) ===== */
.service-card.tilt-card {
  transform-style: preserve-3d;
  perspective: 800px;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
}

.service-card.tilt-card:hover {
  box-shadow: 0 20px 60px rgba(255, 107, 157, 0.2), 0 8px 24px rgba(168, 85, 247, 0.12);
}

/* ===== Emoji Rain (Swaying) ===== */
.floating-emoji-rain {
  position: absolute;
  font-size: 1.6rem;
  pointer-events: none;
  z-index: 2;
  user-select: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
  animation: emoji-rain-sway var(--rain-duration, 8s) ease-in-out infinite;
  animation-delay: var(--rain-delay, 0s);
}

@keyframes emoji-rain-sway {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.85;
  }
  20% {
    transform: translateY(-15px) translateX(15px) rotate(8deg);
    opacity: 1;
  }
  40% {
    transform: translateY(-30px) translateX(-10px) rotate(-5deg);
    opacity: 0.9;
  }
  60% {
    transform: translateY(-10px) translateX(20px) rotate(12deg);
    opacity: 1;
  }
  80% {
    transform: translateY(-25px) translateX(-15px) rotate(-8deg);
    opacity: 0.85;
  }
}

/* ===== CSS-only Sparkle Stars ===== */
.sparkle-star {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  width: 10px;
  height: 10px;
}

.sparkle-star::before,
.sparkle-star::after {
  content: '';
  position: absolute;
  background: rgba(255, 182, 213, 0.8);
}

.sparkle-star::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border-radius: 2px;
}

.sparkle-star::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  border-radius: 2px;
}

.sparkle-star:nth-child(odd)::before,
.sparkle-star:nth-child(odd)::after {
  background: rgba(196, 181, 253, 0.8);
}

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

.sparkle-star:nth-child(2) { animation-delay: -0.5s; }
.sparkle-star:nth-child(3) { animation-delay: -1s; }
.sparkle-star:nth-child(4) { animation-delay: -1.5s; }
.sparkle-star:nth-child(5) { animation-delay: -0.3s; }
.sparkle-star:nth-child(6) { animation-delay: -0.8s; }

@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.5) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(45deg); }
}

/* ===== Confetti Dots Background Scatter ===== */
.confetti-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.confetti-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  animation: confetti-dot-float 8s ease-in-out infinite;
}

.confetti-dot:nth-child(1) { width: 8px; height: 8px; background: var(--pastel-pink); top: 10%; left: 5%; animation-delay: 0s; }
.confetti-dot:nth-child(2) { width: 6px; height: 6px; background: var(--pastel-purple); top: 25%; left: 15%; animation-delay: -2s; }
.confetti-dot:nth-child(3) { width: 10px; height: 10px; background: var(--pastel-blue); top: 15%; right: 10%; animation-delay: -1s; }
.confetti-dot:nth-child(4) { width: 7px; height: 7px; background: var(--pastel-yellow); top: 40%; right: 5%; animation-delay: -3s; }
.confetti-dot:nth-child(5) { width: 5px; height: 5px; background: var(--pastel-mint); top: 60%; left: 8%; animation-delay: -1.5s; }
.confetti-dot:nth-child(6) { width: 9px; height: 9px; background: var(--pastel-lavender); top: 75%; right: 12%; animation-delay: -2.5s; }
.confetti-dot:nth-child(7) { width: 6px; height: 6px; background: var(--pastel-peach); top: 55%; left: 20%; animation-delay: -0.5s; }
.confetti-dot:nth-child(8) { width: 8px; height: 8px; background: var(--pastel-pink); top: 85%; left: 40%; animation-delay: -3.5s; }

@keyframes confetti-dot-float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(5px, -8px); }
  50% { transform: translate(-3px, 5px); }
  75% { transform: translate(8px, -3px); }
}

/* ===== Prefers reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh,
  .floating-orb,
  .floating-emoji,
  .floating-emoji-rain,
  .hero-mouse-glow,
  .stat-shimmer::after,
  .hero-gradient-mesh,
  .bubble,
  .confetti-piece,
  .sparkle,
  .sparkle-star,
  .confetti-dot,
  .hero-photo-decor {
    animation: none !important;
  }

  .hero-mouse-glow,
  .hero-bubbles,
  .confetti-container {
    display: none;
  }

  .gradient-text-animated {
    animation: none !important;
  }

  .hero h1 .word-bounce {
    opacity: 1;
    animation: none !important;
  }
}

/* ===== Mobile: disable heavy effects ===== */
@media (max-width: 768px) {
  .floating-orb {
    display: none;
  }

  .hero-mouse-glow {
    display: none;
  }

  .hero-mesh {
    animation-duration: 40s;
  }

  .floating-emoji {
    font-size: 1.4rem;
    opacity: 0.7;
  }

  .floating-emoji:nth-child(n+6) {
    display: none;
  }

  .hero-bubbles {
    display: none;
  }

  .hero-gradient-mesh {
    animation-duration: 20s;
  }

  .floating-emoji-rain:nth-child(n+5) {
    display: none;
  }

  .sparkle {
    display: none;
  }

  .sparkle-star:nth-child(n+4) {
    display: none;
  }

  .confetti-dot:nth-child(n+5) {
    display: none;
  }

  .hero-photo-decor:nth-child(n+5) {
    display: none;
  }
}
