/* Clean Light Blue & Party Aesthetic for Indovina la sfumatura */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --font-inter: 'Inter', sans-serif;
  --bg-light: #e0f2fe;
  --card-light: #ffffff;
  --border-light: #bae6fd;
  --text-dark: #0f172a;
  --color-blue-primary: #2563eb;
  --color-blue-hover: #1d4ed8;
}

/* Light Blue Body Background */
body {
  font-family: var(--font-inter);
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 40%, #e0f2fe 70%, #f0f9ff 100%);
  background-attachment: fixed;
  color: #0f172a;
  overflow-x: hidden;
}

h1, h2, h3, .font-heading {
  font-family: var(--font-inter);
}

/* Floating Party Layer */
.baby-party-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* CSS Animated Floating Clouds */
.bg-cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.18);
  animation: float-cloud 22s infinite ease-in-out alternate;
}

.bg-cloud::before, .bg-cloud::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
}

.bg-cloud-1 {
  width: 150px;
  height: 48px;
  top: 6%;
  left: 3%;
  animation-duration: 25s;
}
.bg-cloud-1::before { width: 60px; height: 60px; top: -28px; left: 22px; }
.bg-cloud-1::after { width: 50px; height: 50px; top: -20px; right: 28px; }

.bg-cloud-2 {
  width: 180px;
  height: 55px;
  top: 18%;
  right: 4%;
  animation-duration: 28s;
  animation-delay: -5s;
}
.bg-cloud-2::before { width: 72px; height: 72px; top: -33px; left: 32px; }
.bg-cloud-2::after { width: 58px; height: 58px; top: -24px; right: 38px; }

.bg-cloud-3 {
  width: 130px;
  height: 42px;
  bottom: 10%;
  left: 5%;
  animation-duration: 20s;
  animation-delay: -10s;
}
.bg-cloud-3::before { width: 50px; height: 50px; top: -22px; left: 18px; }
.bg-cloud-3::after { width: 40px; height: 40px; top: -16px; right: 22px; }

@keyframes float-cloud {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(35px) translateY(-12px); }
  100% { transform: translateX(-20px) translateY(8px); }
}

/* CSS Animated Balloons System */
.bg-balloon {
  position: absolute;
  width: 46px;
  height: 56px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  box-shadow: inset -4px -4px 10px rgba(0, 0, 0, 0.15), 0 6px 15px rgba(0, 0, 0, 0.08);
  animation: float-balloon 8s infinite ease-in-out alternate;
}

/* Balloon String */
.bg-balloon::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 50%;
  width: 2px;
  height: 24px;
  background: rgba(100, 116, 139, 0.4);
  transform: translateX(-50%);
}

/* Balloon Color Gradients */
.balloon-blue {
  background: radial-gradient(circle at 35% 35%, #60a5fa 0%, #2563eb 85%);
}
.balloon-pink {
  background: radial-gradient(circle at 35% 35%, #f472b6 0%, #db2777 85%);
}
.balloon-amber {
  background: radial-gradient(circle at 35% 35%, #fbbf24 0%, #d97706 85%);
}
.balloon-purple {
  background: radial-gradient(circle at 35% 35%, #c084fc 0%, #7c3aed 85%);
}
.balloon-teal {
  background: radial-gradient(circle at 35% 35%, #2dd4bf 0%, #0d9488 85%);
}
.balloon-rose {
  background: radial-gradient(circle at 35% 35%, #fda4af 0%, #e11d48 85%);
}
.balloon-sky {
  background: radial-gradient(circle at 35% 35%, #38bdf8 0%, #0284c7 85%);
}

/* Balloon Positions (Visible on Mobile & Desktop) */
.balloon-1 {
  top: 8%;
  left: 2.5%;
  animation-duration: 9s;
}

.balloon-2 {
  top: 10%;
  right: 2.5%;
  animation-duration: 11s;
  animation-delay: -3s;
}

.balloon-3 {
  top: 42%;
  left: 1.5%;
  animation-duration: 8.5s;
  animation-delay: -1.5s;
}

.balloon-4 {
  top: 45%;
  right: 1.5%;
  animation-duration: 10s;
  animation-delay: -4s;
}

.balloon-5 {
  bottom: 8%;
  left: 3%;
  animation-duration: 9.5s;
  animation-delay: -2s;
}

.balloon-6 {
  bottom: 9%;
  right: 3%;
  animation-duration: 10.5s;
  animation-delay: -5s;
}

.balloon-7 {
  top: 4%;
  right: 20%;
  animation-duration: 8s;
  animation-delay: -1s;
}

.balloon-8 {
  top: 3%;
  left: 20%;
  animation-duration: 12s;
  animation-delay: -6s;
}

@keyframes float-balloon {
  0% { transform: translateY(0) rotate(-3deg); }
  100% { transform: translateY(-28px) rotate(4deg); }
}

/* Mobile Optimizations for Balloons */
@media (max-width: 640px) {
  .bg-balloon {
    width: 38px;
    height: 48px;
  }
  .balloon-1 { top: 6%; left: 2%; }
  .balloon-2 { top: 7%; right: 2%; }
  .balloon-3 { top: 40%; left: 1%; }
  .balloon-4 { top: 42%; right: 1%; }
  .balloon-5 { bottom: 6%; left: 2%; }
  .balloon-6 { bottom: 7%; right: 2%; }
  .balloon-7 { top: 3%; right: 18%; }
  .balloon-8 { top: 3%; left: 18%; }
}

/* Light Card Panel */
.light-card {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(186, 230, 253, 0.9);
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

/* Blue Accent Button */
.btn-blue {
  background-color: #2563eb;
  color: #ffffff;
  transition: all 0.2s ease-in-out;
}

.btn-blue:hover {
  background-color: #1d4ed8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* Light Input Field */
.input-light {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-light:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
