/* GQLite.com Logo Chinese Red Style */

/* Chinese Red style for GQLite.com - creating a traditional Chinese appearance */
.gqlite-logo-red-china {
  font-family: 'Fredoka One', 'Bebas Neue', 'Poppins', cursive, sans-serif;
  position: relative;
  letter-spacing: -1px;
}

.gqlite-logo-red-china span {
  display: inline-block;
  color: #C41E3A; /* Chinese Red */
  text-shadow: 
    1px 1px 0px #8B0000,
    2px 2px 0px #8B0000,
    3px 3px 0px #8B0000,
    0 0 10px rgba(255, 255, 255, 0.5);
  position: relative;
  transition: all 0.3s ease;
  animation: chinese-float 4s ease-in-out infinite;
}

/* Chinese pattern background for characters */
.gqlite-logo-red-china span {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  padding: 2px 4px;
  border-radius: 2px;
}

/* Chinese knot inspired border effect */
.gqlite-logo-red-china span::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #C41E3A, #8B0000, #C41E3A);
  z-index: -1;
  opacity: 0.5;
  filter: blur(1px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Chinese stamp effect for the whole logo */
.gqlite-logo-red-china::after {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background: #C41E3A;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transform: rotate(15deg);
  z-index: -1;
  opacity: 0.7;
}

/* Hover effect for Chinese Red logo */
.gqlite-logo-red-china:hover span {
  color: #FF3838;
  transform: scale(1.05) rotate(var(--rotate, 0deg));
  animation: chinese-pulse 2s ease-in-out infinite;
  text-shadow: 
    1px 1px 0px #8B0000,
    2px 2px 0px #8B0000,
    3px 3px 0px #8B0000,
    0 0 15px rgba(255, 255, 255, 0.7);
}

.gqlite-logo-red-china:hover span:nth-child(1) { --rotate: -2deg; }
.gqlite-logo-red-china:hover span:nth-child(2) { --rotate: 2deg; }
.gqlite-logo-red-china:hover span:nth-child(3) { --rotate: -1deg; }
.gqlite-logo-red-china:hover span:nth-child(4) { --rotate: 1deg; }
.gqlite-logo-red-china:hover span:nth-child(5) { --rotate: -2deg; }
.gqlite-logo-red-china:hover span:nth-child(6) { --rotate: 2deg; }
.gqlite-logo-red-china:hover span:nth-child(7) { --rotate: -1deg; }
.gqlite-logo-red-china:hover span:nth-child(8) { --rotate: 1deg; }
.gqlite-logo-red-china:hover span:nth-child(9) { --rotate: -2deg; }
.gqlite-logo-red-china:hover span:nth-child(10) { --rotate: 2deg; }

.gqlite-logo-red-china:hover::after {
  transform: rotate(0deg);
  opacity: 0.9;
  animation: chinese-stamp 0.5s ease-in-out infinite alternate;
}

/* Animation keyframes for Chinese Red effects */
@keyframes chinese-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes chinese-pulse {
  0%, 100% { transform: scale(1.05) rotate(var(--rotate, 0deg)); }
  50% { transform: scale(1.08) rotate(var(--rotate, 0deg)); }
}

@keyframes chinese-stamp {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(-5deg) scale(1.05); }
}

/* Responsive adjustments for Chinese Red style */
@media (max-width: 1024px) {
  .gqlite-logo-red-china span {
    text-shadow: 
      1px 1px 0px #8B0000,
      2px 2px 0px #8B0000,
      0 0 8px rgba(255, 255, 255, 0.5);
  }
}

@media (max-width: 768px) {
  .gqlite-logo-red-china {
    letter-spacing: -2px;
  }
  
  .gqlite-logo-red-china span {
    text-shadow: 
      1px 1px 0px #8B0000,
      2px 2px 0px #8B0000,
      0 0 6px rgba(255, 255, 255, 0.5);
    padding: 1px 3px;
  }
  
  .gqlite-logo-red-china span::before {
    display: none;
  }
  
  .gqlite-logo-red-china::after {
    width: 30px;
    height: 30px;
    top: -10px;
    right: -10px;
  }
}

@media (max-width: 480px) {
  .gqlite-logo-red-china::after {
    display: none;
  }
}