/* Bubble Tea Mixing Game - Hover Effects Only */

/* Static bubble cup */
.bubble-cup-static {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bubble-cup {
  width: 120px;
  height: 140px;
  background: linear-gradient(
    135deg,
    var(--cup-clear) 0%,
    var(--white-transparent-70) 100%
  );
  border-radius: 0 0 60px 60px;
  position: relative;
  border: 3px solid var(--matcha-green);
}

.bubble-cup::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: var(--matcha-green);
  border-radius: 40px 40px 0 0;
}

.bubble-cup::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 10px;
  background: var(--tapioca-brown);
  border-radius: 50%;
  opacity: 0.3;
}

.bubble-bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bubble-bubbles::before,
.bubble-bubbles::after {
  content: "";
  position: absolute;
  background: var(--lychee-pink);
  border-radius: 50%;
}

.bubble-bubbles::before {
  width: 15px;
  height: 15px;
  top: 20%;
  left: 20%;
}

.bubble-bubbles::after {
  width: 12px;
  height: 12px;
  top: 60%;
  right: 25%;
}

.bubble-straw {
  position: absolute;
  width: 8px;
  height: 80px;
  background: var(--boba-black);
  border-radius: 4px;
  top: -40px;
  right: 20px;
  transform: rotate(15deg);
}

.bubble-straw::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid var(--boba-black);
}

/* Hover animations for interactive elements */
.feature-bubble-card:hover .feature-bubble-icon,
.upgrade-bubble-card:hover .upgrade-bubble-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Smooth transitions for interactive elements */
.teahead-nav-link,
.flavor-item {
  position: relative;
  overflow: hidden;
}

.teahead-nav-link::before,
.flavor-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--white-transparent-20),
    transparent
  );
  transition: left 0.5s ease;
}

.teahead-nav-link:hover::before,
.flavor-item:hover::before {
  left: 100%;
}

/* Responsive hover effects */
@media (max-width: 768px) {
  .bubble-cup {
    width: 100px;
    height: 120px;
  }

  .bubble-straw {
    height: 60px;
    top: -30px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
