/* GQLite.com Logo Fire 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');

/* Fire style for GQLite.com - creating a burning effect */
.gqlite-logo-fire {
  position: relative;
  animation: fire-pulse 2s ease-in-out infinite;
}

.gqlite-logo-fire span {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 
    0 0 5px rgba(255, 140, 0, 0.8),
    0 0 10px rgba(255, 100, 0, 0.8),
    0 0 15px rgba(255, 60, 0, 0.8),
    0 0 20px rgba(255, 20, 0, 0.8),
    0 0 25px rgba(255, 0, 0, 0.6);
  animation: fire-flicker 3s ease-in-out infinite alternate, fire-move 1s ease-in-out infinite alternate;
}

/* Color gradient for each character - using fire-inspired colors */
.gqlite-logo-fire span:nth-child(1) {
  background-image: linear-gradient(120deg, #ff9500, #ff3b30, #ff9500);
  --fire-color: #ff9500;
}

.gqlite-logo-fire span:nth-child(2) {
  background-image: linear-gradient(120deg, #ffcc00, #ff9500, #ffcc00);
  --fire-color: #ffcc00;
  animation-delay: 0.1s;
}

.gqlite-logo-fire span:nth-child(3) {
  background-image: linear-gradient(120deg, #ff3b30, #ff0000, #ff3b30);
  --fire-color: #ff3b30;
  animation-delay: 0.2s;
}

.gqlite-logo-fire span:nth-child(4) {
  background-image: linear-gradient(120deg, #ff9500, #ff3b30, #ff9500);
  --fire-color: #ff9500;
  animation-delay: 0.3s;
}

.gqlite-logo-fire span:nth-child(5) {
  background-image: linear-gradient(120deg, #ffcc00, #ff9500, #ffcc00);
  --fire-color: #ffcc00;
  animation-delay: 0.4s;
}

.gqlite-logo-fire span:nth-child(6) {
  background-image: linear-gradient(120deg, #ff3b30, #ff0000, #ff3b30);
  --fire-color: #ff3b30;
  animation-delay: 0.5s;
}

.gqlite-logo-fire span:nth-child(7) {
  background-image: linear-gradient(120deg, #ff9500, #ff3b30, #ff9500);
  --fire-color: #ff9500;
  animation-delay: 0.6s;
}

.gqlite-logo-fire span:nth-child(8) {
  background-image: linear-gradient(120deg, #ffcc00, #ff9500, #ffcc00);
  --fire-color: #ffcc00;
  animation-delay: 0.7s;
}

.gqlite-logo-fire span:nth-child(9) {
  background-image: linear-gradient(120deg, #ff3b30, #ff0000, #ff3b30);
  --fire-color: #ff3b30;
  animation-delay: 0.8s;
}

.gqlite-logo-fire span:nth-child(10) {
  background-image: linear-gradient(120deg, #ff9500, #ff3b30, #ff9500);
  --fire-color: #ff9500;
  animation-delay: 0.9s;
}

/* Additional flame shadow effect */
.gqlite-logo-fire::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 10%;
  width: 80%;
  height: 40px;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.4) 0%, rgba(255, 69, 0, 0.1) 70%, transparent 100%);
  filter: blur(10px);
  animation: fire-glow 3s ease-in-out infinite alternate;
}

/* Hover effect for fire logo */
.gqlite-logo-fire:hover {
  animation-duration: 1.5s;
}

.gqlite-logo-fire:hover span {
  animation-duration: 0.8s, 2s;
  text-shadow: 
    0 0 8px rgba(255, 140, 0, 0.9),
    0 0 15px rgba(255, 100, 0, 0.9),
    0 0 20px rgba(255, 60, 0, 0.9),
    0 0 25px rgba(255, 20, 0, 0.9),
    0 0 30px rgba(255, 0, 0, 0.8),
    0 0 40px rgba(255, 0, 0, 0.5);
}

.gqlite-logo-fire:hover::after {
  background: radial-gradient(circle, rgba(255, 69, 0, 0.6) 0%, rgba(255, 69, 0, 0.2) 70%, transparent 100%);
  filter: blur(15px);
}

/* Animation keyframes for fire effects */
@keyframes fire-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.02); opacity: 1; }
}

@keyframes fire-flicker {
  0%, 100% {
    background-position: 0% 50%;
    text-shadow: 
      0 0 5px rgba(255, 140, 0, 0.8),
      0 0 10px rgba(255, 100, 0, 0.8),
      0 0 15px rgba(255, 60, 0, 0.8),
      0 0 20px rgba(255, 20, 0, 0.8),
      0 0 25px rgba(255, 0, 0, 0.6);
  }
  50% {
    background-position: 100% 50%;
    text-shadow: 
      0 0 7px rgba(255, 140, 0, 0.9),
      0 0 12px rgba(255, 100, 0, 0.9),
      0 0 18px rgba(255, 60, 0, 0.9),
      0 0 23px rgba(255, 20, 0, 0.9),
      0 0 28px rgba(255, 0, 0, 0.7);
  }
}

@keyframes fire-move {
  0% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-2px) rotate(1deg); }
  100% { transform: translateY(0) rotate(-1deg); }
}

@keyframes fire-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* Responsive adjustments for fire style */
@media (max-width: 1024px) {
  .gqlite-logo-fire span {
    text-shadow: 
      0 0 4px rgba(255, 140, 0, 0.8),
      0 0 8px rgba(255, 100, 0, 0.8),
      0 0 12px rgba(255, 60, 0, 0.8),
      0 0 16px rgba(255, 20, 0, 0.8),
      0 0 20px rgba(255, 0, 0, 0.6);
  }
  
  .gqlite-logo-fire::after {
    height: 30px;
    bottom: -15px;
    filter: blur(8px);
  }
}

@media (max-width: 768px) {
  .gqlite-logo-fire span {
    text-shadow: 
      0 0 3px rgba(255, 140, 0, 0.8),
      0 0 6px rgba(255, 100, 0, 0.8),
      0 0 9px rgba(255, 60, 0, 0.8),
      0 0 12px rgba(255, 20, 0, 0.8),
      0 0 15px rgba(255, 0, 0, 0.6);
  }
  
  .gqlite-logo-fire::after {
    height: 20px;
    bottom: -10px;
    filter: blur(6px);
  }
}

@media (max-width: 480px) {
  .gqlite-logo-fire span {
    text-shadow: 
      0 0 2px rgba(255, 140, 0, 0.8),
      0 0 4px rgba(255, 100, 0, 0.8),
      0 0 6px rgba(255, 60, 0, 0.8),
      0 0 8px rgba(255, 20, 0, 0.8),
      0 0 10px rgba(255, 0, 0, 0.6);
  }
  
  .gqlite-logo-fire::after {
    height: 15px;
    bottom: -8px;
    filter: blur(4px);
  }
}