/* ========== GLOBAL STYLES ========== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
color: #e0e0e0;
min-height: 100vh;
}

#container {
position: relative;
width: 100vw;
min-height: 100vh;
}

/* ========== 3D GARDEN CANVAS ========== */
#garden-canvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: 1;
}

/* ========== UI OVERLAY ========== */
#ui-overlay {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
gap: 12px;
padding: 15px;
max-width: 400px;
margin: 0 auto;
background: rgba(10, 10, 15, 0.85);
min-height: 100vh;
justify-content: center;
}

/* ========== HEADER ========== */
header {
text-align: center;
padding: 10px 0;
}

h1 {
font-size: 1.8em;
background: linear-gradient(135deg, #4ade80, #00ff88);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 5px;
}

.tagline {
color: #888;
font-size: 0.9em;
}

/* ========== WATER COUNTER ========== */
.water-counter {
text-align: center;
padding: 20px;
background: rgba(18, 18, 26, 0.8);
border: 2px solid #2a2a3a;
border-radius: 12px;
}

.glasses-display {
font-size: 3em;
font-weight: bold;
color: #4ade80;
display: flex;
justify-content: center;
align-items: baseline;
gap: 8px;
}

.separator {
color: #888;
font-size: 0.5em;
}

.percentage {
font-size: 1.2em;
color: #00ff88;
margin-top: 8px;
}

/* ========== PROGRESS BAR ========== */
.progress-container {
width: 100%;
height: 12px;
background: #2a2a3a;
border-radius: 10px;
overflow: hidden;
margin: 12px 0;
}

.progress-bar {
height: 100%;
background: linear-gradient(90deg, #4ade80, #00ff88);
border-radius: 10px;
width: 0%;
transition: width 0.5s ease;
}

/* ========== PLANT STAGE ========== */
.plant-stage {
text-align: center;
padding: 12px;
background: rgba(18, 18, 26, 0.6);
border-radius: 12px;
}

.stage-emoji {
font-size: 4em;
transition: all 0.5s ease;
}

.stage-label {
font-size: 0.9em;
color: #888;
margin-top: 8px;
}

/* ========== CONTROLS ========== */
.controls {
display: flex;
gap: 12px;
justify-content: center;
padding: 12px;
}

.btn {
width: 50px;
height: 50px;
border-radius: 50%;
border: none;
font-size: 1.5em;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
}

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

.btn:active {
transform: scale(0.95);
}

.btn-remove {
background: #2a2a3a;
color: #e0e0e0;
}

.btn-add {
background: linear-gradient(135deg, #4ade80, #00ff88);
color: #000;
width: 140px;
border-radius: 25px;
font-size: 1em;
font-weight: bold;
}

.btn:disabled {
opacity: 0.3;
cursor: not-allowed;
}

/* ========== STATS ========== */
.stats {
display: flex;
justify-content: space-around;
padding: 12px;
background: rgba(18, 18, 26, 0.6);
border-radius: 12px;
gap: 12px;
}

.stat {
text-align: center;
flex: 1;
}

.stat-value {
font-size: 1.5em;
font-weight: bold;
color: #ffaa00;
}

.stat-label {
font-size: 0.7em;
color: #888;
margin-top: 4px;
}

/* ========== INFO ========== */
.info {
text-align: center;
padding: 10px;
background: rgba(0, 255, 136, 0.05);
border-left: 3px solid #4ade80;
border-radius: 8px;
font-size: 0.85em;
}

.info p {
color: #888;
margin: 3px 0;
}

/* ========== FOOTER ========== */
footer {
text-align: center;
padding: 10px;
color: #666;
font-size: 0.75em;
}
