.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: modalFadeIn 200ms ease-out;
}

@keyframes modalFadeIn {
    from { background-color: rgba(0, 0, 0, 0); }
    to { background-color: rgba(0, 0, 0, 0.5); }
}

.modal-content {
    background: var(--color-bg);
    border-radius: 24px;
    padding: 30px 40px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    font-size: 28px;
    font-weight: bold;
    color: var(--color-text-dark);
    min-width: 300px;
    animation: modalPopIn 220ms ease-out;
}

@keyframes modalPopIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.modal-btn {
    background: var(--color-accent);
    color: var(--color-text-light);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.modal-btn:hover {
    background: var(--color-accent-hover);
}
