/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    padding: 30px;
    border-radius: 15px;
    width: 400px;
    max-width: 80%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.show .modal-content {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.modal.closing {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
}

.modal.closing .modal-content {
    transform: translate(-50%, -60%);
    opacity: 0;
}

.modal-content h2 {
    color: rgba(0, 120, 212, 0.9);
    margin-bottom: 20px;
    font-size: 24px;
}

.modal-content p {
    color: #333;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.close-btn {
    background-color: rgba(255, 255, 255, 0.5);
    color: #333;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.05);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    margin-top: -10px;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #000;
}
