* { box-sizing: border-box; }

body {
    margin: 0;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffecd2 0%, #fcb69f 100%);
    font-family: 'Georgia', serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 1rem;
}

#bouquet-container {
    position: relative;
    width: 300px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 2rem;
}

#vase {
    position: absolute;
    bottom: 0;
    width: 140px;
    height: 180px;
    z-index: 10;
    filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.2));
}

.flower-wrapper {
    position: absolute;
    left: 50%;
    bottom: 110px;
    transform-origin: bottom center;
    z-index: 5;
    animation: sway 4s ease-in-out infinite alternate;
    filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.15));
}

@keyframes sway {
    0% { transform: translateX(-50%) rotate(calc(var(--angle) - 4deg)); }
    100% { transform: translateX(-50%) rotate(calc(var(--angle) + 4deg)); }
}

.message-card {
    z-index: 20;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #4a3b32;
}

h1 {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin: 0 0 10px 0;
    font-weight: normal;
}

p {
    font-size: clamp(1rem, 3.5vw, 1.1rem);
    margin: 0;
    font-style: italic;
    line-height: 1.5;
}