/* 弹窗蒙层 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

/* 弹窗内容 */
.popup-content {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    /*max-width: 376px;*/
    max-width: 500px;
    width: 90%;
    animation: slideUp 0.5s ease-out;
}

.mclose{
    text-align: right;
}

/* 标题样式 */
.popup-title {
    font-size: 25px;
    /*font-size: 28px;*/
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 倒计时容器 */
.countdown-container {
    display: flex;
    justify-content: space-around;
    margin: 25px 0;
}

/* 时间单位样式 */
.time-unit {
    background-color: rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 15px 10px;
    min-width: 80px;
    backdrop-filter: blur(5px);
}

.time-value {
    font-size: 42px;
    font-weight: 800;
    margin: 5px 0;
    display: inline-block;
    min-width: 60px;
}

.time-label {
    font-size: 16px;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* 按钮样式 */
.action-buttons {
    margin-top: 25px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 10px;
    font-size: 16px;
}

.btn-primary {
    background-color: white;
    color: #6e8efb;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media screen and (max-width: 750px) {
    .popup-content {
        width: 88%;
        padding: 20px 3%;
    }
    .mclose img{
        width: 15px;
    }
    .popup-title {
        font-size: 21px;
        margin-bottom: 6px;
    }
    .countdown-container {
        margin: 15px 0;
    }
    .time-unit {
        border-radius: 6px;
        padding: 10px;
        min-width: 60px;
    }
    .time-value {
        font-size: 30px;
    }
    .btn {
        padding: 6px 30px;
    }
}