/* --- Global Styles --- */
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    background-color: #ffe6e6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden; 
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 90%;
    position: relative;
    z-index: 10;
}

.gif-container img {
    width: 200px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 20px;
}

h1 {
    color: #ff4d4d;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

#yesBtn {
    background-color: #2ecc71;
    color: white;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}
#yesBtn:hover {
    background-color: #27ae60;
    transform: scale(1.05);
}

#noBtn {
    background-color: #e74c3c;
    color: white;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}
#noBtn:hover {
    background-color: #c0392b;
}

#success-container {
    display: none;
    text-align: center;
}
#success-container h1 {
    font-size: 3rem;
    color: #ff6b81;
}

.heart {
    position: absolute;
    color: #ff9999;
    opacity: 0.6;
    animation: float 6s linear infinite;
    z-index: 1;
}
@keyframes float {
    0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}
/* --- Branding Footer Styles --- */
.footer {
    position: absolute; 
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 5;
    font-size: 12px;
    color: rgba(255, 77, 77, 0.6);
    pointer-events: auto;
    padding-bottom: 10px;
}

.footer a {
    color: #ff4d4d;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.footer a:hover {
    opacity: 1; /* 鼠标悬停时变清晰 */
    text-decoration: underline;
}

.footer p {
    margin: 2px 0 0 0;
    font-size: 10px;
    color: rgba(0, 0, 0, 0.3); /* 标语用更浅的灰色，显得高级 */
    letter-spacing: 1px;
}