body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
    background: #000;
}

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

#map {
    width: 100%;
    height: 100%;
}

.controls {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 280px;
    background: rgba(15, 15, 20, 0.9);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 10;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

h1 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.control-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toggle-group {
    display: flex;
    background: #222;
    border-radius: 4px;
    padding: 2px;
}

.toggle-group button {
    flex: 1;
    background: transparent;
    border: none;
    color: #888;
    padding: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    border-radius: 3px;
    transition: all 0.2s;
}

.toggle-group button.active {
    background: #444;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input[type="range"] {
    width: 100%;
    accent-color: #007bff;
}

.stats {
    font-size: 0.9rem;
    color: #eee;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 4px;
}

.stats p {
    margin: 5px 0;
}

#tooltip {
    position: absolute;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
    pointer-events: none;
    display: none;
    z-index: 20;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
}
