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

body {
    background: #000;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Lock Screen Styles */
#lock-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lock-content {
    text-align: center;
    color: white;
}

.lock-content h2 {
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

#password-input {
    padding: 10px 15px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    outline: none;
    margin-right: 10px;
}

#password-input:focus {
    border-color: #666;
}

#unlock-btn {
    padding: 10px 20px;
    background: white;
    color: black;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

#unlock-btn:hover {
    background: #ddd;
}

#error-msg {
    color: #ff4444;
    margin-top: 1rem;
    font-size: 14px;
    height: 20px;
}

/* Control Panel */
.controls-container {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #111;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #222;
    z-index: 100;
    color: white;
    width: 240px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.control-group:last-child {
    margin-bottom: 0;
}

.control-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/* Custom Range Slider */
.control-group input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #333;
    border-radius: 2px;
    outline: none;
    margin: 10px 0;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.1s ease;
}

.control-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Text Input */
.control-group input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    background: #000;
    border: 1px solid #333;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.control-group input[type="text"]:focus {
    border-color: #555;
}/* Back Link Styles */
.back-link {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.back-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

.back-link svg {
    width: 18px;
    height: 18px;
}