body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #ff758c, #ff7eb3);
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

h1, h2 {
    font-family: 'Courier New', Courier, monospace;
}

section {
    padding: 30px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* Floating hearts container covering entire page */
.heart-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000; /* Keep hearts on top of everything */
    pointer-events: none; /* Prevent interference with other elements */
}

/* Floating heart animation */
.heart {
    position: absolute;
    color: red;
    font-size: 20px;
    opacity: 0.8;
    animation: floatHearts linear infinite;
}

@keyframes floatHearts {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1.2);
        opacity: 0;
    }
}


button {
    background: #ff4b5c;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

button:hover {
    background: #ff2e4c;
}

#gift-video {
    transform: rotate(270deg); /* Correct property for rotation */
}

#starry-sky {
    width: 100%;
    height: 300px;
    background: black;
    display: block;
}
/* Rock Paper Scissors Game */
.rock-paper-scissors {
    text-align: center;
    margin: 20px;
}

.choice-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.choice-buttons button {
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.choice-buttons button:hover {
    background-color: #ff66b2;
    color: white;
}

.hands {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 50px;
    margin-top: 20px;
    transition: transform 0.5s ease-in-out;
}

.animate-hands {
    transform: scale(1.2);
}

.result {
    font-size: 24px;
    margin-top: 15px;
    font-weight: bold;
}

#celebration {
    position: relative;
    width: 100%;
    height: 100px;
    margin-top: 10px;
}

.heart {
    position: absolute;
    font-size: 20px;
    color: red;
    animation: floatHeart 1.5s ease-out forwards;
}

@keyframes floatHeart {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-50px);
        opacity: 0;
    }
}

.journey-img{
    width: 300px;
    height: 300px;
    border-radius: 5px;
    border: lightpink;
}
.favorite-moment-img{
    width: 300px;
}
ul li{
    text-align: left;
}

.screenshots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
}

.journey-img {
    width: 90%; /* Adjust width for mobile */
    max-width: 250px;
    height: auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Alternate slide effects */
.journey-img:nth-child(even) {
    transform: translateX(-50px);
}

.journey-img:nth-child(odd) {
    transform: translateX(50px);
}

/* Animation on scroll */
.reveal {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Hover effect (only for large screens) */
@media (min-width: 768px) {
    .journey-img:hover {
        transform: scale(1.1);
        transition: transform 0.3s ease-in-out;
    }
}

.favorite-moment-img {
    width: 90%;
    max-width: 300px;
    height: auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Animation when revealed */
.reveal {
    opacity: 1;
    transform: translateY(0);
}


#startHeartAnimation {
    padding: 10px 20px;
    font-size: 16px;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}
