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

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;

    overflow-x: hidden;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #050008;

    color: white;
}


/* =========================
   BACKGROUND
========================= */

.background {
    position: fixed;

    inset: 0;

    z-index: -10;

    background:

        radial-gradient(
            circle at 20% 20%,
            rgba(255, 0, 150, .35),
            transparent 30%
        ),

        radial-gradient(
            circle at 80% 30%,
            rgba(120, 0, 255, .35),
            transparent 30%
        ),

        radial-gradient(
            circle at 50% 80%,
            rgba(0, 200, 255, .25),
            transparent 30%
        ),

        #050008;
}


/* =========================
   INTRO
========================= */

#intro {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 30px;
}


.intro-content {

    max-width: 1000px;

    animation: introAppear 2s ease;
}


.subtitle {

    font-size: 16px;

    letter-spacing: 6px;

    opacity: .8;

    margin-bottom: 30px;
}


h1 {

    font-size:
        clamp(60px, 12vw, 150px);

    line-height: .85;

    font-weight: 900;

    letter-spacing: 5px;

    text-shadow:

        0 0 10px white,

        0 0 30px #ff00aa,

        0 0 70px #8b00ff;
}


h1 span {

    display: block;

    background:

        linear-gradient(
            90deg,
            #ff3cac,
            #ffd700,
            #00e5ff,
            #ff3cac
        );

    background-size: 300%;

    -webkit-background-clip: text;

    color: transparent;

    animation:
        gradientMove 5s linear infinite;
}


.emoji {

    font-size: 55px;

    margin: 35px 0;

    animation:
        heartbeat 1.5s infinite;
}


.intro-message {

    font-size: 24px;

    opacity: .8;
}


button {

    margin-top: 40px;

    padding: 18px 35px;

    border: none;

    border-radius: 50px;

    cursor: pointer;

    color: white;

    font-size: 17px;

    font-weight: bold;

    background:

        linear-gradient(
            90deg,
            #ff0080,
            #7928ca,
            #00c6ff
        );

    box-shadow:

        0 0 20px #ff0080,

        0 0 60px rgba(120, 0, 255, .5);

    transition: .3s;
}


button:hover {

    transform:
        scale(1.08);

    box-shadow:

        0 0 30px #ff0080,

        0 0 100px #7928ca;
}


/* =========================
   PHOTOS
========================= */

#photoSection {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    padding: 40px;
}


.photo-wrapper {

    position: relative;

    width:
        min(85vw, 550px);

    padding: 8px;

    border-radius: 25px;

    background:

        linear-gradient(
            135deg,
            #ffffff,
            #ff00aa,
            #7b2cff,
            #00e5ff,
            #ffffff
        );

    background-size: 300%;

    animation:
        borderMove 5s linear infinite;

    box-shadow:

        0 0 30px #ff00aa,

        0 0 80px rgba(123, 44, 255, .8);
}


.photo-wrapper img {

    width: 100%;

    max-height: 70vh;

    object-fit: contain;

    display: block;

    border-radius: 18px;

    background: black;

    transition:
        opacity .8s,
        transform .8s;
}


.photo-glow {

    position: absolute;

    inset: -30px;

    z-index: -1;

    border-radius: 40px;

    background:

        radial-gradient(
            circle,
            rgba(255, 0, 150, .5),
            transparent 65%
        );

    filter: blur(25px);

    animation:
        glowPulse 2s infinite alternate;
}


#photoCaption {

    margin-top: 30px;

    font-size: 28px;

    text-align: center;

    text-shadow:

        0 0 10px #ff00aa,

        0 0 30px #7b2cff;
}


/* =========================
   FINAL MESSAGE
========================= */

#finalMessage {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 40px;
}


.cake {

    font-size: 110px;

    animation:
        heartbeat 1.3s infinite;
}


#finalMessage h2 {

    font-size:
        clamp(50px, 10vw, 120px);

    margin-top: 25px;

    text-shadow:

        0 0 15px white,

        0 0 40px #ff00aa,

        0 0 80px #7b2cff;
}


#finalMessage p {

    max-width: 750px;

    font-size: 23px;

    line-height: 1.6;

    margin-top: 30px;

    opacity: .9;
}


.final-emojis {

    font-size: 35px;

    margin-top: 40px;
}


/* =========================
   BALLOONS
========================= */

.balloon {

    position: fixed;

    bottom: -150px;

    width: 55px;

    height: 70px;

    border-radius: 50%;

    z-index: 2;

    animation:
        balloonFly linear forwards;
}


.balloon::after {

    content: "";

    position: absolute;

    width: 2px;

    height: 100px;

    left: 50%;

    top: 68px;

    background:
        rgba(255,255,255,.7);
}


.balloon::before {

    content: "";

    position: absolute;

    bottom: -7px;

    left: 50%;

    transform:
        translateX(-50%);

    border-left:
        6px solid transparent;

    border-right:
        6px solid transparent;

    border-top:
        12px solid white;
}


/* =========================
   PETALS
========================= */

.petal {

    position: fixed;

    top: -40px;

    width: 15px;

    height: 22px;

    border-radius:
        100% 0 100% 0;

    z-index: 5;

    animation:
        petalFall linear forwards;
}


/* =========================
   CONFETTI
========================= */

.confetti {

    position: fixed;

    width: 10px;

    height: 20px;

    z-index: 50;

    pointer-events: none;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes introAppear {

    from {

        opacity: 0;

        transform:
            scale(.7)
            translateY(50px);
    }

    to {

        opacity: 1;

        transform:
            scale(1)
            translateY(0);
    }
}


@keyframes gradientMove {

    from {
        background-position: 0%;
    }

    to {
        background-position: 300%;
    }
}


@keyframes heartbeat {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
    }
}


@keyframes balloonFly {

    from {

        transform:
            translateY(0)
            rotate(-10deg);
    }

    to {

        transform:
            translateY(-130vh)
            rotate(20deg);
    }
}


@keyframes petalFall {

    from {

        transform:
            translateY(0)
            rotate(0);
    }

    to {

        transform:
            translateY(120vh)
            rotate(720deg);
    }
}


@keyframes borderMove {

    from {
        background-position: 0%;
    }

    to {
        background-position: 300%;
    }
}


@keyframes glowPulse {

    from {
        opacity: .5;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1.1);
    }
}


/* Mobile */

@media(max-width:600px) {

    .subtitle {

        font-size: 11px;

        letter-spacing: 3px;
    }

    .emoji {

        font-size: 40px;
    }

    .intro-message {

        font-size: 18px;
    }

    button {

        font-size: 14px;

        padding: 15px 25px;
    }

    #photoCaption {

        font-size: 20px;
    }

}
