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

:root {
    color-scheme: only light;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #F5F0E6;
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden;
}

/* Cream circle background */
.background-circle {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #FAF6E9 0%, #F5F0E1 60%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Bouquet container */
.bouquet {
    position: relative;
    width: 400px;
    height: 400px;
    z-index: 1;
    margin-bottom: -40px;
}

/* Bush/greenery background */
.bush {
    position: absolute;
    width: 350px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.bush-1 {
    transform: translateX(-50%) scaleX(-1);
    bottom: -10px;
}

.bush-2 {
    transform: translateX(-50%) scale(1.1);
    bottom: -30px;
    opacity: 0.8;
}

.bush-top {
    position: absolute;
    width: 380px;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Floating petals */
.petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 15px;
    height: 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.8;
    animation: fall linear forwards;
    will-change: transform, opacity;
    --sway: 0px; /* fallback for older browsers */
}

@keyframes fall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    50% {
        transform: translateY(50vh) translateX(var(--sway, 0px)) rotate(180deg);
        opacity: 0.5;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .petal {
        animation: none;
        display: none;
    }
}

/* Sunflowers */
.sunflower {
    position: absolute;
    z-index: 10;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.2));
}

.sunflower-1 {
    width: 180px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
}

.sunflower-2 {
    width: 150px;
    top: 60px;
    left: 30px;
    transform: rotate(-15deg);
    z-index: 11;
}

.sunflower-3 {
    width: 150px;
    top: 60px;
    right: 30px;
    transform: rotate(15deg);
    z-index: 11;
}

.sunflower-4 {
    width: 130px;
    top: 170px;
    left: 100px;
    transform: rotate(-8deg);
    z-index: 10;
}

.sunflower-5 {
    width: 130px;
    top: 170px;
    right: 100px;
    transform: rotate(8deg);
    z-index: 10;
}

/* ===== LOVE NOTE ===== */
.love-note {
    position: relative;
    z-index: 20;
    background: #FFFFFF;
    padding: 25px 35px;
    max-width: 340px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-align: left;
    font-family: 'Caveat', cursive;
}

.love-note .greeting {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.love-note .message {
    font-size: 1.4rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 15px;
}

.love-note .signature {
    font-size: 1.4rem;
    color: #333;
    text-align: right;
}

/* Responsive */
@media (max-width: 500px) {
    .bouquet {
        transform: scale(0.8);
        margin-bottom: -60px;
    }

    .background-circle {
        width: 400px;
        height: 400px;
    }

    .love-note {
        max-width: 280px;
        padding: 20px 25px;
        font-size: 0.9rem;
    }
}
