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

body {
    background-color: #121212;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f5f5f5;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin-top: -100px !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    padding: 2rem 1rem 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}
canvas {
    border-radius: 8px;
    margin-bottom: 1rem;
    max-width: 100%;
    height: auto;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: rgba(18, 18, 18, 0.9);
    padding: 1rem 1rem 1.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
}
.control-group {
    min-width: 120px;
}

h3 {
    margin-bottom: 0.75rem;
    color: #f5f5f5;
    font-size: 1rem;
}

.button-group {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    background-color: #333;
    color: #f5f5f5;
    border: none;
    border-radius: 4px;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
    font-size: 0.9rem;
}

.control-btn:hover {
    background-color: #444;
}

.control-btn.active {
    background-color: #8860f5;
    color: white;
}

.slider-container {
    width: 100%;
    padding: 0 10px;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;  
    background: #333;
    outline: none;
    margin-top: 8px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%; 
    background: #8860f5;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #8860f5;
    cursor: pointer;
    border: none;
}
