/* =====================================================================
   fishing.css —— 钓鱼全屏弹窗（模块 4/5）
   “别有洞天”：点青铜门，镜头推进一个泛着幽蓝水光的独立全屏弹窗。
   三层错峰涟漪（纯 CSS）+ 浮标咬钩下沉 + 战利品 Toast。改自 upload-3.html。
   ===================================================================== */
.waterway-modal {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(8, 14, 24, 0.94); backdrop-filter: blur(16px);
  display: none; flex-direction: column; padding: 24px 20px;
  animation: modal-fade-in 0.3s var(--ease-out);
}
.waterway-modal.active { display: flex; }
@keyframes modal-fade-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: scale(1); } }
.modal-top-bar { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.sub-latin { font-size: 0.7rem; color: var(--cyan); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 2px; }
.main-title { font-size: 1.25rem; font-weight: 500; color: #fff; letter-spacing: 0.5px; }
.btn-exit {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2);
  color: var(--text); padding: 6px 14px; border-radius: 20px; font-size: 0.75rem;
  cursor: pointer; transition: 0.2s;
}
.btn-exit:active { background: rgba(255,255,255,0.2); color: #fff; }
/* 暗河水脉主视窗：幽蓝色径向渐变，深邃水潭感（资产插槽：可换一张水面图） */
.lake-view-card {
  flex: 1; border-radius: var(--radius); border: 1px solid rgba(126,200,255,0.25);
  background: radial-gradient(circle at 50% 60%, #0d2238 0%, #050e18 65%, #02060b 100%);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.85);
}
/* 三层错峰同心圆水纹，持续扩散 */
.ripple-ring { position: absolute; border-radius: 50%; border: 1px solid var(--cyan); pointer-events: none; opacity: 0; }
.r1 { width: 140px; height: 140px; animation: wave-pulse 3.6s infinite linear; }
.r2 { width: 140px; height: 140px; animation: wave-pulse 3.6s infinite linear 1.2s; }
.r3 { width: 140px; height: 140px; animation: wave-pulse 3.6s infinite linear 2.4s; }
@keyframes wave-pulse { 0% { transform: scale(0.3); opacity: 0.8; } 50% { opacity: 0.4; } 100% { transform: scale(2.4); opacity: 0; } }
/* 水面浮标（微动）与咬钩下沉 */
.fishing-bobber {
  width: 14px; height: 14px; border-radius: 50%;
  background: #ff4d6d; border: 2px solid #fff;
  box-shadow: 0 0 15px rgba(255,77,109,0.8);
  position: relative; z-index: 5;
  animation: bobber-float 2.5s infinite ease-in-out;
}
@keyframes bobber-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.bobber-dip { animation: bobber-bite 0.5s ease-in-out !important; }
@keyframes bobber-bite {
  0% { transform: translateY(0); }
  30% { transform: translateY(18px) scale(0.8); }
  60% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
.lake-ambient-text { position: absolute; bottom: 18px; font-size: 0.75rem; color: #5c7899; letter-spacing: 1px; pointer-events: none; }
/* 底部抛竿按键 */
.btn-cast {
  margin-top: 18px; height: 50px; border-radius: 12px;
  background: rgba(126,200,255,0.08); border: 1.5px solid var(--cyan);
  color: var(--cyan); font-size: 0.88rem; font-weight: 500;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.5); transition: all 0.2s;
}
.btn-cast:active { background: var(--cyan); color: #050a12; transform: scale(0.98); }
.btn-cast:disabled { opacity: 0.5; pointer-events: none; }
/* 钓起战利品 Toast */
.loot-toast {
  position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%) scale(0.8);
  background: #0f1826; border: 1px solid var(--gold); border-radius: 12px;
  padding: 16px 20px; color: #fff; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8); z-index: 20;
  opacity: 0; pointer-events: none; transition: all 0.25s var(--ease-spring);
}
.loot-toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
