*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;

    background:linear-gradient(
        -45deg,
        #ffd1dc,
        #ffe4ec,
        #fff0f5,
        #ffd6e8
    );

    background-size:400% 400%;
    animation:gradientBG 15s ease infinite;
}

.container{

     width:650px;

    margin:120px auto;

    text-align:center;

    padding:60px;

    border-radius:30px;

    background:rgba(255,255,255,.22);

    backdrop-filter:blur(25px);

    border:1px solid rgba(255,255,255,.35);

    box-shadow:0 25px 60px rgba(255,105,180,.18);
}

h1{

   font-family:'Great Vibes',cursive;

    font-size:72px;

    color:#ff4f8b;

    margin-bottom:25px;

    text-shadow:0 5px 18px rgba(255,79,139,.18);
}

p{

    font-size:22px;

    line-height:1.8;

    color:#555;

    margin-bottom:40px;
}

button{

    padding:16px 40px;

    border:none;

    border-radius:50px;

    cursor:pointer;

    background:#ff4f8b;

    color:white;

    font-size:18px;

    transition:.3s;
}

button:hover{

    transform:scale(1.08);

    background:#ff2f73;
}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);
    }

    to{

        opacity:1;

        transform:translateY(0);
    }
}
/* Loading Screen */

#loader{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:linear-gradient(135deg,#ffd6e7,#ffeaf4,#fff0f6);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    z-index:9999;

    transition:1.2s;
}

.loader-heart{

    font-size:80px;

    animation:pulse 1s infinite;
}

#loader h1{

    margin-top:20px;

    color:#ff4f8b;

    font-size:50px;
}

#loader p{

    margin-top:10px;

    color:#666;
}

#main-content{

  min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;
}

@keyframes pulse{

    0%{

        transform:scale(1);
    }

    50%{

        transform:scale(1.3);
    }

    100%{

        transform:scale(1);
    }

}
.glow-btn{
    background:#ff4f8b;
    color:white;
    border:none;
    padding:18px 45px;
    border-radius:50px;
    font-size:18px;
    cursor:pointer;
    transition:all .4s ease;
    box-shadow:0 0 25px rgba(255,79,139,.35);
}

.glow-btn:hover{

    transform:translateY(-4px) scale(1.05);

    box-shadow:
    0 0 20px #ff4f8b,
    0 0 40px #ff7aa8,
    0 0 60px #ffb3cb;
}
@keyframes gradientBG{

    0%{
        background-position:0% 50%;
    }

    50%{
        background-position:100% 50%;
    }

    100%{
        background-position:0% 50%;
    }

}
/* Floating Hearts */

#hearts-container{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    overflow:hidden;

    pointer-events:none;

    z-index:-1;
}

.heart{

    position:absolute;

    color:#ff5d8f;

    font-size:20px;

    animation:floatUp linear forwards;

    opacity:.75;
}

@keyframes floatUp{

    0%{

        transform:translateY(100vh) scale(.5);

        opacity:0;
    }

    15%{

        opacity:.8;
    }

    100%{

        transform:translateY(-120px) scale(1.5);

        opacity:0;
    }

}
html{
    scroll-behavior:smooth;
}

#story{

    width:100%;

    min-height:100vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:120px 20px;

    background:linear-gradient(
        180deg,
        #fff0f5,
        #ffdce8
    );

    margin-top:100px;
}

#story h2{

    color:#ff4f8b;

    letter-spacing:8px;

    text-transform:uppercase;

    margin-bottom:20px;
}

#story h1{

    font-size:70px;
}

#story p{

    max-width:700px;

    margin-top:30px;

    font-size:22px;

    line-height:1.8;
}
.timeline{
    position:relative;
    width:90%;
    max-width:1000px;
    margin:80px auto;
}

.timeline::before{
    content:"";
    position:absolute;
    left:50%;
    top:0;
    width:4px;
    height:100%;
    background:linear-gradient(#ff8db3,#ff4f8b);
    transform:translateX(-50%);
    border-radius:10px;
}

.memory{
    width: 46%;
    max-width: 480px;
    background:rgba(255,255,255,.25);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.3);
    border-radius:25px;
    padding:35px;
    margin:50px 0;
    box-shadow:0 20px 50px rgba(255,105,180,.15);
    transition:.4s ease;
}

.memory:hover{
   transform:translateY(-10px) scale(1.03);
    box-shadow:0 25px 60px rgba(255,105,180,.35);
}

.left{
    margin-right:auto;
}

.right{
    margin-left:auto;
}

.icon{
    font-size:42px;
    margin-bottom:15px;
}

.memory h3{
    color:#ff4f8b;
    margin-bottom:15px;
}

.memory p{
    font-size:20px;
    line-height:1.8;
}

.special{
    border:2px solid #ff4f8b;
}
.memory {
     opacity:0;
    transition:all .8s ease;
}

.left{
    transform:translateX(-80px);
}

.right{
    transform:translateX(80px);
}

.memory.show{
    opacity:1;
    transform:translateX(0);
}

.memory.show {
    opacity: 1;
    transform: translateY(0);
}
#intro-scene{
    min-height:140vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding-top:120px;
    padding-bottom:120px;
    background:linear-gradient(180deg,#fff7fb,#ffe8f1);
}

.intro-content{
    max-width:700px;
}

.line{
    font-size:30px;
    margin:30px 0;
    opacity:0;
    animation:fadeIn 1.5s forwards;
}

.line:nth-child(1){
    animation-delay:0.5s;
}

.line:nth-child(2){
    animation-delay:2.5s;
}

.intro-content h1{
    opacity:0;
    animation:fadeIn 1.5s forwards;
    animation-delay:4.5s;
    color:#ff4f8b;
    font-size:60px;
}

.continue-btn{
    margin-top:50px;
    opacity:0;
    animation:fadeIn 1s forwards;
    animation-delay:6s;
    padding:15px 40px;
    border:none;
    border-radius:40px;
    background:#ff4f8b;
    color:white;
    font-size:20px;
    cursor:pointer;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
#intro-scene{
    opacity:0;
    animation:introFade 1.5s forwards;
    animation-delay:.8s;
}

@keyframes introFade{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}
#petals{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    overflow:hidden;
    pointer-events:none;
}

.petal{
    position:absolute;
    font-size:24px;
    animation:fall linear forwards;
}

@keyframes fall{
    from{
        transform:translateY(-100px) rotate(0deg);
        opacity:1;
    }

    to{
        transform:translateY(110vh) rotate(360deg);
        opacity:0;
    }
}
.memory{
    position: relative;
    width:46%;
    max-width:480px;
    background:rgba(255,255,255,.25);
    
}

.memory::before{
   content:"";
    position:absolute;
    top:40px;
    width:18px;
    height:18px;
    background:#ff4f8b;
    border-radius:50%;
    border:4px solid white;
    box-shadow:0 0 0 rgba(255,79,139,0);
    transition:.6s;
}

.memory.show::before{
    box-shadow:
        0 0 15px #ff4f8b,
        0 0 30px #ff80ab;
}

.left::before{
    right:-58px;
}

.right::before{
    left:-58px;
}
.chapter{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:80px 20px;
    position:relative;
}

.chapter-content{
    max-width:800px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border-radius:30px;
    padding:60px;
    box-shadow:0 20px 60px rgba(0,0,0,.3);
}

.chapter-title{
    font-family:'Great Vibes',cursive;
    font-size:4rem;
    color:#ff7db5;
    margin-bottom:30px;
}

.story-line{
    opacity:0;
    transform:translateY(25px);
    font-size:1.2rem;
    line-height:2;
    margin:18px 0;
}
.story-header{
    text-align:center;
    margin:80px 0 50px;
}

.story-header h2{
    color:#ff7db5;
    font-size:18px;
    letter-spacing:5px;
    margin-bottom:10px;
}

.story-header h1{
    font-family:'Great Vibes',cursive;
    font-size:4.5rem;
    color:#ff5c93;
    margin:0;
}
#memoryOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.85);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

#memoryContent{
    width:90%;
    max-width:900px;
    max-height:90vh;
    overflow:auto;
    background:white;
    border-radius:30px;
    padding:50px;
    position:relative;
    animation:fadeUp .6s ease;
}

#closeMemory{
    position:absolute;
    top:20px;
    right:30px;
    font-size:40px;
    cursor:pointer;
    color:#ff4f8b;
}

.memory{
    cursor:pointer;
}
#love-reasons{

    padding:120px 8%;
    background:linear-gradient(180deg,#fff7fb,#ffeef5);
    text-align:center;

}

#love-reasons h2{

    font-family:'Great Vibes',cursive;
    font-size:4rem;
    color:#ff5c93;

}

.love-subtitle{

    max-width:700px;
    margin:20px auto 70px;
    font-size:1.2rem;
    color:#666;

}

.reasons-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:35px;

}

.reason-card{

    background:white;
    padding:35px;
    border-radius:25px;
    box-shadow:0 12px 35px rgba(255,105,180,.15);

    font-size:1.1rem;

    transition:.35s;

    opacity:0;
    transform:translateY(40px);

    min-height:170px;
}

.reason-card.show{

    opacity:1;
    transform:translateY(0);

}

.reason-card:hover{

    transform:translateY(-10px) scale(1.03);

}

/* 👇 Paste it HERE */
.reason-card:nth-child(odd){
    animation-delay:1s;
}

.reason-card:nth-child(even){
    animation-delay:2.5s;
}

@keyframes floatCard{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0);
    }

}
#love-letter{

    padding:140px 20px;

    text-align:center;

    background:linear-gradient(
    180deg,
    #fff7fb,
    #ffe6f0
    );

}

#love-letter h2{

    font-family:'Great Vibes',cursive;

    font-size:4.5rem;

    color:#ff5c93;

    margin-bottom:60px;

}

.envelope{
    width:320px;
    height:220px;
    margin:50px auto;
    position:relative;
    cursor:pointer;
    perspective:1000px;
}
.envelope-front{
    position:absolute;
    width:100%;
    height:100%;
    background:#ff8fb5;
    border-radius:15px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:1.3rem;
    box-shadow:0 20px 40px rgba(255,105,180,.25);
    overflow:hidden;
}

.envelope-flap{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:110px;

    background:#ff79a8;

    clip-path:polygon(0 0,100% 0,50% 100%);

    transform-origin:top;

    transition:1s;

    z-index:5;

}

.seal{

    width:55px;

    height:55px;

    border-radius:50%;

    background:white;

    color:#ff5c93;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:26px;

    margin-bottom:20px;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

.envelope-front::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#ff79a8;
    clip-path:polygon(0 0,50% 55%,100% 0);
}

.envelope:hover{

    transform:scale(1.05);

}

#letterPaper{

    display:none;

    max-width:800px;

    margin:70px auto;

    padding:60px;

    background:white;

    border-radius:30px;

    box-shadow:0 20px 50px rgba(0,0,0,.12);

}

#letterPaper h1{

    margin-bottom:40px;

}

.letter-line{

    font-size:22px;

    line-height:2;

    margin-bottom:35px;

}
.envelope.open .envelope-flap{

    transform:rotateX(180deg);

}
#letterPaper{

    opacity:0;
    transform:translateY(60px);

}

#letterPaper.show{

    display:block;
    animation:paperShow 1s forwards;

}

@keyframes paperShow{

    from{

        opacity:0;
        transform:translateY(60px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

.typewriter p{

    opacity:0;

    transform:translateY(20px);

}

.showText{

    animation:textShow .8s forwards;

}

@keyframes textShow{

    from{

        opacity:0;
        transform:translateY(20px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

#letterContinue{

    opacity:0;

}

#letterContinue.show{

    animation:textShow .8s forwards;

}
#gujarati-section{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:100px 20px;
    background:linear-gradient(180deg,#ffe6f0,#fff7fb);
}
/* ========================= */
/* PROPOSAL SECTION */
/* ========================= */

#proposal-section{
    min-height:100vh;
    background:linear-gradient(180deg,#09091a,#000);
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:40px;
}

.proposal-content{
    max-width:800px;
}

#proposalText1{
    color:white;
    font-size:30px;
    margin-bottom:30px;
    opacity:.8;
}

#proposalText2{
    color:#ff5fa2;
    font-size:60px;
    text-shadow:0 0 20px rgba(255,90,162,.8);
    margin-bottom:50px;
}

#proposalButtons{
    display:flex;
    gap:20px;
    justify-content:center;
    flex-wrap:wrap;
}

.yesBtn{
    padding:18px 40px;
    font-size:22px;
    border:none;
    border-radius:50px;
    cursor:pointer;
    background:#ff4f8b;
    color:white;
    transition:.3s;
}

.yesBtn:hover{
    transform:scale(1.1);
    box-shadow:0 0 30px #ff4f8b;
}

/* ========================= */
/* CELEBRATION */
/* ========================= */

#celebration{
    display:none;
    min-height:100vh;
    background:#000;
    color:white;
    text-align:center;
    padding:80px 30px;
}

#celebration h1{
    font-size:50px;
    color:#ff4f8b;
}

#celebration p{
    font-size:24px;
    line-height:1.8;
    max-width:800px;
    margin:auto;
}
.floating-heart{

    position:fixed;

    bottom:-50px;

    animation:floatUp linear forwards;

    pointer-events:none;

    z-index:9999;

}

@keyframes floatUp{

0%{

transform:translateY(0) rotate(0deg);
opacity:1;

}

100%{

transform:translateY(-120vh) rotate(360deg);
opacity:0;

}

}