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

body {
    overflow: hidden;
    font-family: 'Space Grotesk', sans-serif;
    background: #4a7c3c;
    cursor: none;
}

#scene-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

#hud {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    pointer-events: none;
}

#nettle-counter, #total-score {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 
        2px 2px 0 #2d5a1e,
        -1px -1px 0 #2d5a1e,
        1px -1px 0 #2d5a1e,
        -1px 1px 0 #2d5a1e;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

#total-score {
    font-size: 1.1rem;
    opacity: 0.9;
}

#victory-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 200;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#victory-message.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.victory-text {
    font-family: 'Bangers', cursive;
    font-size: 3rem;
    color: #FFD700;
    text-shadow: 
        3px 3px 0 #8B4513,
        -2px -2px 0 #8B4513,
        2px -2px 0 #8B4513,
        -2px 2px 0 #8B4513,
        0 0 30px rgba(255, 215, 0, 0.5);
    animation: pulse 0.5s ease-in-out infinite alternate;
}

.victory-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    margin-top: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

#instructions {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    color: #fff;
    text-shadow: 2px 2px 0 #2d5a1e;
    pointer-events: none;
    animation: bounce 2s ease-in-out infinite;
    transition: opacity 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.desktop-only {
    display: inline;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: inline;
    }
    
    #hud {
        top: 10px;
        left: 10px;
    }
    
    #nettle-counter {
        font-size: 1.2rem;
    }
    
    #total-score {
        font-size: 0.9rem;
    }
    
    .victory-text {
        font-size: 2rem;
    }
    
    #instructions {
        font-size: 1rem;
        bottom: 60px;
    }
}

#remix-link {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 100;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    transition: all 0.3s;
}

#remix-link:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
}