/* VOID GACHA · 自訂確認彈窗 */
.void-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 960;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.void-confirm-modal.hidden {
    display: none;
}

.void-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 2, 14, 0.84);
    backdrop-filter: blur(8px);
}

.void-confirm-panel {
    position: relative;
    z-index: 1;
    width: min(400px, 94vw);
    padding: 28px 22px 22px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid rgba(192, 132, 252, 0.55);
    background: linear-gradient(165deg, rgba(32, 12, 52, 0.98), rgba(8, 6, 22, 0.98));
    box-shadow:
        0 0 48px rgba(127, 0, 255, 0.35),
        inset 0 1px 0 rgba(255, 220, 255, 0.1);
}

.void-confirm-modal--error .void-confirm-panel {
    border-color: rgba(255, 90, 120, 0.55);
    box-shadow:
        0 0 48px rgba(255, 50, 90, 0.28),
        inset 0 1px 0 rgba(255, 200, 210, 0.1);
}

.void-confirm-modal--success .void-confirm-panel {
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow:
        0 0 52px rgba(127, 0, 255, 0.4),
        0 0 24px rgba(255, 200, 80, 0.2),
        inset 0 1px 0 rgba(255, 248, 220, 0.12);
}

.void-confirm-sigil {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid rgba(192, 132, 252, 0.5);
    background: radial-gradient(circle at 30% 25%, rgba(127, 0, 255, 0.35), rgba(12, 6, 28, 0.95));
    box-shadow: 0 0 18px rgba(127, 0, 255, 0.4);
}

.void-confirm-modal--error .void-confirm-sigil {
    border-color: rgba(255, 100, 130, 0.55);
    background: radial-gradient(circle at 30% 25%, rgba(255, 60, 90, 0.3), rgba(24, 6, 14, 0.95));
    box-shadow: 0 0 18px rgba(255, 60, 100, 0.35);
}

.void-confirm-modal--success .void-confirm-sigil {
    border-color: rgba(255, 215, 0, 0.55);
    background: radial-gradient(circle at 30% 25%, rgba(255, 200, 80, 0.28), rgba(20, 10, 36, 0.95));
    box-shadow: 0 0 20px rgba(255, 180, 60, 0.35);
}

.void-confirm-eyebrow {
    margin: 0 0 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: rgba(200, 160, 255, 0.85);
}

.void-confirm-title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 900;
    color: #f0e6ff;
}

.void-confirm-modal--success .void-confirm-title {
    color: #ffe8b8;
}

.void-confirm-modal--error .void-confirm-title {
    color: #ffaac8;
}

.void-confirm-message {
    margin: 0 0 20px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(240, 228, 255, 0.9);
}

.void-confirm-btn {
    min-width: 140px;
    padding: 12px 32px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #7f00ff 0%, #ff0055 55%, #ffd700 120%);
    box-shadow:
        0 4px 20px rgba(127, 0, 255, 0.45),
        0 0 16px rgba(255, 0, 85, 0.25);
    transition: transform 0.12s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.void-confirm-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow:
        0 6px 24px rgba(127, 0, 255, 0.55),
        0 0 20px rgba(255, 215, 0, 0.2);
}

.void-confirm-btn:active {
    transform: translateY(0);
}

.void-confirm-modal--error .void-confirm-btn {
    background: linear-gradient(135deg, #ff3366, #7f00ff);
}
