body {
    font-family: 'Nunito', sans-serif;
    background-color: #fce4ec; /* Light pink background */
    margin: 0;
    padding: 0;
    overflow: hidden;
    cursor: default;
}

#sky {
    height: 40vh;
    background: linear-gradient(to bottom, #87CEEB, #f8c4ec);
    position: relative;
    overflow: hidden; /* Hide sun when it sets */
}

#sun-animation-container {
    position: absolute;
    top: 100%;
    right: 5%;
    width: 100px;
    height: 100px;
    background-color: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 30px #FFD700;
    transform: translateY(-50%);
    transition: top 2s ease-in-out;
}

#sun-animation-container.rise {
    top: 20%;
    transition: top 3s ease-in-out;
}

#sun-animation-container.set {
    top: 100%;
    transition: top 2s ease-in-out;
}

#garden-container {
    height: 35vh;
    background-color: #8B4513; /* Soil color */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-top: 5px solid #5C2E00;
}

#garden {
    display: flex;
    gap: 20px;
}

.plot {
    width: 80px;
    height: 100px;
    background-color: #A0522D;
    border: 2px dashed #5C2E00;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

.plot .flower {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    transition: all 0.5s ease;
}

/* Flower Growth Stages */
.flower.seed { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><circle cx="5" cy="5" r="4" fill="%238B4513"/></svg>'); height: 20px; }
.flower.sprout { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 40"><path d="M10 40 C10 40 5 30 10 20 S 15 10 10 0" stroke="%23228B22" fill="none" stroke-width="2"/></svg>'); height: 40px; }
.flower.bud { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 60"><path d="M15 60 V 20" stroke="%23228B22" stroke-width="3"/><circle cx="15" cy="15" r="10" fill="%2390EE90"/></svg>'); height: 60px; }
.flower.small-daisy { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 80"><path d="M20 80 V 30" stroke="%23228B22" stroke-width="3"/><circle cx="20" cy="20" r="15" fill="white"/><circle cx="20" cy="20" r="5" fill="yellow"/></svg>'); height: 80px; }
.flower.full-daisy { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 120"><path d="M30 120 V 40" stroke="%23228B22" stroke-width="4"/><circle cx="30" cy="30" r="25" fill="white"/><circle cx="30" cy="30" r="10" fill="yellow"/></svg>'); height: 120px; }
.flower.small-tulip { background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 80"><path d="M20 80 V 30" stroke="%23228B22" stroke-width="3"/><path d="M10 30 C 10 10, 30 10, 30 30 Z" fill="%23FF69B4"/></svg>'); height: 80px; }
.flower.full-tulip {
    background-image: url('images/tulipan.png');
    height: 180px; /* 1.5x scaling */
    width: 120px; /* 1.5x scaling */
    image-rendering: pixelated; /* Prevents blurring for pixel art */
}


#ui-panel {
    height: 25vh;
    background-color: #ffc1e3; /* Pink UI panel */
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 5px solid #f48fb1;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

#money-display-container {
    background-color: white;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 2em;
    font-weight: bold;
    color: #e91e63;
}

#tools, #special-actions {
    display: flex;
    gap: 15px;
}

.ui-section {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid #f48fb1;
    padding: 10px;
    border-radius: 15px;
}

.ui-label {
    font-weight: bold;
    color: #ad1457;
    font-size: 1.2em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding-right: 10px;
    border-right: 2px solid #f48fb1;
}

#buy-plot-btn {
    background-color: white;
}

.tool-btn:disabled {
    filter: grayscale(100%);
    cursor: not-allowed;
    background-color: #e0e0e0 !important;
}

.tool-btn, .action-btn {
    padding: 10px;
    border-radius: 15px;
    border: 3px solid transparent;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.tool-btn:hover, .action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

.tool-btn.selected {
    border-color: #e91e63;
    box-shadow: 0 0 10px #e91e63;
}

.tool-icon {
    font-size: 2em;
}

.price {
    font-size: 0.9em;
    color: #666;
}

.action-btn {
    font-size: 2.5em;
    padding: 15px;
    position: relative; /* For countdown timer */
}

.action-btn .cooldown-timer {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #e91e63;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 0.5em;
    font-weight: bold;
    display: none; /* Hidden by default */
}

.action-btn:disabled {
    filter: grayscale(80%);
    cursor: not-allowed;
}

/* Floating text for money gain */
.money-feedback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #4CAF50;
    font-size: 1.5em;
    font-weight: bold;
    animation: floatUp 1.5s ease-out forwards;
    pointer-events: none;
}

/* Water Particle Effect */
.water-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #87ceeb;
    border-radius: 50%;
    animation: fall 0.5s linear forwards;
    pointer-events: none;
    z-index: 10;
}

@keyframes fall {
    from {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
    to {
        transform: translateY(50px) translateX(15px);
        opacity: 0;
    }
}

@keyframes floatUp {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -150%) translateY(-50px);
    }
}

/* Cursor changes */
.cursor-seed { cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8" fill="white" stroke="%23333" stroke-width="1"/></svg>') 12 12, auto; }
.cursor-watering-can { cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%234FC3F7" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-12h2v6h-2zm0 8h2v2h-2z"/></svg>') 12 12, auto; }
.cursor-scissors { cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23EC407A" d="M18.15 7.5l-4.42-4.42a1 1 0 0 0-1.41 0L7.5 7.85a1 1 0 0 0 0 1.41L11.58 13.5l-5.73 5.73a1 1 0 0 0 1.41 1.41L13.5 14.92l4.27 4.27a1 1 0 0 0 1.41-1.41L14.92 13.5l3.23-3.23a1 1 0 0 0 0-1.41zM6 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm0 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm12 6a4 4 0 1 0 0 8 4 4 0 0 0 0-8zm0 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"/></svg>') 12 12, auto; }
