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