* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fredoka', sans-serif;
    scroll-behavior: smooth;
    cursor: none;
}

body {
    background: linear-gradient(135deg, #ffe6f7, #fff0f5, #e6f7ff);
    color: #ff66aa;
    overflow-x: hidden;
}

/* 🌸 Loader */
#loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #ffccf9, #ffc8dd, #bde0fe);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeOut 1s ease forwards;
    animation-delay: 2.5s;
}

.loader-text {
    font-size: 2rem;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-15px); }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

/* 💖 Custom Cute Cursor */
.cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: transform 0.15s ease, font-size 0.15s ease;
}

/* Grow cursor when hovering polaroids or buttons */
.hover-grow {
    transform: translate(-50%, -50%) scale(1.5);
    font-size: 32px;
}


/* 🎀 Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    padding: 10px 30px;
    border-radius: 40px;
    display: flex;
    gap: 40px;
    align-items: center;
    box-shadow: 0 10px 25px rgba(255,150,200,0.3);
    z-index: 1000;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    text-decoration: none;
    color: #ff66aa;
    font-weight: 600;
}

/* 🌈 Sections */
section {
    padding: 120px 20px;
    text-align: center;
}

/* 📸 Polaroid Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.polaroid {
    background: white;
    padding: 15px 15px 40px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(255,150,200,0.4);
    transform: rotate(-2deg);
    transition: 0.4s ease;
}

.polaroid:nth-child(even) {
    transform: rotate(2deg);
}

.polaroid:hover {
    transform: scale(1.08) rotate(0deg);
}

.polaroid img {
    width: 100%;
    border-radius: 10px;
}

.polaroid p {
    margin-top: 10px;
}

/* 🌧 Raining Hearts */
.rain-heart {
    position: fixed;
    font-size: 20px;
    animation: fall 2s linear forwards;
    pointer-events: none;
    z-index: 9999;
}

@keyframes fall {
    0% { transform: translateY(-10vh); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* 🍬 Floating Candy */
.candy {
    position: fixed;
    font-size: 20px;
    animation: floatCandy 8s linear infinite;
    pointer-events: none;
}

@keyframes floatCandy {
    from { transform: translateY(100vh); opacity: 0; }
    50% { opacity: 1; }
    to { transform: translateY(-10vh); opacity: 0; }
}

footer {
    padding: 40px;
    background: #ffcce6;
    color: white;
}

/* 🍓 FLOATING STRAWBERRIES */
.bg-floating {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bg-floating span {
    position: absolute;
    font-size: 2rem; /* strawberry size */
    animation: floatStraw 20s linear infinite;
    opacity: 0.8;
}

/* Different positions & timings */
.bg-floating span:nth-child(1) { top: 10%; left: 20%; animation-duration: 25s; }
.bg-floating span:nth-child(2) { top: 60%; left: 70%; animation-duration: 30s; }
.bg-floating span:nth-child(3) { top: 40%; left: 10%; animation-duration: 22s; }
.bg-floating span:nth-child(4) { top: 80%; left: 40%; animation-duration: 28s; }
.bg-floating span:nth-child(5) { top: 20%; left: 80%; animation-duration: 26s; }
.bg-floating span:nth-child(6) { top: 75%; left: 5%; animation-duration: 24s; }

@keyframes floatStraw {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-80px) translateX(40px) rotate(180deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(360deg); }
}


