body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

.achievement-modal {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    text-align: center;
    width: 300px;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.achievement-modal.show {
    transform: scale(1);
    opacity: 1;
}

.stat-card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    border: 1px solid #eee;
}

.stat-val {
    font-size: 24px;
    font-weight: bold;
    color: #409eff;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

.nm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #606266;
    outline: none;
    margin: 0;
    font-weight: 500;
    padding: 8px 15px;
    font-size: 12px;
    border-radius: 4px;
    transition: .1s;
}

.nm-btn-primary {
    color: #fff;
    background-color: #409eff;
    border-color: #409eff;
}

.nm-btn-primary:hover {
    background: #66b1ff;
    border-color: #66b1ff;
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    z-index: -1; /* Behind modal */
}