* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    width: 400px;
    z-index: 10;
}

.title {
    font-family: 'Great Vibes', cursive;
    color: #d6336c;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.timer {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.cute-gif {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.music-control {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.music-btn {
    background: white;
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-height: 150px;
    position: relative;
    /* Context for absolute positioning if needed */
}

.btn {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.yes-btn {
    background-color: #2ecc71;
    color: white;
    font-weight: bold;
}

.yes-btn:hover {
    background-color: #27ae60;
    transform: scale(1.05);
}

.no-btn {
    background-color: #e74c3c;
    color: white;
}

.no-btn:hover {
    background-color: #c0392b;
}

/* Success Message Styles */
.success-container {
    animation: popIn 0.5s ease;
}

.success-title {
    font-family: 'Great Vibes', cursive;
    color: #d6336c;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Floating Hearts Background */
.heart {
    position: absolute;
    bottom: -100px;
    color: #ff2d55;
    opacity: 0.6;
    animation: floatUp 10s linear infinite;
    z-index: 1;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-110vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (min-width: 600px) {
    .buttons {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        /* Align top so growth doesn't shift everything weirdly if row */
    }
}