* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    min-width: 500px;
    position: relative;
}

.date {
    position: absolute;
    top: 15px;
    right: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 300;
}

.escape-counter {
    position: absolute;
    top: 15px;
    left: 20px;
    color: #ff6b9d;
    font-size: 14px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.escape-counter.highlight {
    background: rgba(255, 107, 157, 0.3);
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.4);
}

.title {
    color: #ff6b9d;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

.subtitle {
    color: #c44569;
    font-size: 1.8em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.emoji-container {
    margin: 40px 0;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.emoji {
    font-size: 80px;
    transition: all 0.3s ease;
    transform-origin: center;
    cursor: pointer;
    user-select: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.emoji:hover {
    transform: scale(1.1);
}

.buttons-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin: 30px 0;
    position: relative;
}

button {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.forgive-btn {
    background: linear-gradient(45deg, #56ab2f, #a8e6cf);
    color: white;
    flex: 1;
}

.forgive-btn:hover {
    background: linear-gradient(45deg, #4e9525, #96ddb8);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(86, 171, 47, 0.4);
}

.no-forgive-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a6f);
    color: white;
    flex: 1;
    transition: all 0.2s ease;
}

.no-forgive-btn:hover {
    background: linear-gradient(45deg, #ff5252, #e04960);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.no-forgive-btn.moving {
    position: fixed;
    z-index: 1000;
    animation: wiggle 0.3s ease;
}

@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

.message {
    margin-top: 30px;
    font-size: 24px;
    font-weight: bold;
    color: #2ecc71;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.message.show {
    opacity: 1;
    transform: translateY(0);
}

/* 心形动画效果 */
.heart-rain {
    position: fixed;
    top: -10px;
    color: #ff6b9d;
    font-size: 20px;
    animation: fall 3s linear forwards;
    pointer-events: none;
    z-index: 1000;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }
    
    .container {
        min-width: auto;
        width: 95%;
        max-width: 400px;
        padding: 25px 15px;
        margin: 0 auto;
    }
    
    .title {
        font-size: 1.8em;
    }
    
    .subtitle {
        font-size: 1.3em;
    }
    
    .emoji {
        font-size: 50px;
    }
    
    .emoji-container {
        height: 80px;
        margin: 25px 0;
    }
    
    .buttons-container {
        flex-direction: column;
        gap: 15px;
    }
    
    button {
        font-size: 16px;
        padding: 15px 25px;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .date {
        font-size: 12px;
        top: 10px;
        right: 15px;
    }
    
    /* 移动端的不原谅按钮样式调整 */
    .no-forgive-btn.moving {
        width: auto;
        max-width: 150px;
        padding: 12px 20px;
    }
}

/* 特殊emoji状态 */
.emoji.very-happy {
    animation: bounce 0.6s ease;
}

.emoji.sad {
    animation: shake 0.6s ease;
}

.emoji.very-sad {
    animation: cry 1s ease;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    80% {
        transform: translateY(-10px);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes cry {
    0% { transform: scale(1); }
    50% { transform: scale(0.95) rotateZ(-2deg); }
    100% { transform: scale(1); }
} 