/* ===== Global Background ===== */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: linear-gradient(135deg, #ffdee9 0%, #b5fffc 100%);
    overflow: hidden;
    position: relative; /* allows blobs to position inside */
    font-family: "Segoe UI", sans-serif;
}

/* ===== Blurry Animated Blobs ===== */
.blob {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    animation: float 14s infinite ease-in-out;
    z-index: 1;
}

.blob1 {
    background: #ff9a9e;
    top: 8%;
    left: 10%;
}

.blob2 {
    background: #fad0c4;
    bottom: 10%;
    right: 10%;
    animation-duration: 17s;
}

.blob3 {
    background: #fbc2eb;
    top: 45%;
    right: 30%;
    animation-duration: 20s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-40px) scale(1.08); }
}

/* ===== Full Page Glass Card ===== */
.card-container {
    position: relative;
    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center */
    align-items: center;     /* horizontal center */

    text-align: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 2;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

/* ===== Gift Image Fade + Scale Animation ===== */
.gift-image {
    width: 340px;
    margin-bottom: 25px;
    border-radius: 20px;

    opacity: 0;
    transform: scale(0.85);
    transition:
        opacity 2.8s ease-out,
        transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gift-image.fade-in {
    opacity: 1;
    transform: scale(1);
}

/* ===== Text Styling ===== */
.title {
    font-size: 2.0rem;
    color: #333;
    margin: 0;
}

.subtitle {
    font-size: 1.25rem;
    color: #555;
    margin-top: 10px;
}

/* ===== Mobile Version ===== */
@media (max-width: 600px) {

    .card-container {
		height: 100%;
        padding: 0px;
    }

    .gift-image {
        width: 85%;
        margin-top: -40px;
    }

    .title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.05rem;
    }

    .blob {
        width: 230px;
        height: 230px;
        filter: blur(65px);
    }
}
