* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    overflow: hidden;
    background: #000;
    color: #fff;
}

#container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#ocean {
    display: block;
    cursor: none;
}

#controls {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 250px;
}

#stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    color: #00ffcc;
}

#stats span {
    display: block;
}

#settings {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#settings label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    color: #aaa;
}

#settings input[type="range"] {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

#settings input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #00ffcc;
    border-radius: 50%;
    cursor: pointer;
}

#settings input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #00ffcc;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

#settings input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

#settings label:has(input[type="checkbox"]) {
    flex-direction: row;
    align-items: center;
}

#instructions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #aaa;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    #controls {
        top: 10px;
        left: 10px;
        right: 10px;
        padding: 15px;
        min-width: auto;
    }
    
    #instructions {
        bottom: 10px;
        padding: 10px 20px;
        font-size: 12px;
    }
}