:root {
    --day-sky: linear-gradient(180deg, #4facfe 0%, #00f2fe 100%);
    --night-sky: linear-gradient(180deg, #09203f 0%, #537895 100%);
    --dirt: #5d4037;
    --grass: #4caf50;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Press Start 2P', cursive;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Dynamic Backgrounds */
.day-theme { background: var(--day-sky); }
.night-theme { background: var(--night-sky); }

.viewport {
    position: relative;
    width: 90vw;
    height: 80vh;
    border: 8px solid #333;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.pixel-text {
    color: white;
    text-shadow: 2px 2px #000;
    font-size: 1.2rem;
}

.garden-area {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.soil-plot {
    width: 80%;
    height: 60px;
    background: var(--dirt);
    border-top: 10px solid var(--grass);
    border-radius: 40px 40px 10px 10px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding-bottom: 20px;
}

.plant {
    font-size: 4rem;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
}

.plant:hover {
    transform: scale(1.2) rotate(5deg);
}

/* UI Buttons */
.game-btn {
    background: #fff;
    border: 4px solid #000;
    padding: 10px 20px;
    font-family: 'Press Start 2P', cursive;
    cursor: pointer;
    box-shadow: 4px 4px 0px #000;
}

.game-btn:active {
    box-shadow: 0px 0px 0px #000;
    transform: translate(4px, 4px);
}
