/* ==========================
   A GOLDEN LEGACY
   Luxury Birthday Tribute
========================== */

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

body{
    font-family:Arial, sans-serif;
    background:#000;
    color:white;
}


/* HERO SECTION */

.hero{

    width:100%;
    height:100vh;
    position:relative;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    overflow:hidden;
}


/* BACKGROUND IMAGE */

.hero-image{

    position:absolute;

    width:100%;
    height:100%;

    object-fit:cover;

}


/* DARK OVERLAY */

.overlay{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.65);

}


/* CONTENT */

.hero-content{

    position:relative;

    z-index:2;

    padding:20px;

    animation:fadeIn 2s ease;

}


.hero-content h3{

    color:#D4AF37;

    letter-spacing:3px;

    font-size:20px;

    margin-bottom:20px;

}


.hero-content h1{

    font-family:Georgia, serif;

    font-size:70px;

    margin-bottom:20px;

    color:white;

}


.hero-content h2{

    color:#D4AF37;

    font-size:30px;

    margin-bottom:25px;

}


.hero-content p{

    font-size:22px;

    line-height:1.8;

    margin-bottom:35px;

    color:#eee;

}


/* BUTTON */

.btn{

    display:inline-block;

    padding:15px 40px;

    background:#D4AF37;

    color:#000;

    text-decoration:none;

    border-radius:50px;

    font-weight:bold;

    transition:0.3s;

}


.btn:hover{

    transform:scale(1.05);

    box-shadow:0 0 25px #D4AF37;

}


/* ANIMATION */

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(40px);

    }


    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* MOBILE DESIGN */

@media(max-width:768px){


.hero-content h1{

    font-size:42px;

}


.hero-content h3{

    font-size:15px;

}


.hero-content p{

    font-size:17px;

}


.hero-content h2{

    font-size:22px;

}


}

/* ==========================
   CINEMATIC LOADER
========================== */


#loader{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:#000;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    z-index:9999;

    transition:1s;

}


.loader-content h1{

    font-family:Georgia, serif;

    font-size:120px;

    color:#D4AF37;

    text-shadow:
    0 0 10px #D4AF37,
    0 0 30px #D4AF37;

}


.loader-content h2{

    color:white;

    font-size:35px;

    margin-top:10px;

}


.loader-content p{

    color:#ccc;

    letter-spacing:3px;

    margin-top:15px;

}


#loader.hide{

    opacity:0;

    visibility:hidden;

}

/* ==========================
   NAVIGATION BAR
========================== */


.navbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    padding:18px 5%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:rgba(0,0,0,0.45);

    backdrop-filter:blur(15px);

    z-index:1000;

}


.logo{

    font-family:Georgia,serif;

    font-size:32px;

    font-weight:bold;

    color:#D4AF37;

}


.nav-links{

    display:flex;

    gap:20px;

    list-style:none;

}


.nav-links a{

    color:white;

    text-decoration:none;

    font-size:14px;

    transition:.3s;

}


.nav-links a:hover{

    color:#D4AF37;

}


.menu-toggle{

    display:none;

    font-size:32px;

    color:#D4AF37;

    cursor:pointer;

}


/* MOBILE MENU */

@media(max-width:900px){


.menu-toggle{

    display:block;

}


.nav-links{

    position:absolute;

    top:75px;

    right:20px;

    width:220px;

    background:#111;

    padding:25px;

    border-radius:15px;

    flex-direction:column;

    display:none;

}


.nav-links.active{

    display:flex;

}


}

/* ==========================
   ABOUT DADDY SECTION
========================== */


.about{

    background:#111;

}


.about-content{

    display:flex;

    align-items:center;

    gap:50px;

}


.about-image img{

    width:350px;

    height:450px;

    object-fit:cover;

    border-radius:20px;

    border:3px solid #D4AF37;

}


.about-text{

    max-width:600px;

}


.about-text h2{

    font-family:Georgia,serif;

    color:#D4AF37;

    font-size:50px;

    margin-bottom:25px;

}


.about-text p{

    color:#ddd;

    font-size:18px;

    margin-bottom:15px;

}



.qualities{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    margin-top:60px;

}



.card{

    background:#1a1a1a;

    padding:25px;

    border-radius:15px;

    border:1px solid rgba(212,175,55,.3);

    text-align:center;

}


.card h3{

    color:#D4AF37;

    margin-bottom:15px;

}


.card p{

    color:#ccc;

}



/* MOBILE */

@media(max-width:900px){

.about-content{

    flex-direction:column;

    text-align:center;

}


.qualities{

    grid-template-columns:1fr;

}


.about-image img{

    width:280px;

    height:350px;

}

}

/* ==========================
   JOURNEY TIMELINE
========================== */


.journey{

    background:#000;

    text-align:center;

}


.journey h2{

    font-family:Georgia,serif;

    color:#D4AF37;

    font-size:50px;

    margin-bottom:20px;

}


.journey-intro{

    color:#ccc;

    max-width:700px;

    margin:auto;

}



.timeline{

    position:relative;

    max-width:900px;

    margin:60px auto;

}


.timeline::before{

    content:"";

    position:absolute;

    width:3px;

    background:#D4AF37;

    top:0;

    bottom:0;

    left:50%;

}



.timeline-item{

    width:50%;

    padding:20px 40px;

    position:relative;

}


.timeline-item:nth-child(odd){

    left:0;

    text-align:right;

}


.timeline-item:nth-child(even){

    left:50%;

    text-align:left;

}



.timeline-content{

    background:#161616;

    padding:25px;

    border-radius:15px;

    border:1px solid rgba(212,175,55,.3);

}



.timeline-content h3{

    color:#D4AF37;

    margin-bottom:10px;

}


.timeline-content p{

    color:#ddd;

}



/* MOBILE */

@media(max-width:768px){


.timeline::before{

    left:20px;

}


.timeline-item,
.timeline-item:nth-child(even),
.timeline-item:nth-child(odd){

    width:100%;

    left:0;

    padding-left:60px;

    text-align:left;

}


}

/* ==========================
   GALLERY SECTION
========================== */


.gallery{

    background:#111;

    text-align:center;

}


.gallery h2{

    font-family:Georgia,serif;

    font-size:50px;

    color:#D4AF37;

    margin-bottom:20px;

}


.gallery-intro{

    color:#ccc;

    margin-bottom:40px;

}



.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}



.gallery-item{

    overflow:hidden;

    border-radius:20px;

    border:2px solid rgba(212,175,55,.3);

}



.gallery-item img{

    width:100%;

    height:350px;

    object-fit:cover;

    transition:.5s;

}



.gallery-item:hover img{

    transform:scale(1.1);

}



.gallery-item:hover{

    box-shadow:0 0 30px rgba(212,175,55,.4);

}



/* MOBILE */

@media(max-width:900px){

.gallery-grid{

    grid-template-columns:1fr;

}


.gallery-item img{

    height:300px;

}

}

/* ==========================
   VIDEO SECTION
========================== */


.videos{

    background:#000;

    text-align:center;

}


.videos h2{

    font-family:Georgia,serif;

    color:#D4AF37;

    font-size:50px;

    margin-bottom:20px;

}


.video-intro{

    color:#ccc;

    margin-bottom:40px;

}



.video-container{

    max-width:900px;

    margin:auto;

    border-radius:20px;

    overflow:hidden;

    border:2px solid rgba(212,175,55,.4);

    box-shadow:0 0 30px rgba(212,175,55,.2);

}



.video-container video{

    width:100%;

    display:block;

}

/* ==========================
   LETTER SECTION
========================== */


.letter{

    background:#111;

    text-align:center;

}



.letter h2{

    font-family:Georgia,serif;

    color:#D4AF37;

    font-size:50px;

    margin-bottom:40px;

}



.letter-card{

    max-width:900px;

    margin:auto;

    background:#161616;

    padding:45px;

    border-radius:20px;

    border:1px solid rgba(212,175,55,.4);

    text-align:left;

    box-shadow:0 0 30px rgba(212,175,55,.15);

}



.letter-card p{

    color:#eee;

    font-size:18px;

    line-height:2;

    margin-bottom:20px;

}



.letter-card h3{

    color:#D4AF37;

    font-family:Georgia,serif;

    font-size:25px;

    margin-top:30px;

}



/* MOBILE */

@media(max-width:768px){

    .letter-card{

        padding:25px;

    }


    .letter h2{

        font-size:40px;

    }

}

/* ==========================
   PRAYER SECTION
========================== */


.prayer{

    background:#000;

    text-align:center;

    padding:100px 8%;

}



.prayer h2{

    font-family:Georgia,serif;

    color:#D4AF37;

    font-size:50px;

    margin-bottom:40px;

}



.prayer-card{

    max-width:850px;

    margin:auto;

    background:#111;

    padding:45px;

    border-radius:20px;

    border:1px solid rgba(212,175,55,.4);

}



.prayer-card p{

    color:#eee;

    font-size:20px;

    line-height:2;

    margin-bottom:20px;

    font-style:italic;

}



.prayer-card h3{

    color:#D4AF37;

    font-size:35px;

    margin-top:30px;

}


/* ==========================
   GRAND FINALE
========================== */


.finale{

    min-height:100vh;

    background:
    linear-gradient(
    rgba(0,0,0,.75),
    rgba(0,0,0,.9)
    );

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:60px 20px;

}



.finale-content h2{

    color:#D4AF37;

    font-family:Georgia,serif;

    font-size:60px;

    margin-bottom:30px;

}



.finale-content p{

    color:#eee;

    font-size:25px;

    margin:15px;

}



.finale-content h1{

    color:white;

    font-family:Georgia,serif;

    font-size:70px;

    margin:40px 0 20px;

}



.finale-content h3{

    color:#D4AF37;

    font-size:35px;

}



.love{

    margin-top:40px;

    color:#D4AF37 !important;

}


/* FOOTER */


footer{

    background:#000;

    text-align:center;

    padding:30px;

    color:#aaa;

}



footer p{

    margin:10px;

}



/* MOBILE */

@media(max-width:768px){

    .finale-content h2{

        font-size:45px;

    }


    .finale-content h1{

        font-size:45px;

    }


    .finale-content h3{

        font-size:25px;

    }


}

/* ==========================
   GOLD SPARKLES
========================== */


.sparkles{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    pointer-events:none;

    overflow:hidden;

    z-index:5;

}



.sparkles::before,
.sparkles::after{

    content:"✦";

    position:absolute;

    color:#D4AF37;

    font-size:20px;

    animation:sparkle 8s linear infinite;

}


.sparkles::before{

    left:20%;

    animation-delay:2s;

}



.sparkles::after{

    left:70%;

    animation-delay:5s;

}



@keyframes sparkle{


0%{

    transform:translateY(100vh) rotate(0deg);

    opacity:0;

}


20%{

    opacity:1;

}


100%{

    transform:translateY(-20vh) rotate(360deg);

    opacity:0;

}


}

section{

    animation:sectionReveal 1s ease;

}


@keyframes sectionReveal{

from{

    opacity:0;

    transform:translateY(40px);

}


to{

    opacity:1;

    transform:translateY(0);

}

}

/* ==========================
   MUSIC BUTTON
========================== */


#music-btn{

    position:fixed;

    bottom:30px;

    right:30px;

    width:60px;

    height:60px;

    border-radius:50%;

    border:none;

    background:#D4AF37;

    color:#000;

    font-size:25px;

    cursor:pointer;

    z-index:2000;

    box-shadow:0 0 20px rgba(212,175,55,.6);

    transition:.3s;

}


#music-btn:hover{

    transform:scale(1.1);

}

/* ==========================
   FULL SCREEN IMAGE VIEWER
========================== */


#lightbox{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.95);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:5000;

}


#lightbox img{

    max-width:90%;

    max-height:90%;

    border-radius:15px;

    border:3px solid #D4AF37;

}


#close{

    position:absolute;

    top:30px;

    right:40px;

    color:#D4AF37;

    font-size:50px;

    cursor:pointer;

}

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


#confetti-container{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    pointer-events:none;

    overflow:hidden;

    z-index:6000;

}



.confetti{

    position:absolute;

    width:10px;

    height:18px;

    background:#D4AF37;

    top:-20px;

    animation:fall 4s linear forwards;

}



@keyframes fall{

    0%{

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

        opacity:1;

    }


    100%{

        transform:translateY(100vh) rotate(720deg);

        opacity:0;

    }

}

/* ==========================
   3D MEMORY BOOK GALLERY
========================== */


.album{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

    margin-top:50px;

    perspective:1200px;

}



.photo-card{

    height:380px;

    cursor:pointer;

}



.photo-inner{

    position:relative;

    width:100%;

    height:100%;

    transform-style:preserve-3d;

    transition:transform 0.8s;

}



.photo-card:hover .photo-inner{

    transform:rotateY(180deg);

}



.photo-front,
.photo-back{

    position:absolute;

    width:100%;

    height:100%;

    backface-visibility:hidden;

    border-radius:20px;

    overflow:hidden;

    border:2px solid #D4AF37;

}



.photo-front img{

    width:100%;

    height:100%;

    object-fit:cover;

}



.photo-back{

    background:#111;

    display:flex;

    justify-content:center;

    align-items:center;

    transform:rotateY(180deg);

}



.photo-back p{

    color:#D4AF37;

    font-size:25px;

    font-family:Georgia,serif;

}


/* MOBILE */

@media(max-width:900px){

    .album{

        grid-template-columns:1fr;

    }

}

/* ==========================
   LOVE COUNTER
========================== */


.counter-section{

    background:#000;

    text-align:center;

}


.counter-section h2{

    color:#D4AF37;

    font-family:Georgia,serif;

    font-size:50px;

    margin-bottom:50px;

}



.counter-container{

    display:flex;

    justify-content:center;

    gap:30px;

    flex-wrap:wrap;

}



.counter-box{

    width:250px;

    padding:35px;

    background:#111;

    border-radius:20px;

    border:1px solid rgba(212,175,55,.4);

}



.counter-box h3{

    font-size:60px;

    color:#D4AF37;

    font-family:Georgia,serif;

}



.counter-box p{

    color:white;

    font-size:18px;

}

/* ==========================
   ACHIEVEMENTS & VALUES
========================== */

.values-section{

    background:#111;

    padding:100px 8%;

    text-align:center;

}

.values-section h2{

    color:#D4AF37;

    font-size:52px;

    font-family:Georgia,serif;

    margin-bottom:20px;

}

.values-intro{

    color:#ccc;

    max-width:700px;

    margin:0 auto 60px;

    font-size:18px;

    line-height:1.8;

}

.values-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.value-card{

    background:linear-gradient(145deg,#181818,#101010);

    border:1px solid rgba(212,175,55,.35);

    border-radius:20px;

    padding:35px 25px;

    transition:.5s;

    position:relative;

    overflow:hidden;

}

.value-card::before{

    content:"";

    position:absolute;

    top:0;
    left:-100%;

    width:100%;
    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(212,175,55,.25),
        transparent
    );

    transition:.8s;

}

.value-card:hover::before{

    left:100%;

}

.value-card:hover{

    transform:translateY(-12px);

    box-shadow:0 15px 40px rgba(212,175,55,.3);

}

.icon{

    font-size:48px;

    margin-bottom:20px;

}

.value-card h3{

    color:#D4AF37;

    font-size:28px;

    margin-bottom:15px;

    font-family:Georgia,serif;

}

.value-card p{

    color:#ddd;

    line-height:1.8;

    font-size:17px;

}

/* ==========================
   FAMILY MESSAGES
========================== */

.family-messages{

    background:#0b0b0b;

    padding:100px 8%;

    text-align:center;

}

.family-messages h2{

    color:#D4AF37;

    font-family:Georgia,serif;

    font-size:52px;

    margin-bottom:20px;

}

.messages-intro{

    color:#ccc;

    max-width:700px;

    margin:0 auto 60px;

    line-height:1.8;

}

.message-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.message-card{

    background:#161616;

    border-left:6px solid #D4AF37;

    padding:30px;

    border-radius:18px;

    text-align:left;

    transition:.4s;

    box-shadow:0 10px 25px rgba(0,0,0,.35);

}

.message-card:hover{

    transform:translateY(-10px) rotate(-1deg);

    box-shadow:0 15px 40px rgba(212,175,55,.25);

}

.message-card h3{

    color:#D4AF37;

    margin-bottom:15px;

    font-family:Georgia,serif;

}

.message-card p{

    color:#eee;

    line-height:1.9;

}

/* ==========================
   MOVIE CREDITS
========================== */

.credits{

    background:#000;

    height:100vh;

    overflow:hidden;

    position:relative;

}

.credits-scroll{

    position:absolute;

    width:100%;

    text-align:center;

    color:white;

    animation:movieCredits 35s linear infinite;

}

.credits h1{

    color:#D4AF37;

    font-size:60px;

    font-family:Georgia,serif;

}

.credits h2{

    color:#fff;

    margin:20px 0;

}

.credits h3{

    color:#D4AF37;

    margin-top:35px;

}

.credits p{

    color:#ddd;

    font-size:20px;

    line-height:2;

    max-width:700px;

    margin:auto;

}

@keyframes movieCredits{

    from{

        transform:translateY(100%);

    }

    to{

        transform:translateY(-120%);

    }

}

html{

    scroll-behavior:smooth;

}

body{

    -webkit-tap-highlight-color:transparent;

    overflow-x:hidden;

}

section{

    scroll-margin-top:90px;

}

button,
.btn,
.gallery-item,
.photo-card{

    transition:transform .3s ease;

}

button:active,
.btn:active,
.gallery-item:active,
.photo-card:active{

    transform:scale(.96);

}

.legacy-wall{

    background:linear-gradient(rgba(0,0,0,.85),rgba(0,0,0,.95));

    text-align:center;

    padding:120px 8%;

}

.legacy-wall h2{

    color:#D4AF37;

    font-size:55px;

    font-family:Georgia,serif;

}

.legacy-wall blockquote{

    color:#eee;

    font-size:28px;

    line-height:1.8;

    max-width:900px;

    margin:50px auto;

    font-style:italic;

}

.legacy-wall h3{

    color:#D4AF37;

    font-size:35px;

}

.legacy-wall p{

    color:#bbb;

    margin-top:15px;

}

.stars,
.stars2,
.stars3{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:0;
    background-repeat:repeat;
    animation:twinkle 8s linear infinite;
}

.stars{
    background-image:radial-gradient(#ffffff 1px, transparent 1px);
    background-size:70px 70px;
    opacity:.25;
}

.stars2{
    background-image:radial-gradient(#D4AF37 1.5px, transparent 1.5px);
    background-size:120px 120px;
    opacity:.2;
    animation-duration:12s;
}

.stars3{
    background-image:radial-gradient(#fff 2px, transparent 2px);
    background-size:180px 180px;
    opacity:.1;
    animation-duration:16s;
}

@keyframes twinkle{
    0%,100%{opacity:.15;}
    50%{opacity:.35;}
}

#progress-bar{

position:fixed;

top:0;
left:0;

height:5px;

width:0;

background:#D4AF37;

z-index:99999;

}

.quotes{

text-align:center;

padding:120px 10%;

}

.quotes blockquote{

font-size:30px;

color:#D4AF37;

margin:60px auto;

opacity:0;

transform:translateY(40px);

animation:quoteFade 8s infinite;

}

@keyframes quoteFade{

0%,100%{opacity:0;}

20%,80%{opacity:1;transform:translateY(0);}

}

.carousel{

display:flex;

overflow:hidden;

gap:20px;

scroll-behavior:smooth;

}

.carousel img{

width:350px;

height:420px;

object-fit:cover;

border-radius:20px;

flex-shrink:0;

}

#cursor{

position:fixed;

width:25px;

height:25px;

border-radius:50%;

background:#D4AF37;

pointer-events:none;

filter:blur(10px);

opacity:.6;

z-index:9999;

}

body.day{

background:linear-gradient(#f5efe2,#ffffff);

transition:2s;

}

body.night{

background:linear-gradient(#02040f,#111);

transition:2s;

}

body.day .navbar{

background:rgba(255,255,255,.75);

}

body.day .nav-links a{

color:#222;

}

body.night .nav-links a{

color:white;

}

/* Floating Share Button */

.share-menu{

    position:fixed;

    bottom:100px;

    right:25px;

    z-index:9999;

}

#shareBtn{

    display:flex;

    align-items:center;

    justify-content:center;

    width:60px;

    height:60px;

    border-radius:50%;

    background:#D4AF37;

    color:#000;

    text-decoration:none;

    font-size:18px;

    font-weight:bold;

    box-shadow:0 8px 20px rgba(212,175,55,.5);

    transition:.3s;

}

#shareBtn:hover{

    transform:scale(1.1);

}

#shareBtn:active{

    transform:scale(.95);

}

/* ==========================
   COUNTDOWN SECTION
========================== */

.countdown-section{

    padding:100px 8%;

    background:#111;

    text-align:center;

}

.countdown-section h2{

    color:#D4AF37;

    font-family:Georgia,serif;

    font-size:50px;

    margin-bottom:30px;

}

#countdown{

    display:inline-block;

    padding:25px 40px;

    font-size:40px;

    font-weight:bold;

    color:#fff;

    background:#1a1a1a;

    border:2px solid #D4AF37;

    border-radius:20px;

    box-shadow:0 0 30px rgba(212,175,55,.3);

    letter-spacing:2px;

}

/* Mobile */

@media(max-width:768px){

    #countdown{

        font-size:24px;

        padding:20px;

    }

}

/* FAMILY TREE */

.family-tree{

    background:#111;

    padding:120px 8%;

    text-align:center;

}

.family-tree h2{

    color:#D4AF37;

    font-size:50px;

}

.tree{

    margin-top:60px;

}

.member{

    display:inline-block;

    cursor:pointer;

    transition:.4s;

}

.member:hover{

    transform:translateY(-10px) scale(1.05);

}

.member img{

    width:170px;

    height:170px;

    border-radius:50%;

    border:4px solid #D4AF37;

    object-fit:cover;

}

.member h3{

    color:white;

    margin-top:15px;

}

.line{

    width:4px;

    height:80px;

    background:#D4AF37;

    margin:20px auto;

}

.children{

    display:flex;

    justify-content:center;

    gap:40px;

    margin-top:40px;

    flex-wrap:wrap;

}

/* POPUP */

#memberPopup{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    display:none;

    justify-content:center;

    align-items:center;

    background:rgba(0,0,0,.9);

    z-index:99999;

}

.popup-content{

    background:#111;

    width:90%;

    max-width:500px;

    padding:30px;

    border-radius:20px;

    text-align:center;

    border:2px solid #D4AF37;

}

.popup-content img{

    width:180px;

    height:180px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid #D4AF37;

}

.popup-content h2{

    color:#D4AF37;

    margin:20px 0;

}

.popup-content p{

    color:white;

    line-height:1.8;

}

#closePopup{

    float:right;

    font-size:35px;

    color:#D4AF37;

    cursor:pointer;

}

/* ===========================
   BIRTHDAY CAKE
=========================== */

.birthday-cake{

    padding:120px 8%;

    text-align:center;

    background:#0b0b0b;

    position:relative;

}

.birthday-cake h2{

    color:#D4AF37;

    font-size:55px;

    margin-bottom:20px;

}

.cake-text{

    color:white;

    font-size:20px;

    margin-bottom:50px;

}

.cake-container{

    position:relative;

    display:inline-block;

}

.cake-image{

    width:380px;

    max-width:95%;

    animation:floatCake 5s ease-in-out infinite;

    filter:drop-shadow(0 0 30px rgba(212,175,55,.6));

}

.cake-glow{

    position:absolute;

    left:50%;

    bottom:-20px;

    transform:translateX(-50%);

    width:250px;

    height:40px;

    background:rgba(212,175,55,.35);

    filter:blur(25px);

    border-radius:50%;

}

@keyframes floatCake{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-15px);

    }

}

.cake-btn{

    margin-top:50px;

    padding:18px 40px;

    border:none;

    border-radius:40px;

    background:#D4AF37;

    color:#111;

    font-size:20px;

    font-weight:bold;

    cursor:pointer;

    transition:.4s;

}

.cake-btn:hover{

    transform:scale(1.08);

    box-shadow:0 0 25px rgba(212,175,55,.6);

}

#birthdayMessage{

    margin-top:40px;

    color:#D4AF37;

    font-size:42px;

    opacity:0;

    transition:1s;

}

.balloon{

    position:fixed;

    bottom:-120px;

    width:45px;

    animation:flyUp 8s linear forwards;

    z-index:999;

}

@keyframes flyUp{

    from{

        transform:translateY(0);

    }

    to{

        transform:translateY(-120vh);

    }

}

.cake-container{
    position:relative;
    display:inline-block;
}

.cake-image{
    width:380px;
    max-width:100%;
}

.candles{
    position:absolute;
    top:110px;          /* Adjust if needed */
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:18px;
}

.candle{
    width:6px;
    height:30px;
    background:#ffffff;
    border-radius:3px;
    position:relative;
}

.flame{
    position:absolute;
    top:-12px;
    left:50%;
    transform:translateX(-50%);
    width:10px;
    height:14px;
    background:gold;
    border-radius:50% 50% 50% 50%;
    box-shadow:0 0 15px gold;
    animation:flicker .4s infinite alternate;
}

@keyframes flicker{
    from{
        transform:translateX(-50%) scale(1);
    }
    to{
        transform:translateX(-50%) scale(1.2);
    }
}

.value-card,
.message-card{

opacity:0;

transform:translateY(60px);

transition:all .8s ease;

}

.value-card.show,
.message-card.show{

opacity:1;

transform:translateY(0);

}

.day{

transition:1s;

}

.night{

transition:1s;

}

.balloon{

position:fixed;

bottom:-100px;

width:45px;

height:60px;

border-radius:50%;

z-index:9999;

animation:flyUp linear forwards;

}

.balloon::after{

content:"";

position:absolute;

width:2px;

height:45px;

background:white;

left:50%;

top:60px;

transform:translateX(-50%);

}

@keyframes flyUp{

0%{

transform:translateY(0);

opacity:1;

}

100%{

transform:translateY(-130vh);

opacity:0;

}

}

/* FIREWORKS */

.firework{

position:fixed;

width:10px;

height:10px;

border-radius:50%;

pointer-events:none;

animation:explode 1.2s ease-out forwards;

z-index:99999;

}

@keyframes explode{

0%{

transform:scale(.2);

opacity:1;

}

100%{

transform:scale(15);

opacity:0;

}

}


/* GIFT POPUP */

.gift-popup{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

display:none;

justify-content:center;

align-items:center;

background:rgba(0,0,0,.9);

z-index:999999;

}

.gift-box{

width:90%;

max-width:500px;

background:#111;

padding:40px;

border:2px solid #D4AF37;

border-radius:20px;

text-align:center;

color:white;

}

.gift-box h2{

color:#D4AF37;

margin-bottom:20px;

}

.gift-box button{

margin-top:30px;

padding:12px 25px;

background:#D4AF37;

border:none;

cursor:pointer;

border-radius:30px;

font-weight:bold;

}

.firework{

position:fixed;

width:12px;

height:12px;

border-radius:50%;

pointer-events:none;

animation:explode 1.8s ease-out forwards;

z-index:999999;

box-shadow:0 0 25px currentColor;

}

@keyframes explode{

0%{

transform:scale(.2);

opacity:1;

}

100%{

transform:scale(15);

opacity:0;

}

}