/* Debug menu styles */
.debug-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.debug-menu-content {
    background: #2c3e50;
    color: white;
    border-radius: 8px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

.debug-menu h3 {
    color: #ecf0f1;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.debug-section {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #34495e;
    padding-bottom: 1rem;
}

.debug-section:last-of-type {
    border-bottom: none;
}

.debug-section h4 {
    color: #3498db;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.debug-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.debug-row:last-child {
    margin-bottom: 0;
}

.debug-row label {
    min-width: 100px;
    font-size: 0.9rem;
    color: #ecf0f1;
}

.debug-row input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #34495e;
    border-radius: 4px;
    background: #34495e;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
}

.debug-row input:focus {
    outline: none;
    border-color: #3498db;
}

.debug-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    min-width: 60px;
}

.debug-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.debug-btn.close {
    background: #e74c3c;
    width: 100%;
    margin-top: 1rem;
}

.debug-btn.close:hover {
    background: #c0392b;
}

.debug-actions {
    margin-top: 1.5rem;
    text-align: center;
}

/* Add new sliders style */
.debug-slider {
    width: 100%;
    margin: 0.5rem 0;
}

.debug-slider label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: #ecf0f1;
}

.debug-slider input[type="range"] {
    width: 100%;
    height: 4px;
    background: #34495e;
    outline: none;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.debug-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #3498db;
    border-radius: 50%;
    cursor: pointer;
}

.debug-value {
    font-size: 0.8rem;
    color: #bdc3c7;
    margin-left: 0.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}