/* modals_gameplay.css - Gameplay Overlays: Game Over, Unlock, Settings, and Pause */

/* Unlock Modal */
#unlock-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2600; display: flex; justify-content: center; align-items: center;
    backdrop-filter: blur(10px);
}
#unlock-content {
    background: linear-gradient(145deg, #1a1a1a, #050505);
    border: 3px solid #ffd700; border-radius: 30px 30px 10px 10px;
    padding: 20px; text-align: center; width: 90%; max-width: 350px; min-height: 200px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(255, 215, 0, 0.1);
    position: relative; animation: modalPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#unlock-content.enemy-theme { border-color: #9400d3; box-shadow: 0 0 40px rgba(148, 0, 211, 0.3), inset 0 0 20px rgba(148, 0, 211, 0.1); }
.unlock-title { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 900; letter-spacing: 3px; margin-bottom: 10px; text-transform: uppercase; }
.unlock-title.holy { color: #ffd700; text-shadow: 0 0 10px #ffd700; }
.unlock-title.evil { color: #9400d3; text-shadow: 0 0 10px #9400d3; }
#unlock-icon { font-size: 40px; margin: 10px 0; filter: drop-shadow(0 0 15px rgba(255,255,255,0.2)); display: block; }
#unlock-name { font-size: 18px; font-weight: bold; color: #fff; margin-bottom: 5px; letter-spacing: 1px; }
#unlock-desc { font-size: 11px; color: #aaa; font-style: italic; line-height: 1.3; padding: 0 15px; }
.unlock-hint { margin-top: 20px; font-size: 9px; color: #444; letter-spacing: 2px; text-transform: uppercase; }
@keyframes modalPop { 0% { transform: scale(0.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* Game Over Screen */
#game-over-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(40, 0, 0, 0.95) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: 3000; display: flex; justify-content: center; align-items: center;
}
#game-over-content { text-align: center; padding: 20px; width: 95%; max-width: 400px; }
#game-over-title { color: #ff0000; font-size: 28px; text-align: center; margin-bottom: 15px; text-shadow: 0 0 20px #f00; }
#game-over-msg { color: #dfdfdf; font-size: 11px; line-height: 1.5; font-style: italic; margin-bottom: 20px; padding: 0 20px; text-shadow: 0 0 8px rgba(255, 255, 255, 0.2), 2px 2px 4px #000; letter-spacing: 0.5px; }
#final-stats { background: rgba(139, 0, 0, 0.1); border-top: 1px solid rgba(255, 0, 0, 0.2); border-bottom: 1px solid rgba(255, 0, 0, 0.2); padding: 10px; margin-bottom: 20px; color: #ffd700; font-family: 'Cinzel', serif; font-size: 14px; font-weight: bold; letter-spacing: 1.5px; text-shadow: 0 0 8px rgba(255, 215, 0, 0.4); }
#final-stage { color: #fff; font-size: 18px; text-shadow: 0 0 10px #ff0000; margin-left: 8px; }
#retry-btn { background: linear-gradient(to bottom, #4a0000, #1a0000); color: #ff3333; border: 1px solid #8b0000; padding: 10px 25px; font-family: 'Cinzel', serif; font-size: 13px; font-weight: bold; letter-spacing: 1.5px; cursor: pointer; text-transform: uppercase; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 0 15px rgba(139, 0, 0, 0.3); position: relative; overflow: hidden; }
#retry-btn:hover { color: #fff; background: #8b0000; border-color: #ff0000; box-shadow: 0 0 25px rgba(255, 0, 0, 0.5), inset 0 0 8px rgba(255, 255, 255, 0.2); transform: scale(1.05); }

/* Settings Modal */
.settings-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; color: #ccc; font-size: 12px; }
.settings-status-text { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 900; color: #00e5ff; text-transform: uppercase; letter-spacing: 2px; margin: 10px 0; text-shadow: 0 0 10px rgba(0, 229, 255, 0.6); }
.settings-action-row { display: flex; gap: 10px; width: 100%; justify-content: center; box-sizing: content-box; }
.settings-action-btn { flex: 1; background: rgba(255, 255, 255, 0.05); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.3); padding: 10px 5px; border-radius: 4px; cursor: pointer; font-size: 10px; font-weight: bold; display: flex; align-items: center; justify-content: center; gap: 5px; transition: all 0.2s; }
.settings-action-btn:hover { background: rgba(255, 215, 0, 0.1); border-color: #ffd700; }
.settings-action-btn.danger { color: #ff4500; border-color: rgba(255, 69, 0, 0.3); }
.settings-action-btn.danger:hover { background: rgba(255, 69, 0, 0.1); border-color: #ff4500; }

/* Pause Overlay */
#pause-overlay { z-index: 2100; }
#pause-content { border-color: #00e5ff; }
#pause-header { color: #00e5ff; text-shadow: 0 0 10px #00e5ff; }
