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

        body {
            font-family: 'Segoe UI', 'Arial', sans-serif;
            height: 100vh;
            overflow: hidden;
        }

        /* LOADING PAGE */
        .loading-page {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: radial-gradient(circle at 30% 30%, #ff6b6b, #ff1493, #8b0a50);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
        }

        .loading-page.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loading-content {
            text-align: center;
            color: white;
            padding: 2rem;
            max-width: 700px;
            animation: floatIn 1.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .heart-emoji {
            font-size: 6rem;
            margin-bottom: 1.5rem;
            animation: romanticBeat 1.8s ease-in-out infinite;
            display: inline-block;
            filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
        }
         .dudu-gif{
width:180px;
height:180px;
border-radius:50%;
object-fit:cover;
border:3px solid white;
box-shadow:0 0 15px rgba(255,105,180,0.6);
}
        h1 {
            font-size: 3rem;
            margin-bottom: 1.2rem;
            font-weight: 700;
            text-shadow: 3px 3px 6px rgba(139, 0, 0, 0.4);
            background: linear-gradient(45deg, #fff, #ffe6f0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .subtitle {
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            line-height: 1.8;
            color: #fff0f5;
        }

        .loading-bar-container {
            width: 350px;
            height: 6px;
            background: rgba(255, 230, 240, 0.25);
            border-radius: 30px;
            margin: 2.5rem auto;
            overflow: hidden;
            box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
        }

        .loading-bar {
            width: 0%;
            height: 100%;
            background: linear-gradient(90deg, #fff0f5, #ffffff, #ffe4ec);
            border-radius: 30px;
            animation: loading 2.8s ease-out forwards;
            box-shadow: 0 0 30px #fff0f5;
            position: relative;
            overflow: hidden;
        }

        .loading-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
            animation: shine 1.5s infinite;
        }

        .bottom-message {
            font-size: 1rem;
            opacity: 0.8;
            margin-top: 3rem;
            font-style: italic;
            color: #ffe4f0;
            animation: glow 2s ease-in-out infinite;
        }

        .floating-particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            color: rgba(255, 240, 250, 0.2);
            font-size: 2rem;
            animation: romanticFloat 8s linear infinite;
        }

        .particle:nth-child(1) { left: 5%; animation-delay: 0s; }
        .particle:nth-child(2) { left: 15%; animation-delay: 2s; }
        .particle:nth-child(3) { left: 25%; animation-delay: 4s; }
        .particle:nth-child(4) { left: 35%; animation-delay: 1s; }
        .particle:nth-child(5) { left: 45%; animation-delay: 3s; }
        .particle:nth-child(6) { left: 55%; animation-delay: 5s; }

        /* SECOND PAGE - EXACTLY LIKE IMAGE */
        .second-page {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: linear-gradient(145deg, #ffd9e8 0%, #fff0f5 40%, #ffddee 100%);
            z-index: 900;
            opacity: 0;
            visibility: hidden;
            transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
            overflow-y: auto;
            padding: 1.5rem;
        }

        .second-page.show {
            opacity: 1;
            visibility: visible;
        }

        /* POETRY CONTAINER - NO BOXES */
        .poetry-container {
            max-width: 1000px;
            margin: 1rem auto;
            padding: 0.5rem;
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        /* IMAGE AND TEXT ROW - NO BACKGROUND, NO BORDERS */
        .poem-row {
            display: flex;
            align-items: center;
            gap: 2rem;
            margin:20px 0;
            width: 100%;
        }

        /* IMAGE STYLES - BIGGER LIKE YOUR PIC */
        .poem-image {
            flex: 0 0 200px;
            width: 200px;
            height: 160px;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(210, 80, 120, 0.25);
            border: 2px solid white;
            background: #ffe2ee;
        }

        .poem-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* TEXT STYLES - CURSIVE, NORMAL SIZE */
        .poem-text {
            flex: 1;
            font-family: 'Dancing Script', 'Brush Script MT', 'cursive';
            font-size: 20px;
            line-height: 1.6;
            color: #a03e5c;
            text-shadow: 2px 2px 6px rgba(255, 180, 200, 0.3);
            font-weight: 500;
            white-space: pre-line;
        }

        /* RIGHT SIDE TEXT (when image on right) */
        .poem-row.reverse {
            flex-direction: row-reverse;
        }

        .poem-row.reverse .poem-text {
            text-align: right;
        }

.poem-row{
opacity:0;
transform:translateX(-60px);
animation:slideLeft 1s forwards;
}

.poem-row.reverse{
transform:translateX(60px);
animation:slideRight 1s forwards;
}

@keyframes slideLeft{
to{
opacity:1;
transform:translateX(0);
}
}

@keyframes slideRight{
to{
opacity:1;
transform:translateX(0);
}
}

.continue-box{
text-align:center;
margin-top:40px;
}

#continueBtn, #continueBtn2{
    background:#ff4d6d;
    color:white;
    border:none;
    padding:12px 28px;
    font-size:16px;
    border-radius:30px;
    cursor:pointer;
    transition:0.3s;
    position:relative;
}

#continueBtn:hover, #continueBtn2:hover{
    background:#ff1e56;
    box-shadow:0 0 10px #ff1e56,
               0 0 25px #ff1e56,
               0 0 50px #ff1e56;
    transform:scale(1.05);
}

/* Poem rows staggered animation */
.poem-row {
    opacity: 0;
    width: 100%;
}

/* Row 1 - Left se aayega */
.poem-row:nth-child(1) {
    animation: slideInFromLeft 1s ease-out 0s forwards;
}

/* Row 2 - Right se aayega */
.poem-row:nth-child(2) {
    animation: slideInFromRight 1s ease-out 3s forwards;
}

/* Row 3 - Left se aayega */
.poem-row:nth-child(3) {
    animation: slideInFromLeft 1s ease-out 6s forwards;
}

/* Row 4 - Right se aayega */
.poem-row:nth-child(4) {
    animation: slideInFromRight 1s ease-out 9s forwards;
}

/* Row 5 - Left se aayega */
.poem-row:nth-child(5) {
    animation: slideInFromLeft 1s ease-out 12s forwards;
}

/* Keyframes for left animation */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Keyframes for right animation */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

        /* animations */
        @keyframes romanticBeat {
            0%,100% { transform: scale(1); } 50% { transform: scale(1.15); }
        }
        @keyframes floatIn {
            0% { opacity: 0; transform: translateY(40px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        @keyframes loading {
            0% { width: 0%; } 100% { width: 100%; }
        }
        @keyframes shine {
            0% { transform: translateX(-100%); } 100% { transform: translateX(200%); }
        }
        @keyframes romanticFloat {
            0% { transform: translateY(100vh); opacity: 0; }
            50% { opacity: 0.3; }
            100% { transform: translateY(-50px); opacity: 0; }
        }
        @keyframes glow {
            0%,100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
            50% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.8); }
        }
.music-page{
position:fixed;
top:0;
left:0;
width:100%;
height:100vh;
background:linear-gradient(rgba(255,228,236,0.8),rgba(255,240,245,0.8),rgba(255,214,232,0.8)),
url("../music.jpg");
background-size:cover;
background-position:center;
background-repeat:no-repeat;
display:flex;
justify-content:center;
align-items:center;
opacity:0;
visibility:hidden;
transition:1s;
z-index:800;
}
.music-page.show{
opacity:1;
visibility:visible;
}

.music-container,p{
text-align:center;
padding:20px;
    font-size: 20px;
font-family:'Dancing Script',cursive;
}

.music-container h2{
font-size:2.2rem;
margin-bottom:20px;
}

.music-container button{
margin:25px;
padding:17px;
border:none;
background:#ff4d88;
color:white;
border-radius:25px;
cursor:pointer;
}

.music-player{
background:rgba(255,255,255,0.2);
padding:20px;
border-radius:20px;
text-align:center;
backdrop-filter:blur(10px);
box-shadow:0 10px 30px rgba(0,0,0,0.2);
}
.music-player:hover{
transform:scale(1.03);
box-shadow:0 10px 25px rgba(255,77,109,0.5);
transition:0.3s;
}
.music-player h3{
margin-bottom:15px;
color:#d6336c;
}

#playPauseBtn{
padding:10px 25px;
border:none;
border-radius:30px;
background:#ff4d6d;
color:white;
font-size:16px;
cursor:pointer;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

#playPauseBtn:hover{
background:#ff2f55;
}
#nextBtn{
    background:#ff4d6d;
    color:white;
    border:none;
    padding:12px 28px;
    font-size:16px;
    border-radius:30px;
    cursor:pointer;
    transition:0.3s;
    position:relative;
}

/* Hover Effect */
#nextBtn:hover{
    background:#ff1e56;
    transform:scale(1.05);
    box-shadow:0 0 10px #ff1e56,
               0 0 25px #ff1e56,
               0 0 50px #ff1e56;
}
#galleryPage {
    height: 100vh;
    display: none; /* Initially hidden */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(145deg, #ffd9e8, #fff0f5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 700;
}

.gallery-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #a03e5c;
    margin: 2rem;
}
.gallery-desc{
text-align:center;
font-size:20px;
margin-top:10px;
color:#7a3b4b;
font-family:'Dancing Script', cursive;
padding:0 20px;
line-height:1.6;
}
.gallery {
    position: relative;
    width: 500px;
    height: 500px;
    margin: auto;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.3s ease-out; /* Smooth transition */
    cursor: grab;
}

.gallery:active {
    cursor: grabbing;
}

.gallery span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(calc(var(--i) * 60deg)) translateZ(280px);
    -webkit-box-reflect: below 5px linear-gradient(transparent, transparent, rgba(0,0,0,0.1));
}

.gallery img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(210, 80, 120, 0.3);
    border: 1px solid white;
}

.gallery-buttons {
    margin: 50px;
    display: flex;
    gap: 20px;
}

.gallery-buttons button {
    padding: 12px 25px ;
    border: none;
    border-radius: 30px;
    background: #ff4d6d;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(255, 77, 109, 0.4);
}

.gallery-buttons button:hover {
     background:#ff1e56;
    transform:scale(1.05);
    box-shadow:0 0 10px #ff1e56,
               0 0 25px #ff1e56,
               0 0 50px #ff1e56;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .gallery {
        width: 200px;
        height: 200px;
    }
    
    .gallery span {
        transform: rotateY(calc(var(--i) * 60deg)) translateZ(200px);
    }
    
    .gallery-title {
        font-size: 2rem;
    }
}
.love-page{
display:none;
justify-content:center;
align-items:center;
height:100vh;
background:#f8cdd2;
}

.love-container{
    margin: 0px;
position:relative;
text-align:center;
}

.love-bg{
width:350px;
max-width:100%;
}

.love-text{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
font-size:40px;
font-family:cursive;
color:#ff2e63;
font-weight:bold;
    text-shadow:0 0 10px rgba(255,0,90,0.4);
}

.love-text span{
    padding: 2px;
    margin: 0px;
    color: black;
    font-size: 17px;
}
.signature{
text-align:center;
font-family:'Dancing Script',cursive;
font-size:22px;
margin-top:10px;
color:#d6336c;
}