body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #fff;
    overflow-x: hidden;
}
.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
}
#animation-container {
    flex: 1;
    width: 100%;
    background-color: #000;
}
.controls {
    padding: 20px;
    background: linear-gradient(to bottom, #333, #222);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid #444;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
}
.control-item {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    margin-bottom: 10px;
}
label {
    margin-bottom: 8px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}
input[type="range"] {
    background: linear-gradient(to right, #600, #a00, #f00);
    height: 8px;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #b8860b);
    cursor: pointer;
    border: 1px solid #000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
input[type="color"] {
    width: 50px;
    height: 30px;
    border-radius: 5px;
    border: 2px solid #444;
    cursor: pointer;
}
button {
    padding: 10px 20px;
    background: linear-gradient(145deg, #d4af37, #b8860b, #800000);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 15px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3),
                inset 0 -2px 5px rgba(0,0,0,0.2),
                inset 0 2px 5px rgba(255,255,255,0.2);
    transform: translateY(0);
    transition: all 0.2s ease;
}
button:hover {
    background: linear-gradient(145deg, #e5c04e, #c99212, #900000);
    box-shadow: 0 6px 10px rgba(0,0,0,0.4),
                inset 0 -2px 5px rgba(0,0,0,0.2),
                inset 0 2px 5px rgba(255,255,255,0.3);
    transform: translateY(-2px);
}
button:active {
    background: linear-gradient(145deg, #c99212, #a67b0a, #700000);
    box-shadow: 0 2px 3px rgba(0,0,0,0.4),
                inset 0 2px 5px rgba(0,0,0,0.3);
    transform: translateY(1px);
}
.debug-panel {
    background-color: rgba(30, 30, 30, 0.9);
    padding: 10px;
    font-family: monospace;
    height: 60px;
    max-height: 60px;
    overflow-y: auto;
    border-bottom: 1px solid #444;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    color: #0f0;
    font-size: 8px;
    line-height: 1.5;
}
.debug-panel::-webkit-scrollbar {
    width: 8px;
}
.debug-panel::-webkit-scrollbar-track {
    background: #222;
}
.debug-panel::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}
.debug-panel::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.value-display {
    display: inline-block;
    min-width: 30px;
    text-align: center;
    background: linear-gradient(to bottom, #333, #222);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    border: 1px solid #444;
}
.dropdown-select {
    background: #222;
    color: #fff;
    border: 2px solid #444;
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
}
.dropdown-select:focus {
    outline: none;
    border-color: #d4af37;
}
input[type="text"] {
    background: #222;
    color: #fff;
    border: 2px solid #444;
    border-radius: 4px;
    padding: 5px;
    outline: none;
}
input[type="text"]:focus {
    border-color: #d4af37;
}