@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    font-family: 'Nunito', sans-serif;
    overflow: hidden;
    position: relative;
}

.card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
    z-index: 10;
    animation: popIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.title {
    font-family: 'Fredoka One', cursive;
    color: #ff6b6b;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 107, 107, 0.2);
}

.image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(45deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    box-shadow: 0 8px 25px rgba(255, 154, 158, 0.4);
    position: relative;
    overflow: hidden;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-sizing: border-box;
}

.message {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Effervescent Bubbles Animation */
.bubbels-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: rise infinite ease-in;
}

.bubble:nth-child(1) { width: 40px; height: 40px; left: 10%; animation-duration: 8s; }
.bubble:nth-child(2) { width: 20px; height: 20px; left: 20%; animation-duration: 5s; animation-delay: 1s; }
.bubble:nth-child(3) { width: 50px; height: 50px; left: 35%; animation-duration: 7s; animation-delay: 2s; }
.bubble:nth-child(4) { width: 30px; height: 30px; left: 50%; animation-duration: 11s; animation-delay: 0s; }
.bubble:nth-child(5) { width: 35px; height: 35px; left: 55%; animation-duration: 6s; animation-delay: 1s; }
.bubble:nth-child(6) { width: 45px; height: 45px; left: 65%; animation-duration: 8s; animation-delay: 3s; }
.bubble:nth-child(7) { width: 25px; height: 25px; left: 75%; animation-duration: 12s; animation-delay: 2s; }
.bubble:nth-child(8) { width: 60px; height: 60px; left: 80%; animation-duration: 9s; animation-delay: 1s; }
.bubble:nth-child(9) { width: 15px; height: 15px; left: 90%; animation-duration: 5s; animation-delay: 4s; }
.bubble:nth-child(10) { width: 30px; height: 30px; left: 15%; animation-duration: 10s; animation-delay: 5s; }
.bubble:nth-child(11) { width: 20px; height: 20px; left: 25%; animation-duration: 6s; animation-delay: 6s; }
.bubble:nth-child(12) { width: 55px; height: 55px; left: 45%; animation-duration: 9s; animation-delay: 4s; }
.bubble:nth-child(13) { width: 28px; height: 28px; left: 85%; animation-duration: 7s; animation-delay: 7s; }
.bubble:nth-child(14) { width: 38px; height: 38px; left: 5%; animation-duration: 11s; animation-delay: 3s; }
.bubble:nth-child(15) { width: 42px; height: 42px; left: 95%; animation-duration: 8s; animation-delay: 8s; }

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateX(20px);
    }
    90% {
        opacity: 0.8;
    }
    100% {
        bottom: 1080px;
        transform: translateX(-20px);
        opacity: 0;
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
