/* GENEL STİLLER */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0f0f1a 0%, #1e1e2f 100%);
    color: #eee;
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

h1 {
    margin: 20px 0;
    color: #4fd1c5;
    /* soft cyan */
    text-shadow: 0 0 6px rgba(79, 209, 197, 0.5);
    text-align: center;
}

.wheel {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: radial-gradient(circle, #2a2a3c, #1f1f2e);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(79, 209, 197, 0.3);
    border: 2px solid #4fd1c5;
    text-align: center;
    padding: 10px;
}

/* SLIDER */
.slider-container {
    width: 100%;
    max-width: 350px;
    margin: 30px auto;
    position: relative;
}

#sensorSlider {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    border-radius: 12px;
    background: #333;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Slider dolma efekti */
#sensorSlider::-webkit-slider-runnable-track {
    height: 12px;
    border-radius: 12px;
    background: linear-gradient(90deg, #4fd1c5 0%, #333 0%);
}

#sensorSlider::-moz-range-track {
    height: 12px;
    border-radius: 12px;
    background: linear-gradient(90deg, #4fd1c5 0%, #333 0%);
}

/* Thumb */
#sensorSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #4fd1c5;
    box-shadow: 0 0 6px rgba(79, 209, 197, 0.5);
    transition: all 0.3s ease;
    margin-top: -8px;
}

#sensorSlider:hover::-webkit-slider-thumb {
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(79, 209, 197, 0.6);
}

/* Firefox Thumb */
#sensorSlider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #4fd1c5;
    box-shadow: 0 0 6px rgba(79, 209, 197, 0.5);
    transition: all 0.3s ease;
}

/* Label */
.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.9em;
    color: #aaa;
}

/* 3D KONTEYNER */
#container3D {
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin: 20px auto;
    border: 2px solid #4fd1c5;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at top left, #1f1f2e, #10101a);
    box-shadow: 0 0 10px rgba(79, 209, 197, 0.3) inset;
}

#content {
    width: 100%;
    height: 100%;
}

/* KONTROLLER */
.controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.controls button,
#testArea button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #4fd1c5, #2b7a78);
    border: none;
    color: white;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 6px rgba(79, 209, 197, 0.3);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.controls button:hover,
#testArea button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(79, 209, 197, 0.4);
}

#info {
    background: rgba(79, 209, 197, 0.05);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 15px rgba(79, 209, 197, 0.2) inset;
}

/* MESAFE GÖSTERGELERİ */
.view-info {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 15px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(79, 209, 197, 0.2);
    font-weight: bold;
    color: #4fd1c5;
}