* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #ffd6e7, #ffeef5);
    min-height: 100vh;
    overflow: hidden;
}


/* Each page */

.page {
    display: none;

    width: 100%;
    height: 100vh;

    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 20px;
}

.page.active {
    display: flex;
}


/* Main card */

.card {
    width: 90%;
    max-width: 500px;

    padding: 40px 25px;

    background: rgba(255, 255, 255, 0.8);

    border-radius: 30px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);

    animation: appear 1s ease;
}


/* Animation */

@keyframes appear {

    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Headings */

h1 {
    color: #e91e63;

    font-size: 35px;

    margin: 15px 0;
}

h2 {
    color: #e91e63;

    margin: 20px 0;
}

p {
    color: #555;

    font-size: 18px;

    line-height: 1.6;

    margin: 10px 0;
}


/* Teddy */

.teddy {
    font-size: 80px;

    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}


/* Heart */

.big-heart {
    font-size: 90px;

    animation: heartbeat 1s infinite;
}

@keyframes heartbeat {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}


/* Input */

input {
    width: 80%;

    padding: 14px;

    margin: 20px 0;

    border: 2px solid #ff8bb5;

    border-radius: 25px;

    outline: none;

    font-size: 16px;

    text-align: center;
}


/* Buttons */

button {
    border: none;

    padding: 14px 25px;

    margin: 10px;

    border-radius: 25px;

    background: #ff4f91;

    color: white;

    font-size: 16px;

    cursor: pointer;

    transition: 0.3s;
}

button:hover {
    background: #e91e63;

    transform: scale(1.08);
}


/* YES NO */

.buttons {
    margin-top: 20px;
}


/* Gifts */

.gifts {
    display: flex;

    justify-content: center;

    gap: 20px;

    margin: 30px 0;
}

.gift {
    width: 100px;
    height: 120px;

    background: #ff8bb5;

    border-radius: 20px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    font-size: 55px;

    cursor: pointer;

    transition: 0.3s;
}

.gift:hover {
    transform: translateY(-10px) rotate(3deg);

    background: #ff6fa2;
}

.gift span {
    font-size: 14px;

    color: white;

    margin-top: 5px;
}


/* Gift message */

#giftMessage {
    min-height: 50px;

    color: #e91e63;

    font-size: 18px;

    font-weight: bold;

    margin: 15px;
}


/* Final page */

.couple {
    font-size: 80px;
}

.final {
    background: rgba(255, 255, 255, 0.9);
}

.signature {
    color: #e91e63;

    font-size: 20px;

    font-weight: bold;

    margin-top: 20px;
}


/* Floating hearts */

.heart {
    position: fixed;

    bottom: -30px;

    font-size: 25px;

    animation: floatHeart 5s linear forwards;

    pointer-events: none;
}

@keyframes floatHeart {

    0% {
        transform: translateY(0) rotate(0deg);

        opacity: 1;
    }

    100% {
        transform: translateY(-110vh) rotate(360deg);

        opacity: 0;
    }
}


/* Wrong password */

#wrong {
    color: red;

    font-size: 14px;
}


/* Mobile */

@media (max-width: 600px) {

    h1 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    .gifts {
        gap: 8px;
    }

    .gift {
        width: 85px;
        height: 105px;

        font-size: 45px;
    }

}