/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Dancing Script', cursive;
    overflow: hidden;
    color: #f9b3c2; /* Soft pink text */
}

h1 {
    font-family: 'Dancing Script', cursive;
}
p, button {
    font-family: 'Arial', sans-serif;
}

/* 9 Animated Fading Stripes */
.stripes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        #ff9bb3, #ffffff, #ff9bb3, #ffffff, #ff9bb3,
        #ffffff, #ff9bb3, #ffffff, #ff9bb3  /* 9 stripes */
    );
    background-size: 900% 100%;  /* 9 stripes = 900% */
    animation: stripesFade 8s ease infinite;
    z-index: -1;
}

@keyframes stripesFade {
    0%, 100% {
        background-position: 0% 0%;
        opacity: 1;
    }
    25% {
        opacity: 0.7;  /* Fade effect */
    }
    50% {
        background-position: 100% 0%;  /* Scroll right */
        opacity: 1;
    }
    75% {
        opacity: 0.7;  /* Fade effect */
    }
}

.greeting-box {
    position: relative;
    width: 420px;
    padding: 40px;
    background: #ffe4ec;  /* Very soft light pink */
    border-radius: 25px;
    box-shadow:
        0 10px 30px rgba(255, 182, 193, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.5);
    text-align: center;
    border: 2px solid #ffc0cb; /* light pink border */
    backdrop-filter: blur(5px);
    overflow: hidden;
    animation: fadeIn 1.5s ease-out;
}

.greeting-box h1 {
    color: #f48ca5;  /* Softer pink */
    margin-bottom: 20px;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
}

.greeting-box p {
    color: #c4778a;
    margin-bottom: 30px;
    font-size: 1.3rem;
    line-height: 1.6;
}


/* Button */
button {
    background: linear-gradient(145deg, #ffa6c9, #ff85b3);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1.3rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow:
        0 0 20px rgba(255, 182, 193, 0.6),
        0 5px 15px rgba(255, 182, 193, 0.3),
        inset 0 0 8px rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow:
            0 0 20px rgba(255, 182, 193, 0.6),
            0 5px 15px rgba(255, 182, 193, 0.3),
            inset 0 0 8px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow:
            0 0 30px rgba(255, 133, 179, 0.9),
            0 8px 25px rgba(255, 133, 179, 0.4),
            inset 0 0 12px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow:
            0 0 20px rgba(255, 182, 193, 0.6),
            0 5px 15px rgba(255, 182, 193, 0.3),
            inset 0 0 8px rgba(255, 255, 255, 0.3);
    }
}

button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(25deg);
    transition: all 0.6s;
    z-index: 0;
}

button:hover {
    transform: scale(1.05);
}

button:hover::after {
    left: 100%;
}


/* Real Emoji Corners */
.corner {
    position: absolute;
    font-size: 32px;  /* Larger emojis */
    filter:
        drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2))
        brightness(1.1);  /* Vibrant emojis */
    transition: all 0.3s;
}

.corner:hover {
    transform: scale(1.2) rotate(15deg);
}

.top-left { top: 15px; left: 15px; }
.top-right { top: 15px; right: 15px; }
.bottom-left { bottom: 15px; left: 15px; }
.bottom-right { bottom: 15px; right: 15px; }

#sparkle-container {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

.sparkle {
    position: absolute;
    font-size: 18px;
    opacity: 0.9;
    animation: floatSparkle 1.5s linear forwards;
    color: #fff5fb;
    filter:
        drop-shadow(0 0 5px #ffb6c1)
        drop-shadow(0 0 8px #ffc0cb);
}

@keyframes floatSparkle {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0.5);
        opacity: 0;
    }
}
