/* ===== 浮冰跳跃优化模块样式 ===== */

/* 方向箭头容器 */
.direction-arrows {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 50;
}

/* 单个方向箭头 */
.dir-arrow {
  position: absolute;
  font-size: 28px;
  color: rgba(90, 160, 208, 0.7);
  text-shadow: 0 0 10px rgba(255,255,255,0.8);
  animation: arrowPulse 1.5s ease-in-out infinite;
  transition: opacity 0.3s;
}

.dir-arrow.has-fish {
  color: rgba(255, 152, 0, 0.85);
}

.dir-arrow.near {
  color: rgba(76, 175, 80, 0.85);
  font-size: 32px;
}

@keyframes arrowPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* 小地图容器 */
.mini-map {
  position: absolute;
  top: 60px;
  right: 12px;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  border: 2px solid rgba(90, 160, 208, 0.6);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 60;
  overflow: hidden;
}

.mini-map canvas {
  width: 100%;
  height: 100%;
}

.mini-map-label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: rgba(42, 74, 106, 0.7);
  white-space: nowrap;
}

/* 操作提示气泡 */
.jump-tip-bubble {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  color: #2a4a6a;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 55;
  max-width: 80%;
  text-align: center;
  animation: tipFadeIn 0.3s ease-out;
}

@keyframes tipFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* 可跳浮冰高亮光环 */
.ice-highlight {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(76, 175, 80, 0.6);
  animation: highlightPulse 1s ease-in-out infinite;
  pointer-events: none;
}

@keyframes highlightPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* 新手引导遮罩 */
.jump-tutorial-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.jump-tutorial-box {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.jump-tutorial-title {
  font-size: 18px;
  font-weight: bold;
  color: #2a4a6a;
  margin-bottom: 12px;
}

.jump-tutorial-text {
  font-size: 14px;
  color: #6a8aaa;
  line-height: 1.6;
  margin-bottom: 16px;
}

.jump-tutorial-btn {
  background: linear-gradient(135deg, #5aa0d0, #3a7ab0);
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

/* 能量条优化 */
.jump-power-bar-optimized {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 180px;
  background: rgba(255,255,255,0.8);
  border-radius: 18px;
  border: 2px solid rgba(90,160,208,0.5);
  z-index: 55;
  overflow: hidden;
}

.power-fill-optimized {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(0deg, #4caf50, #8bc34a, #ffeb3b, #ff9800, #ff5722);
  transition: height 0.1s;
}

.power-label-optimized {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
