body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
}

.container {
    background-color: white; /* Background color for the platform */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 40px; /* Padding inside the container */
    text-align: center; /* Center the text */
    max-width: 600px; /* Maximum width of the platform */
    margin: auto; /* Center the container */
    position: relative; /* Positioning context for absolute elements */
}

h1 {
    color: #ff6f61;
    font-size: 2.5em;
}

.button {
    padding: 20px 45px;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px;
    transition: background-color 0.3s;
}

.no {
    background-color: #ff4c4c;
    color: white;
}

.no:hover {
    background-color: #ff1f1f;
}

.yes {
    background-color: #4caf50;
    color: white;
}

.yes:hover {
    background-color: #388e3c;
}

.heart-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Prevent interaction with hearts */
}

.heart {
    font-size: 30px; /* Adjust the size of the heart emoji */
    opacity: 0.8;
    animation: fall linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

.modal-content {
    background-color: white;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 40%; /* Could be more or less, depending on screen size */
    text-align: center;
    position: relative;
}

.love-message {
    position: fixed;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    z-index: -1; /* Sit on top */
    transform: translate(-50%, -50%); /* Adjust for the size of the text */
    font-size: 10em; /* Initial font size */
    opacity: 0; /* Start invisible */
    transition: transform 5s ease, opacity 5s ease; /* Transition for growth and fade */
    background-color: rgba(255, 192, 203, 0.8); /* Light pink background */
    padding: 20px; /* Padding around the text */
    border-radius: 15px; /* Rounded corners */
    text-align: center; /* Center the text */
}