*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#050816;
    color:white;
    overflow-x:hidden;
    position:relative;
}

/* =========================
   PREMIUM BACKGROUND
========================= */

.bg-blur{
    position:fixed;
    width:400px;
    height:400px;
    border-radius:50%;
    filter:blur(120px);
    z-index:-1;
    opacity:0.6;
}

.blur1{
    background:#7f5af0;
    top:-100px;
    left:-100px;
}

.blur2{
    background:#2cb67d;
    bottom:-100px;
    right:-100px;
}

/* =========================
   GLOBAL SECTION
========================= */

section{
    min-height:100vh;
    width:100%;
    padding:60px 20px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
}

/* =========================
   GLASS EFFECT
========================= */

.glass{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(14px);
    border:1px solid rgba(255,255,255,0.1);
    box-shadow:0 8px 32px rgba(0,0,0,0.3);
}

/* =========================
   HERO SECTION
========================= */

.hero-card{
    width:100%;
    max-width:450px;
    border-radius:30px;
    padding:35px 25px;
    text-align:center;
}

.hero-gif{
    width:220px;
    max-width:100%;
    margin-bottom:20px;
}

.main-title{
    font-size:3rem;
    font-weight:700;
    margin-bottom:15px;
}

.typing-text{
    font-size:1.1rem;
    line-height:1.8;
    color:#d1d5db;
    min-height:80px;
}

.start-btn{
    margin-top:25px;
    padding:14px 24px;
    border:none;
    border-radius:40px;
    background:linear-gradient(135deg,#7f5af0,#2cb67d);
    color:white;
    font-size:1rem;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.start-btn:hover{
    transform:scale(1.05);
}

/* =========================
   STORY SECTION
========================= */

.story-section{
    gap:30px;
}

.story-card{
    width:100%;
    max-width:600px;
    padding:30px;
    border-radius:25px;
    text-align:center;
}

.story-card h2{
    margin-bottom:15px;
    font-size:2rem;
}

.story-card p{
    color:#d1d5db;
    line-height:1.8;
    font-size:1.05rem;
}

/* =========================
   CHAT SECTION
========================= */

.chat-section{
    padding-top:100px;
}

.section-title{
    font-size:2.3rem;
    margin-bottom:40px;
    text-align:center;
}

.chat-box{
    width:100%;
    max-width:500px;
    border-radius:30px;
    padding:25px;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.msg{
    max-width:80%;
    padding:14px 18px;
    border-radius:20px;
    font-size:1rem;
    line-height:1.5;
    animation:fadeIn 1s ease;
}

.left{
    background:#1f2937;
    align-self:flex-start;
}

.right{
    background:#7f5af0;
    align-self:flex-end;
}

/* =========================
   FORGIVE SECTION
========================= */

.forgive-card{
    width:100%;
    max-width:500px;
    padding:35px 25px;
    border-radius:30px;
    text-align:center;
    position:relative;
}

.sorry-img{
    width:220px;
    max-width:100%;
    margin-bottom:20px;
}

.forgive-title{
    font-size:2rem;
    margin-bottom:30px;
}

.btn-group{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    position:relative;
    min-height:80px;
}

button{
    padding:14px 28px;
    border:none;
    border-radius:40px;
    cursor:pointer;
    font-size:1rem;
    font-weight:600;
    transition:0.3s;
}

.yes-btn{
    background:linear-gradient(135deg,#7f5af0,#2cb67d);
    color:white;
    box-shadow:0 0 20px rgba(127,90,240,0.5);
}

.yes-btn:hover{
    transform:scale(1.08);
}

.no-btn{
    background:white;
    color:black;
    position:relative;
}

/* =========================
   SECRET SECTION
========================= */

.hidden{
    display:none;
}

.secret-card{
    width:100%;
    max-width:550px;
    padding:35px 25px;
    border-radius:30px;
    text-align:center;
}

.secret-gif{
    width:220px;
    max-width:100%;
    margin-bottom:20px;
}

.secret-card h2{
    font-size:2.2rem;
    margin-bottom:20px;
}

.secret-card p{
    line-height:1.9;
    color:#d1d5db;
    font-size:1.05rem;
}

/* =========================
   ENDING SECTION
========================= */

.ending-card{
    width:100%;
    max-width:700px;
    padding:40px 25px;
    border-radius:30px;
    text-align:center;
}

.ending-text{
    font-size:2.5rem;
    line-height:1.5;
    background:linear-gradient(135deg,#ffffff,#c4b5fd);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* =========================
   FLOATING EMOJIS
========================= */

.floating-hearts span{
    position:fixed;
    bottom:-20px;
    font-size:1.5rem;
    animation:floatUp 12s linear infinite;
    opacity:0.7;
}

.floating-hearts span:nth-child(1){
    left:10%;
    animation-delay:0s;
}

.floating-hearts span:nth-child(2){
    left:30%;
    animation-delay:2s;
}

.floating-hearts span:nth-child(3){
    left:50%;
    animation-delay:4s;
}

.floating-hearts span:nth-child(4){
    left:70%;
    animation-delay:6s;
}

.floating-hearts span:nth-child(5){
    left:90%;
    animation-delay:8s;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes floatUp{
    0%{
        transform:translateY(0);
        opacity:0;
    }

    20%{
        opacity:0.8;
    }

    100%{
        transform:translateY(-120vh);
        opacity:0;
    }
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media(max-width:768px){

    section{
        padding:50px 16px;
    }

    .main-title{
        font-size:2.3rem;
    }

    .typing-text{
        font-size:1rem;
    }

    .story-card h2,
    .forgive-title,
    .secret-card h2{
        font-size:1.6rem;
    }

    .section-title{
        font-size:1.8rem;
    }

    .ending-text{
        font-size:1.8rem;
    }

    .chat-box{
        padding:20px;
    }

    .msg{
        max-width:90%;
        font-size:0.95rem;
    }

    button{
        width:100%;
        max-width:250px;
    }

    .hero-gif,
    .sorry-img,
    .secret-gif{
        width:180px;
    }
}