/* 英雄区域样式 */
.hero-section {
  min-height: 80vh;
  background-color: rgba(0, 0, 0, 0.7);
}

.version-title {
  position: relative;
  text-shadow: 0 0 10px #ff8a00, 0 0 20px #ff8a00;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #facc15;
}

.version-title:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, #ff8a00, transparent);
}

/* 伤害数字飘动效果 */
.damage-container {
  position: relative;
  height: 6rem;
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
}

.floating-damage {
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffcc00;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
  border: 1px solid #ffcc00;
  text-shadow: 0 0 3px #000;
  animation: float-up 2s ease-out infinite;
  z-index: 10;
}

.floating-damage.crit {
  color: #ff5500;
  font-size: 1.1rem;
  font-weight: 800;
  text-shadow: 0 0 5px #ff0000;
  border-color: #ff5500;
  animation: float-up-crit 2s ease-out infinite;
}

@keyframes float-up {
  0% { 
    opacity: 0;
    transform: translateY(0);
  }
  10% { 
    opacity: 1;
    transform: translateY(-10px);
  }
  80% { 
    opacity: 1;
  }
  100% { 
    opacity: 0;
    transform: translateY(-100px);
  }
}

@keyframes float-up-crit {
  0% { 
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  10% { 
    opacity: 1;
    transform: translateY(-15px) scale(1.2);
  }
  30% { 
    transform: translateY(-30px) scale(1.1);
  }
  80% { 
    opacity: 1;
  }
  100% { 
    opacity: 0;
    transform: translateY(-120px) scale(1);
  }
}

/* 游戏动图展示 */
.game-gif-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.gif-container {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #b45309;
  position: relative;
  transition: transform 0.2s;
  overflow: hidden;
}

.gif-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.gif-container img {
  width: 100%;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.gif-container img:hover {
  opacity: 0.9;
}

.gif-caption {
  text-align: center;
  font-size: 0.875rem;
  color: #facc15;
  margin-top: 0.5rem;
}

/* 图像加载器 */
.image-placeholder {
  position: relative;
  width: 100%;
  transition: height 0.3s ease;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 0.5rem solid;
  border-color: #b45309 transparent #b45309 transparent;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.loading-text {
  margin-top: 0.5rem;
  color: #b45309;
  font-size: 0.875rem;
}

/* 媒体查询 */
@media (min-width: 768px) {
  .game-gif-showcase {
    grid-template-columns: 1fr 1fr;
  }
  
  .version-title {
    font-size: 1.875rem;
  }
} 