/* 通用消息弹窗样式 */
.popup-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

.popup-message.show {
    opacity: 1;
    visibility: visible;
}

.popup-message-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.5s;
    position: relative;
    background: linear-gradient(135deg, #fff8f8, #ffffff);
    border: 2px solid #ff6b6b;
}

.popup-message.show .popup-message-content {
    transform: scale(1);
}

.popup-message-content h2 {
    color: #ff6b6b;
    margin-bottom: 20px;
    font-size: 28px;
    font-family: 'Dancing Script', cursive, 'SimSun', '宋体';
}

.message-text {
    font-size: 22px;
    margin: 25px 0;
    line-height: 1.5;
    color: #333;
    font-family: 'SimSun', '宋体', serif;
}

.message-signature {
    font-size: 16px;
    color: #888;
    font-style: italic;
    text-align: right;
    margin-top: 15px;
    margin-bottom: 10px;
}

.highlight {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 26px;
    display: inline-block;
    position: relative;
    animation: pulse 2s infinite;
}

.fancy-letter {
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    color: #ff6bc6;
    margin: 0 5px;
    animation: rotate 2s linear infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.popup-close-btn {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

.popup-close-btn:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
}

.popup-close-btn:active {
    transform: translateY(0);
}

/* 兼容旧版样式 */
.recovery-wish-popup { composes: popup-message; }
.recovery-wish-content { composes: popup-message-content; }
.wish-message { composes: message-text; }
.wish-close-btn { composes: popup-close-btn; }

