body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f9e7f7;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Love-themed background */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f9e7f7; /* Soft pink background */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* Falling hearts animation */
@keyframes fall {
    0% {
        transform: translateY(-100vh);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 29.6"><path d="M23.6 2c-3.3 0-6 2.7-6 6 0 3.3-2.7 6-6 6-3.3 0-6-2.7-6-6 0-3.3 2.7-6 6-6 3.3 0 6-2.7 6-6z" fill="%23FF6B81"/></svg>') no-repeat center;
    background-size: cover;
    animation: fall linear infinite;
    pointer-events: none;
}

/* Randomize heart positions and speeds */
.heart:nth-child(1) {
    left: 10%;
    animation-duration: 5s;
}
.heart:nth-child(2) {
    left: 25%;
    animation-duration: 7s;
}
.heart:nth-child(3) {
    left: 40%;
    animation-duration: 6s;
}
.heart:nth-child(4) {
    left: 55%;
    animation-duration: 8s;
}
.heart:nth-child(5) {
    left: 70%;
    animation-duration: 6.5s;
}
.heart:nth-child(6) {
    left: 85%;
    animation-duration: 5.5s;
}
/* Gradient background */
body {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4); /* Pink gradient */
}

/* Button styling */
button {
    padding: 10px 20px;
    background-color: #ff6b81; /* Soft pink */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #ff4757; /* Brighter pink */
}

/* Video container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin: 20px 0;
    overflow: hidden;
    border: 2px solid #ff6b81; /* Soft pink border */
    border-radius: 10px;
}

/* Pulsating heart animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-heart {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 29.6"><path d="M23.6 2c-3.3 0-6 2.7-6 6 0 3.3-2.7 6-6 6-3.3 0-6-2.7-6-6 0-3.3 2.7-6 6-6 3.3 0 6-2.7 6-6z" fill="%23FF6B81"/></svg>') no-repeat center;
    background-size: cover;
    animation: pulse 1.5s infinite;
}
/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); /* Moves the image slightly upward */
    }
}
/* Video container styling */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin: 20px 0;
    overflow: hidden;
    border: 2px solid #ff6b81; /* Soft pink border */
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video container styling */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin: 20px 0;
    overflow: hidden;
    border: 2px solid #ff6b81; /* Soft pink border */
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gift-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 10px; /* Optional: Adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Adds a shadow effect */
    animation: float 3s ease-in-out infinite; /* Apply the floating animation */
}

.gift-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

button {
    padding: 10px 20px;
    background-color: #ff6b81;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #ff4757;
}