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

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(145deg, #fef9e4 0%, #fff3e0 100%);
  color: #2d2b2a;
  overflow-x: hidden;
}

/* Floating Balloons - mobile friendly (fewer, smaller) */
#balloons-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.balloon {
  position: absolute;
  bottom: -80px;
  animation: floatUp 8s linear infinite;
  opacity: 0.5;
  font-size: 1.5rem;
  pointer-events: none;
}
@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg); bottom: -80px; opacity: 0.6; }
  100% { transform: translateY(-120vh) rotate(20deg); bottom: 100vh; opacity: 0; }
}

.carnival-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem;
}

/* Navbar - Mobile First */
.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,240,0.95);
  backdrop-filter: blur(12px);
  padding: 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px -8px rgba(0,0,0,0.1);
}
.logo {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Fredoka', cursive;
  background: linear-gradient(135deg, #f97316, #eab308);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}
.logo i {
  background: none;
  -webkit-background-clip: unset;
  color: #f97316;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #4a3b2c;
  font-size: 0.9rem;
  padding: 0.3rem 0.6rem;
}
.btn-carnival {
  background: #f97316;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
  text-align: center;
}
.hero-text { flex: 1; }
.badge {
  background: #fef08a;
  color: #b45309;
  padding: 0.2rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  display: inline-block;
  margin-bottom: 0.8rem;
}
.hero-text h1 {
  font-size: 1.8rem;
  font-family: 'Fredoka', cursive;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
.gradient-text {
  background: linear-gradient(120deg, #f97316, #dc2626);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text p {
  font-size: 0.95rem;
  color: #5a4a3a;
  margin-bottom: 1.2rem;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.stat-item {
  background: white;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.hero-image i { font-size: 5rem; color: #f97316; }

/* Section Title */
.section-title {
  text-align: center;
  font-size: 1.6rem;
  font-family: 'Fredoka', cursive;
  margin: 2rem 0 1rem;
}
.section-title:after { content: "🎪"; font-size: 1.5rem; margin-left: 6px; }

/* Activity Cards - single column on mobile */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin: 1.5rem 0;
}
.activity-card {
  background: white;
  border-radius: 1.5rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.08);
}
.card-icon {
  font-size: 2rem;
  background: #fff0db;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
}
.activity-card h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.activity-card p { font-size: 0.85rem; }

/* Schedule - horizontal scroll on mobile */
.schedule {
  background: #fff7ed;
  border-radius: 1.5rem;
  padding: 1rem;
  margin: 1.5rem 0;
}
.schedule h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.schedule-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
}
.schedule-table th, .schedule-table td {
  padding: 0.7rem;
  font-size: 0.85rem;
  text-align: left;
  border-bottom: 1px dashed #fed7aa;
}
.time { font-weight: 700; color: #ea580c; }

/* Registration Box - stacked on mobile */
.register-box {
  background: linear-gradient(115deg, #ffffff, #fff6e8);
  border-radius: 1.5rem;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.form-left h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.input-group input, .input-group select {
  padding: 0.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
}
.form-right {
  background: #fff1e2;
  border-radius: 1.2rem;
  padding: 1rem;
  text-align: center;
}
.countdown { font-size: 1.6rem; font-weight: 800; color: #dc2626; }
.submit-btn {
  background: #f97316;
  padding: 0.8rem;
  font-size: 1rem;
  margin-top: 0.8rem;
}
footer {
  margin-top: 2rem;
  font-size: 0.7rem;
  padding: 1rem;
}

/* Tablet and desktop adjustments */
@media (min-width: 640px) {
  .carnival-wrapper { padding: 1.5rem; }
  .navbar { flex-direction: row; justify-content: space-between; border-radius: 100px; padding: 0.8rem 2rem; }
  .hero { flex-direction: row; text-align: left; }
  .hero-text h1 { font-size: 2.5rem; }
  .hero-image i { font-size: 8rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .register-box { flex-direction: row; }
  .countdown { font-size: 2rem; }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-text h1 { font-size: 3.2rem; }
  .hero-image i { font-size: 10rem; }
}












