﻿.modal-container {
    display: flex;
    width: 600px;
    height: 434px;
    background: url(../images3/tishi.png) no-repeat;
    background-size: 100% 100%;
    animation: modalFadeIn 0.3s;
    flex-direction: column;
    justify-content: space-evenly;
    padding-top: 54px;
    box-sizing: border-box;
}

#modal {
    position: fixed;
    z-index: 9999999999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.close-modal {
    cursor: pointer;
    position: absolute;
    right: 1.5vw;
    top: 5.5vw;
}

.modal-header h3 {
    text-align: center;
    color: #fff;
    font-size: 47px;
}

.modal-body {
    padding: 0 10px;
    text-align: center;
    font-size: 24px;
    letter-spacing: 1px;
    color: #fff;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.modal-footer div {
    cursor: pointer;
    text-align: center;
    width: 30%;
    height: 60px;
    background-image: linear-gradient(90deg,
            rgba(23, 63, 158, 1) 0%,
            rgba(70, 80, 240, 1) 100%);
    border-radius: 30px;
    line-height: 60px;
    font-size: 30px;
    border: none;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 1);
}

/* 遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* 弹窗容器 */

/* 动画效果 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式适配 */
@media (max-width: 600px) {
    .modal-container {
        width: 95%;
    }
}