.effects-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    padding: 6px 10px;
    margin-left: 10px;
    transition: all 0.2s ease;
    font-size: 16px;
}

.effects-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.modal-content-effects {
    background: var(--bg-light);
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(93, 92, 222, 0.3);
}

body.dark .modal-content-effects {
    background: var(--bg-dark);
    border: 1px solid rgba(93, 92, 222, 0.5);
}

.modal-body-effects {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.effect-section {
    background: rgba(93, 92, 222, 0.05);
    border: 1px solid rgba(93, 92, 222, 0.2);
    border-radius: 12px;
    padding: 20px;
}

body.dark .effect-section {
    background: rgba(93, 92, 222, 0.1);
    border: 1px solid rgba(93, 92, 222, 0.3);
}

.effect-title {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.knobs-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.knob-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.knob-container {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.effect-knob {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f0f0, #d0d0d0);
    border: 3px solid var(--primary-color);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: all 0.2s ease;
}

body.dark .effect-knob {
    background: linear-gradient(135deg, #404040, #606060);
}

.effect-knob::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.effect-knob::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.effect-knob:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(93, 92, 222, 0.3);
}

.knob-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 2px 4px;
    min-width: 35px;
}

body.dark .knob-value {
    background: rgba(0, 0, 0, 0.7);
    color: #e0e0e0;
}

.knob-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.save-section {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid rgba(93, 92, 222, 0.2);
}

.save-effects-btn {
    background-color: #28a745;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.save-effects-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

@media (max-width: 768px) {
    .knobs-container {
        gap: 20px;
    }
    
    .knob-container {
        width: 70px;
        height: 70px;
    }
    
    .effect-knob {
        width: 50px;
        height: 50px;
    }
    
    .knob-value {
        font-size: 9px;
        min-width: 30px;
    }
    
    .modal-content-effects {
        width: 95%;
    }
}