/* GQLite.com - 向左按钮(Left) 动感风格 */

/* 导入Google字体 */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Poppins:wght@600&display=swap');

/* 向左按钮基础样式 */
.direction-button-left {
  font-family: 'Fredoka One', 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  padding: 10px 15px;
  background: #3498db;
  color: #FFFFFF;
  border: 2px solid #3498db;
  border-radius: 6px;
  box-shadow: 0 4px 0px rgba(52, 152, 219, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  overflow: hidden;
  min-width: 80px;
  text-align: center;
}

/* 按钮内部发光效果 */
.direction-button-left::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.5s ease;
}

/* 按钮悬停效果 */
.direction-button-left:hover {
  transform: translateX(-2px);
  box-shadow: 0 2px 0px rgba(52, 152, 219, 0.5), 0 0 15px rgba(52, 152, 219, 0.5);
}

.direction-button-left:hover::before {
  left: 100%;
}

/* 按钮激活/点击效果 */
.direction-button-left:active {
  transform: translateX(-4px);
  box-shadow: 0 1px 0px rgba(52, 152, 219, 0.5);
}

/* 按钮文字样式 */
.direction-button-left span {
  display: inline-block;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

/* 悬停时文字轻微放大 */
.direction-button-left:hover span {
  transform: scale(1.05);
}

/* 按钮点击波纹效果 */
.direction-button-left.animate {
  animation: direction-left-ripple 0.6s ease-out;
}

@keyframes direction-left-ripple {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* 方向指示器 - 左箭头 */
.direction-button-left::after {
  content: '←';
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.direction-button-left:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(-2px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .direction-button-left {
    font-size: 0.9rem;
    padding: 8px 12px;
    min-width: 70px;
  }
  
  .direction-button-left::after {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .direction-button-left {
    font-size: 0.8rem;
    padding: 7px 10px;
    min-width: 60px;
    border-width: 1.5px;
  }
  
  .direction-button-left::after {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .direction-button-left {
    font-size: 0.75rem;
    padding: 6px 8px;
    min-width: 50px;
    border-width: 1.5px;
  }
  
  .direction-button-left::before {
    display: none;
  }
  
  .direction-button-left::after {
    display: none;
  }
}