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

body {
    background: radial-gradient(circle at center, #1e293b, #0f172a);
    color: #f8fafc;
    font-family: 'Outfit', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 90vh;
    max-height: 800px;
    width: 100%;
    max-width: 500px;
    padding: 2rem 1rem;
}

.score-container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.score-board {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem 3rem;
    font-size: 3rem;
    font-weight: 900;
    color: #fcd34d;
    text-shadow: 0 0 15px rgba(252, 211, 77, 0.4);
    letter-spacing: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 250px;
    text-align: center;
}

.plant-area {
    position: relative;
    width: 200px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin: 2rem 0;
}

.plant {
    width: 180px;
    height: 280px;
    transform-origin: bottom center;
    z-index: 1;
}

.plant svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.pot {
    width: 140px;
    height: 100px;
    z-index: 2;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.6));
    margin-top: -10px;
}

.pot svg {
    width: 100%;
    height: 100%;
}

.button-area {
    width: 100%;
    display: flex;
    justify-content: center;
}

.click-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 4px solid #334155;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.8),
        inset 0 0 20px rgba(255,255,255,0.05);
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.1s, box-shadow 0.1s, border-color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.click-btn:active {
    transform: scale(0.92);
    border-color: #fcd34d;
    box-shadow: 
        0 5px 15px rgba(0,0,0,0.8),
        inset 0 0 20px rgba(252, 211, 77, 0.2);
}

.btn-inner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f8fafc, #cbd5e1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transition: background 0.2s, box-shadow 0.2s;
    border: 2px solid #94a3b8;
}

.click-btn:active .btn-inner {
    background: linear-gradient(145deg, #fcd34d, #f59e0b);
    box-shadow: 0 0 30px rgba(252, 211, 77, 0.8);
    border-color: #fef3c7;
}

/* Animations */
@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.05) scaleY(1.02); }
    100% { transform: scale(1); }
}

.animate-pop {
    animation: pop 0.15s ease-out;
}

@keyframes grow {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.plant-enter {
    animation: grow 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes floatScore {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-40px); opacity: 0; }
}

.floating-text {
    position: absolute;
    color: #fcd34d;
    font-size: 1.5rem;
    font-weight: bold;
    pointer-events: none;
    animation: floatScore 0.8s ease-out forwards;
    z-index: 100;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
