/* modals_core.css - Global Overlay and Common Modal Components */

.overlay-base {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex; justify-content: center; align-items: center;
    backdrop-filter: blur(15px);
    animation: overlayFadeIn 0.2s ease-out forwards;
    z-index: 2000;
}

@keyframes overlayFadeIn {
    from { opacity: 0; transform: scale(1.05); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content-base {
    background: linear-gradient(145deg, #1a1a1a, #050505);
    border: 3px solid #ffd700;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9), inset 0 0 15px rgba(255, 215, 0, 0.1);
}

.modal-header-base {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.modal-close-btn {
    margin-top: 15px; padding: 8px 20px;
    background: #222; color: #fff; border: 1px solid #444; border-radius: 4px;
    cursor: pointer; font-size: 11px; transition: all 0.2s;
}

/* Confirmation Styles (Sacrifice, Quit) */
#sacrifice-modal { z-index: 2500; }
#sacrifice-content {
    width: 90%; max-width: 350px; padding: 20px; text-align: center; position: relative;
    background: linear-gradient(145deg, #1a0000, #0a0a0a);
    border: 3px solid #800; border-radius: 20px 20px 8px 8px;
    box-shadow: 0 0 40px rgba(139, 0, 0, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.8);
}
#sacrifice-content::before {
    content: "💀 FORBIDDEN RITUAL 💀";
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: #000; padding: 3px 12px; color: #f00;
    font-family: 'Cinzel', serif; font-size: 10px;
    border: 1px solid #800; border-radius: 4px; letter-spacing: 1.5px;
    white-space: nowrap;
}
#sacrifice-header { font-size: 16px; color: #ff1744; font-weight: bold; margin-bottom: 10px; text-shadow: 0 0 10px #f00; text-transform: uppercase; }
#sacrifice-body { font-size: 11px; color: #ccc; line-height: 1.4; margin-bottom: 15px; }
#sacrifice-footer { display: flex; gap: 10px; justify-content: center; }
#sacrifice-confirm-btn, #sacrifice-cancel-btn { padding: 6px 15px; font-size: 10px; font-weight: bold; cursor: pointer; transition: all 0.3s; border-radius: 4px; }
#sacrifice-confirm-btn { background: linear-gradient(to bottom, #800, #300); color: #fff; border: 1px solid #f00; }
#sacrifice-confirm-btn:hover { background: #f00; box-shadow: 0 0 20px rgba(255, 0, 0, 0.6); transform: scale(1.05); }
#sacrifice-cancel-btn { background: #222; color: #aaa; border: 1px solid #444; }
#sacrifice-cancel-btn:hover { background: #333; color: #fff; border-color: #888; transform: scale(1.05); }

#quit-content { border-color: #ff4500; }
#quit-header { color: #ff4500; text-shadow: 0 0 10px #ff4500; }
