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

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #ffeef8 0%, #e8f5ff 50%, #fff0f8 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 182, 193, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s infinite linear;
    pointer-events: none;
    z-index: -1;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(0px) translateX(-5px); }
    75% { transform: translateY(10px) translateX(5px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

header {
    margin-bottom: 40px;
}

header h1 {
    color: #d63384;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(214, 51, 132, 0.2);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

header p {
    color: #6c757d;
    font-size: 1.2em;
    font-style: italic;
}

.flower-btn {
    background: linear-gradient(45deg, #ff6b9d, #ff8cc5);
    border: none;
    padding: 20px 40px;
    font-size: 1.3em;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
    margin: 30px 0;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.flower-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(255, 107, 157, 0.4);
    background: linear-gradient(45deg, #ff8cc5, #ffb3d9);
}

.flower-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(255, 107, 157, 0.3);
}

.garden {
    min-height: 300px;
    background: linear-gradient(to bottom, #87ceeb 0%, #98fb98 30%, #90ee90 100%);
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
}

.flower {
    position: relative;
    animation: growIn 1s ease-out;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.flower:hover {
    transform: scale(1.1);
}

@keyframes growIn {
    0% {
        transform: scale(0) translateY(50px);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) translateY(25px);
        opacity: 0.7;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.rose {
    font-size: 3em;
    color: #ff1744;
    filter: drop-shadow(2px 2px 4px rgba(255, 23, 68, 0.3));
}

.lily {
    font-size: 3em;
    color: #ffffff;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.sunflower {
    font-size: 3em;
    color: #ffeb3b;
    filter: drop-shadow(2px 2px 4px rgba(255, 235, 59, 0.3));
}

.tulip {
    font-size: 3em;
    color: #ff6b9d;
    filter: drop-shadow(2px 2px 4px rgba(255, 107, 157, 0.3));
}

.daisy {
    font-size: 3em;
    color: #ffffff;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.violet {
    font-size: 3em;
    color: #9c27b0;
    filter: drop-shadow(2px 2px 4px rgba(156, 39, 176, 0.3));
}

.cherry {
    font-size: 3em;
    color: #ffb3d9;
    filter: drop-shadow(2px 2px 4px rgba(255, 179, 217, 0.3));
}

.hibiscus {
    font-size: 3em;
    color: #ff5722;
    filter: drop-shadow(2px 2px 4px rgba(255, 87, 34, 0.3));
}

.flower-count {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px 25px;
    border-radius: 25px;
    display: inline-block;
    margin: 20px 0;
    font-size: 1.1em;
    color: #495057;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#count {
    color: #d63384;
    font-weight: bold;
    font-size: 1.2em;
}

/* Footer */
footer {
    margin-top: 40px;
    color: #6c757d;
    font-style: italic;
}

footer p {
    font-size: 1.1em;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffd700;
    border-radius: 50%;
    animation: sparkle 1.5s infinite;
    pointer-events: none;
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .flower-btn {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    
    .flower {
        font-size: 2.5em !important;
    }
    
    .garden {
        min-height: 250px;
        padding: 15px;
    }
}