* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.message-box {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

h1 {
    color: #333;
    margin-bottom: 15px;
    font-size: 28px;
}

p {
    color: #666;
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.6;
}

.emoji-container {
    position: relative;
    margin: 20px 0;
    min-height: 120px;
}

.emoji {
    font-size: 80px;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 20px;
}

.emoji-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.big-emoji {
    font-size: 60px;
    transition: all 0.3s ease;
    opacity: 0.7;
    cursor: pointer;
}

.big-emoji:hover {
    transform: scale(1.2);
    opacity: 1;
}

.buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    outline: none;
}

.yes-btn {
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.yes-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.no-btn {
    background-color: #f44336;
    color: white;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.no-btn:hover {
    background-color: #e53935;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

.thank-you {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 20px;
}

.qr-code {
    margin: 25px auto;
    max-width: 200px;
}

.qr-code img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.small-text {
    font-size: 14px;
    color: #888;
}

.hidden {
    display: none;
}

/* 动画效果 */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

.bounce {
    animation: bounce 1s ease-in-out;
}

/* 响应式设计 */
@media (max-width: 600px) {
    body {
        align-items: flex-start;
        padding-top: 50px;
    }
    
    .container {
        padding: 15px;
        max-width: 100%;
    }
    
    .message-box, .thank-you {
        padding: 20px;
        width: 100%;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .emoji-container {
        min-height: 80px;
        margin: 15px 0;
    }
    
    .emoji {
        font-size: 60px;
        margin-bottom: 15px;
    }
    
    .emoji-group {
        gap: 8px;
    }
    
    .big-emoji {
        font-size: 40px;
    }
    
    .buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 16px;
        width: 80%;
        margin: 0 auto;
    }
    
    .qr-code {
        max-width: 180px;
    }
}

/* 小屏幕手机适配 */
@media (max-width: 380px) {
    body {
        padding-top: 30px;
    }
    
    .container {
        padding: 10px;
    }
    
    .message-box, .thank-you {
        padding: 15px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    p {
        font-size: 14px;
    }
    
    .emoji-container {
        min-height: 70px;
        margin: 10px 0;
    }
    
    .emoji {
        font-size: 50px;
        margin-bottom: 10px;
    }
    
    .emoji-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .big-emoji {
        font-size: 30px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        width: 90%;
    }
    
    .qr-code {
        max-width: 150px;
    }
}