/* for my valentine 💌 */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=La+Belle+Aurore&display=swap');

html, body {
    cursor: url("https://66.media.tumblr.com/7c94bbb9df0d6e9e444a9e7c655e33cf/9dba0842be303cbc-a7/s75x75_c1/a4cb64c7ac72a3aa14c0579be8cf98626c431634.gifv"), default;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #FFEADE;
    background-image: radial-gradient(circle at 10% 30%, rgba(255, 200, 200, 0.2) 0%, transparent 25%),
                      radial-gradient(circle at 90% 70%, rgba(255, 180, 200, 0.15) 0%, transparent 30%);
    font-family: 'Quicksand', 'Arial', sans-serif;
    line-height: 1.6;
    color: #5a4e4e;
}

/* romantic handwritten headline */
h1 {
    text-shadow: 2px 2px 4px rgba(255, 136, 137, 0.2);
    letter-spacing: 4px;
    font-family: 'La Belle Aurore', 'Quicksand', cursive, sans-serif;
    font-size: 3.5rem;
    color: #c45a5a;
    text-align: center;
    font-weight: 400;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

/* soft, cozy card styling */
div {
    border: none;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    font-family: 'Quicksand', 'Arial', sans-serif;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(196, 90, 90, 0.1),
                0 4px 10px rgba(255, 200, 200, 0.2);
    border-radius: 30px 10px 30px 10px;
    border: 1px solid rgba(255, 220, 220, 0.5);
}

/* gentle hover effect - like a heartbeat */
div es:hover,
div es1:hover,
div es2:hover,
div es3:hover,
div es4:hover {
    text-shadow: 0 0 8px rgba(255, 136, 137, 0.4);
    color: #b85c5c;
    transition: all 0.3s ease;
    display: inline-block;
    transform: scale(1.02);
    background: linear-gradient(120deg, rgba(255,230,230,0.3) 0%, rgba(255,210,210,0.1) 100%);
    border-radius: 20px;
    padding: 0 4px;
}

/* image styling - soft, dreamy, cohesive */
.peach-rose {
    width: 12%;
    position: relative;
    top: -185px;
    left: 126px;
    z-index: 3;
    filter: drop-shadow(0 5px 10px rgba(255, 150, 150, 0.2));
    transition: transform 0.4s ease;
}

.love-letter-img {
    width: 25%;
    position: relative;
    top: -170px;
    right: 20px;
    z-index: 2;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.05));
    border-radius: 15px 5px 15px 5px;
}

.ombre-flower {
    width: 10%;
    position: relative;
    top: -200px;
    left: 532px;
    z-index: 2;
    opacity: 0.9;
    filter: drop-shadow(0 5px 8px rgba(255, 160, 160, 0.15));
}

.two-rose {
    width: 15%;
    position: relative;
    top: -200px;
    left: 435px;
    z-index: 1;
    opacity: 0.8;
    filter: drop-shadow(0 6px 10px rgba(100, 80, 80, 0.08));
}

.stars-overlay {
    width: 15%;
    position: relative;
    top: -200px;
    left: 245px;
    z-index: 3;
    opacity: 0.7;
    filter: drop-shadow(0 0 6px rgba(255, 200, 200, 0.3));
    animation: twinkle 4s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.03); }
}

/* gentle float animation for flowers */
.peach-rose:hover,
.ombre-flower:hover,
.two-rose:hover {
    transform: translateY(-5px) rotate(-1deg);
    filter: drop-shadow(0 12px 15px rgba(255, 140, 140, 0.2));
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.love-letter-img:hover {
    transform: scale(1.02);
    filter: brightness(1.02) drop-shadow(0 10px 18px rgba(0,0,0,0.08));
}

.stars-overlay:hover {
    animation: none;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(255, 180, 180, 0.5));
}

/* delicate letter divider */
.letter-divider {
    width: 90%;
    position: relative;
    margin: 2.5rem auto;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 90, 90, 0.2), rgba(255, 160, 160, 0.3), rgba(196, 90, 90, 0.2), transparent);
    background-blend-mode: soft-light;
}

/* soft focus effect for letter container */
.letter-divider {
    background: transparent;
    backdrop-filter: blur(2px);
}

/* responsive adjustments */
@media (max-width: 900px) {
    div {
        margin-left: 20px;
        margin-right: 20px;
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .peach-rose,
    .love-letter-img,
    .ombre-flower,
    .two-rose,
    .stars-overlay {
        width: 18%;
    }
}

/* tiny hearts cursor bonus - because why not */
body {
    cursor: url("https://66.media.tumblr.com/7c94bbb9df0d6e9e444a9e7c655e33cf/9dba0842be303cbc-a7/s75x75_c1/a4cb64c7ac72a3aa14c0579be8cf98626c431634.gifv"), auto;
}

/* heartfelt micro-interactions */
::selection {
    background: rgba(255, 200, 200, 0.4);
    color: #b85c5c;
}

/* keeps the original positioning but refines it */
.peach-rose { top: -185px; }
.love-letter-img { top: -170px; }
.ombre-flower { top: -200px; }
.two-rose { top: -200px; }
.stars-overlay { top: -200px; }

/* softens the original box shadow */
div {
    box-shadow: 0 15px 30px -10px rgba(196, 90, 90, 0.08);
}