body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; 
    background-color: #ecf0f1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.3s ease;
}

#garden {
    width: 100vw;
    height: 100vh;
    position: relative;
    background-image: url('your-1080p-image.jpg'); 
    background-size: 100% 100%;      
    background-position: center; 
    background-repeat: no-repeat;
}

/* UI Container (Top Left) */
.ui-container {
    position: fixed;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px; 
    z-index: 100;
    transition: opacity 0.3s ease; 
}

/* Common Hidden State for UI elements */
.ui-container.hidden, .options-btn.hidden {
    opacity: 0;
    pointer-events: none; 
}

.fullscreen-btn {
    padding: 10px 15px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    pointer-events: auto; 
}

.fullscreen-btn:active {
    background-color: #34495e;
    transform: translateY(1px);
}

.status-text {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

/* Bug Styling */
.bug {
    position: absolute;
    width: 1.53vmin; 
    height: auto;
    pointer-events: none;
    will-change: transform;
    image-rendering: -webkit-optimize-contrast; 
    transform-origin: center;
    transition: filter 0.3s ease;
}

@media (max-width: 768px) {
    .bug {
        width: 4.6vmin; 
    }
}

/* =========================================
   OPTIONS MENU & DARK MODE
   ========================================= */

body.dark-mode {
    background-color: #323339; 
}

body.dark-mode .bug {
    filter: brightness(0);
}

body.dark-mode .status-text {
    color: #95a5a6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

body.dark-mode .options-menu {
    background: rgba(44, 62, 80, 0.95);
    color: #ecf0f1;
}

.options-btn {
    position: fixed;
    bottom: 15px;
    left: 15px;
    padding: 10px 15px;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 100;
    transition: opacity 0.3s ease, background-color 0.2s, transform 0.2s; 
}

.options-btn:hover {
    background-color: #3498db;
}

.options-menu {
    position: fixed;
    bottom: 60px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 250px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.options-menu.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.options-menu h3 {
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #bdc3c7;
    padding-bottom: 5px;
}

.options-menu label {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    font-weight: bold;
    gap: 5px;
}

.options-menu .toggle-label {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.options-menu input[type="range"] {
    width: 100%;
    cursor: pointer;
}

.options-menu button {
    margin-top: 5px;
    padding: 10px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}
