@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    color: azure;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0b0518;
    overflow: hidden;
    position: relative;
}

/* ---------- Animated aurora background ---------- */
.aurora {
    position: fixed;
    inset: -20%;
    z-index: -2;
    background:
        radial-gradient(40% 50% at 20% 30%, rgba(255, 77, 166, 0.55), transparent 70%),
        radial-gradient(40% 50% at 80% 25%, rgba(124, 77, 255, 0.55), transparent 70%),
        radial-gradient(45% 55% at 50% 90%, rgba(57, 198, 214, 0.45), transparent 70%),
        #0b0518;
    filter: blur(30px);
    animation: aurora-drift 18s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(4%, -3%) scale(1.1); }
    100% { transform: translate(-4%, 3%) scale(1.05); }
}

/* Twinkling stars */
.stars {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.6); }
    50%      { opacity: 0.9; transform: scale(1.2); }
}

/* Floating hearts rising from the bottom */
.floating-hearts {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-hearts .fh {
    position: absolute;
    bottom: -8vh;
    animation: rise linear infinite;
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(255, 77, 166, 0.6));
}

@keyframes rise {
    0%   { transform: translateY(0) rotate(-8deg) scale(0.8); opacity: 0; }
    10%  { opacity: 0.55; }
    90%  { opacity: 0.4; }
    100% { transform: translateY(-115vh) rotate(10deg) scale(1.15); opacity: 0; }
}

/* ---------- Content ---------- */
main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.greetings {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0.04em;
    display: flex;
    justify-content: center;
}

.greetings > span {
    display: inline-block;
    color: #fff;
    background: linear-gradient(180deg, #ffffff 30%, #ffd1ec 60%, #ff8fd4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow-letter 2.6s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.18s);
    transform-origin: 50% 100%;
}

@keyframes glow-letter {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(57, 198, 214, 0.9)) drop-shadow(0 0 34px rgba(57, 198, 214, 0.55));
        transform: translateY(0) scale(1);
    }
    25% {
        filter: drop-shadow(0 0 10px rgba(255, 77, 166, 0.9)) drop-shadow(0 0 34px rgba(255, 77, 166, 0.55));
        transform: translateY(-6px) scale(1.04);
    }
    60% {
        filter: drop-shadow(0 0 10px rgba(124, 77, 255, 0.95)) drop-shadow(0 0 34px rgba(124, 77, 255, 0.6));
        transform: translateY(0) scale(1);
    }
}

.description {
    font-family: "Great Vibes", cursive;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    margin: 28px 0 8px;
    background: linear-gradient(90deg, #ff9ad5, #b78cff, #7ee7f5, #ff9ad5);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite, fade-up 1.2s ease-out both;
}

@keyframes shimmer {
    to { background-position: 300% 0; }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- CTA button ---------- */
.cta-wrap {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fade-up 1.2s 0.4s ease-out both;
}

.btn {
    position: relative;
    border: none;
    width: 15em;
    height: 4em;
    border-radius: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: linear-gradient(120deg, #ff4fa3, #8b5cf6 45%, #22d3ee);
    background-size: 220% 100%;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: all 450ms ease-in-out;
    overflow: hidden;
    box-shadow: 0 10px 30px -8px rgba(139, 92, 246, 0.7);
    z-index: 1;
}

/* moving shine sweep */
.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    transition: left 700ms ease;
    z-index: 1;
}

.btn:hover::before { left: 120%; }

.btn:hover {
    background-position: 100% 0;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.15),
        0 0 60px 6px rgba(139, 92, 246, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -4px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(-3px) scale(1.03);
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.btn .text {
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.35em;
    text-indent: 0.35em;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 2;
}

.sparkle {
    width: 22px;
    height: 22px;
    fill: #fff;
    position: relative;
    z-index: 2;
    animation: sparkle-spin 3.5s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

@keyframes sparkle-spin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50%      { transform: rotate(180deg) scale(1.25); }
}

/* pulsing halo ring behind the button */
.pulse-ring {
    position: absolute;
    inset: -10px;
    border-radius: 3em;
    border: 2px solid rgba(255, 255, 255, 0.35);
    animation: pulse-ring 2.2s ease-out infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0%   { transform: scale(1); opacity: 0.9; }
    70%  { transform: scale(1.12); opacity: 0; }
    100% { opacity: 0; }
}

.hint {
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    animation: fade-up 1.2s 0.7s ease-out both;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 574px) {
    .greetings { font-size: clamp(2.6rem, 12vw, 4rem); }
    .description { margin: 20px 0 6px; }
    .btn { width: 13em; height: 3.6em; }
    .hint { font-size: 0.72rem; }
}