/* ========== RESET PROGRESS MODAL ========== */
/* Modal for resetting all player progress */

.reset-progress-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.reset-progress-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.reset-progress-dialog {
    position: relative;
    z-index: 1;
    width: min(90vw, 420px);
    background: linear-gradient(180deg, #1a0f0f 0%, #1f1111 100%);
    border: 2px solid #ff4444;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 0 25px rgba(255, 68, 68, 0.4);
}

.reset-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.reset-progress-header h3 {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: #ff4444;
    text-shadow: 2px 2px 0 #000;
}

.reset-progress-close {
    background: transparent;
    border: 2px solid #ff4444;
    color: #ff4444;
    font-weight: 700;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    box-shadow: 3px 3px 0 #000;
    transition: all 0.2s ease;
}

.reset-progress-close:hover {
    background: rgba(255, 68, 68, 0.2);
}

.reset-progress-warning {
    font-family: 'Rajdhani', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffcc00;
    margin: 0 0 12px 0;
    text-shadow: 1px 1px 0 #000;
}

.reset-progress-list {
    font-family: 'Rajdhani', monospace;
    color: #ffa0a0;
    margin: 0 0 15px 20px;
    padding: 0;
    line-height: 1.8;
    text-shadow: 1px 1px 0 #000;
}

.reset-progress-list li {
    margin-bottom: 4px;
}

.reset-progress-confirm-text {
    font-family: 'Rajdhani', monospace;
    font-weight: 700;
    font-size: 1rem;
    color: #ff6666;
    margin: 0 0 20px 0;
    text-align: center;
    text-shadow: 1px 1px 0 #000;
}

.reset-progress-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-danger {
    padding: 12px 24px;
    font-size: 1.1rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(135deg, #ff4444 0%, #cc2222 100%);
    border: 3px solid #ff6666;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #000, 0 0 10px rgba(255, 68, 68, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    user-select: none;
}

.btn-danger:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000, 0 0 16px rgba(255, 68, 68, 0.6);
    background: linear-gradient(135deg, #ff5555 0%, #dd3333 100%);
}

.btn-danger:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 #000;
}

/* Make the logo clickable in postgame stats */
.share-card-logo.clickable {
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.share-card-logo.clickable:hover {
    filter: drop-shadow(0 0 12px rgba(255, 204, 0, 0.8)) brightness(1.1);
    transform: scale(1.05);
}

.share-card-logo.clickable:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .reset-progress-dialog {
        width: 92vw;
        padding: 16px;
    }

    .reset-progress-actions {
        flex-direction: column;
    }

    .reset-progress-actions button {
        width: 100%;
    }
}
