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

body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
}

.slush-drinks-section {
  background-image: url('../public/bubble/bubbletea-bg-1289.1180-2.png');
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  padding-bottom: 60px;
}

.slush-section-title {
  font-family: 'Ultra', serif;
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  color: #ffc400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 80px 0 50px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Category tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
  z-index: 100;
}

.category-tab {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid rgba(255, 196, 0, 0.3);
  padding: 12px 30px;
  font-family: 'Jua', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 100;
}

.category-tab.active {
  background: #ffc400;
  color: #1976d2;
  border-color: #ffc400;
  box-shadow: 0 4px 15px rgba(255, 196, 0, 0.3);
}

.category-tab:hover {
  background: rgba(255, 196, 0, 0.8);
  color: #1976d2;
  transform: translateY(-2px);
}

/* Progress indicator */
.auto-switch-indicator {
  text-align: center;
  margin-bottom: 20px;
}

.progress-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #ffc400;
  border-radius: 2px;
  transition: width 0.1s linear;
  width: 0%;
}

/* Grid layout */
.slush-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.5s ease;
  position: relative;
  z-index: 50;
}

.slush-grid-container.switching {
  opacity: 0;
}

/* Slush item card */
.slush-item {
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.slush-item:hover {
  transform: translateY(-10px) scale(1.05);
}

.slush-card {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 4px solid #fff;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.slush-card:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.slush-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 2;
}

.slush-item-name {
  font-family: 'Ultra', serif;
  font-size: 13px;
  color: #ffc400;
  margin-bottom: 5px;
  text-transform: capitalize;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.slush-item-calories {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* Best seller tag */
.slush-best-seller-tag {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff6b35;
  color: white;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Order button */
.slush-order-btn {
  background: #ffc400;
  border: none;
  color: #1976d2;
  padding: 18px 50px;
  font-family: 'Jua', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  margin: 60px 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 196, 0, 0.3);
  position: relative;
  z-index: 100;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.slush-order-btn:hover {
  background: #ffb300;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 179, 0, 0.4);
}

.text-center {
  text-align: center;
}

/* Floating bubbles container */
.floating-bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none !important;
}

/* Individual bubble */
.floating-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: floatBubble 8s ease-in-out infinite;
  pointer-events: none;
}

.floating-character {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 10;
  width: clamp(120px, 15vw, 200px);
  height: auto;
  pointer-events: none; /* Prevents interference with other elements */
  animation: enjoyWiggle 1.5s ease-in-out infinite;
  transform-origin: center center;
}

.floating-character img {
  width: 100%;
  height: auto;
  max-width: 100px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Bubble animation */
@keyframes floatBubble {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-30px) scale(1.1);
    opacity: 0.6;
  }
}

/* Wiggle Animation */
@keyframes enjoyWiggle {
  0% {
    transform: rotate(0deg) translateX(0px) translateY(0px) scale(1);
  }
  25% {
    transform: rotate(-1deg) translateX(-3px) translateY(-2px) scale(1.01);
  }
  50% {
    transform: rotate(1deg) translateX(3px) translateY(-4px) scale(1.02);
  }
  75% {
    transform: rotate(-0.5deg) translateX(-2px) translateY(-1px) scale(1.01);
  }
  100% {
    transform: rotate(0deg) translateX(0px) translateY(0px) scale(1);
  }
}

.wiggle-enjoy {
  animation: enjoyWiggle 1.5s ease-in-out infinite;
  transform-origin: center center;
}

/* Responsive */
@media (max-width: 768px) {
  .category-tabs {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 100;
  }

  .category-tab {
    padding: 10px 25px;
    font-size: 1rem;
  }

  .slush-section-title {
    font-size: 2rem;
  }
  .floating-character {
    display: none;
  }

  .slush-drinks-section {
    padding-bottom: 80px; /* More padding on mobile */
  }
}

@media (max-width: 567px) {
  .slush-section-title {
  
    font-size: 2rem !important;
    font-weight: 200 !important;
  }
}
