* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #fce7f3;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

p {
    font-family: 'Dancing Script', cursive;

}

.proposal-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-width: 28rem;
    height: 0%;
    width: 100%;
    text-align: center;
    position: relative;
    height: 38rem;  /* Increased height */

}

.heart-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

h1, h2 {
    color: #1f2937;
    font-size: 1.875rem;
    margin-bottom: 1rem;
    font-family: 'Dancing Script', cursive;
}

.proposal-image {
    width: 100%;
    height: 17rem;
    object-fit: fill;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

button {
    font-weight: bold;
    padding: 0.5rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
}

.yes-button {
    background-color: #ef4444;
    font-family: 'Dancing Script', cursive;

}

.yes-button:hover {
    background-color: #dc2626;
    transform: scale(1.05);
}

.no-button {
    background-color: #9ca3af;
    position: relative;
    font-family: 'Dancing Script', cursive;

}

.no-button:hover {
    background-color: #6b7280;
}

.success-message {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bouncing-heart {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.success-message h1 {
    color: #db2777;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.success-message p {
    color: #4b5563;
    font-size: 1.25rem;
}

.success-message img {
    width: 250px; /* Adjust size as needed */
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

#balloon-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.balloon {
    position: absolute;
    top: -10%;
    font-size: 30px; /* Adjust size */
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Full-screen overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Prompt box */
.prompt-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-in-out;
}

/* Buttons */
.prompt-box button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

#playMusicBtn {
    background-color: #e63946;
    color: white;
}

#skipMusicBtn {
    background-color: #6c757d;
    color: white;
}

.prompt-box button:hover {
    transform: scale(1.1);
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-text {
    opacity: 0;
    transition: opacity 1.5s ease-in;
}
