/* GQLite.com Logo Balloon Style */

/* Importing Google Fonts for consistency */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Poppins:wght@800&family=Bebas+Neue&display=swap');

/* Balloon style for GQLite.com - creating a light, playful, floating effect */
.gqlite-logo-balloon {
  position: relative;
  animation: balloon-float 8s ease-in-out infinite;
}

.gqlite-logo-balloon span {
  display: inline-block;
  color: white;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  margin: 0 2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  transform-origin: bottom center;
  animation: balloon-bounce 3s ease-in-out infinite, balloon-float-individual 6s ease-in-out infinite;
  transition: all 0.3s ease;
}

/* Color for each character - using bright, playful balloon colors */
.gqlite-logo-balloon span:nth-child(1) { /* G */
  background-color: #ff6b6b;
  animation-delay: 0s, 0s;
}

.gqlite-logo-balloon span:nth-child(2) { /* Q */
  background-color: #4ecdc4;
  animation-delay: 0.2s, 0.5s;
}

.gqlite-logo-balloon span:nth-child(3) { /* L */
  background-color: #ffe66d;
  color: #333;
  animation-delay: 0.4s, 1s;
}

.gqlite-logo-balloon span:nth-child(4) { /* I */
  background-color: #1a535c;
  animation-delay: 0.6s, 1.5s;
}

.gqlite-logo-balloon span:nth-child(5) { /* T */
  background-color: #ff9f1c;
  animation-delay: 0.8s, 2s;
}

.gqlite-logo-balloon span:nth-child(6) { /* E */
  background-color: #e94b3c;
  animation-delay: 1s, 2.5s;
}

.gqlite-logo-balloon span:nth-child(7) { /* . */
  background-color: #3f88c5;
  padding: 12px;
  animation-delay: 1.2s, 3s;
}

.gqlite-logo-balloon span:nth-child(8) { /* C */
  background-color: #ff6b6b;
  animation-delay: 1.4s, 3.5s;
}

.gqlite-logo-balloon span:nth-child(9) { /* O */
  background-color: #4ecdc4;
  animation-delay: 1.6s, 4s;
}

.gqlite-logo-balloon span:nth-child(10) { /* M */
  background-color: #ffe66d;
  color: #333;
  animation-delay: 1.8s, 4.5s;
}

/* Balloon string effect */
.gqlite-logo-balloon::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  transform: translateX(-50%);
  filter: blur(1px);
}

/* Hover effect for balloon logo */
.gqlite-logo-balloon:hover span {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.5);
  animation-duration: 2s, 4s;
}

.gqlite-logo-balloon:hover span:nth-child(1) { transform: translateY(-10px) rotate(-5deg) scale(1.1); }
.gqlite-logo-balloon:hover span:nth-child(2) { transform: translateY(-10px) rotate(5deg) scale(1.1); }
.gqlite-logo-balloon:hover span:nth-child(3) { transform: translateY(-10px) rotate(-3deg) scale(1.1); }
.gqlite-logo-balloon:hover span:nth-child(4) { transform: translateY(-10px) rotate(3deg) scale(1.1); }
.gqlite-logo-balloon:hover span:nth-child(5) { transform: translateY(-10px) rotate(-5deg) scale(1.1); }
.gqlite-logo-balloon:hover span:nth-child(6) { transform: translateY(-10px) rotate(5deg) scale(1.1); }
.gqlite-logo-balloon:hover span:nth-child(7) { transform: translateY(-10px) rotate(-3deg) scale(1.1); }
.gqlite-logo-balloon:hover span:nth-child(8) { transform: translateY(-10px) rotate(3deg) scale(1.1); }
.gqlite-logo-balloon:hover span:nth-child(9) { transform: translateY(-10px) rotate(-5deg) scale(1.1); }
.gqlite-logo-balloon:hover span:nth-child(10) { transform: translateY(-10px) rotate(5deg) scale(1.1); }

/* Animation keyframes for balloon effects */
@keyframes balloon-float {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-10px) rotate(-2deg); }
  75% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes balloon-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes balloon-float-individual {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-3px) rotate(-1deg); }
  75% { transform: translateY(-3px) rotate(1deg); }
}

/* Responsive adjustments for balloon style */
@media (max-width: 1024px) {
  .gqlite-logo-balloon span {
    padding: 6px 10px;
    margin: 0 1px;
  }
}

@media (max-width: 768px) {
  .gqlite-logo-balloon span {
    padding: 4px 8px;
    margin: 0 1px;
    box-shadow: 
      0 2px 8px rgba(0, 0, 0, 0.2),
      inset 0 1px 2px rgba(255, 255, 255, 0.3);
  }
}

@media (max-width: 480px) {
  .gqlite-logo-balloon span {
    padding: 3px 6px;
    margin: 0 1px;
    border-radius: 40%;
  }
}