/*




 */
body {
    font-family: system-ui, sans-serif;
}
body {
    font-family: system-ui, sans-serif;
    background: linear-gradient(135deg, #f8f9fc, #e0eafc);
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 36px;
    margin-top: 20px;
    color: #2c3e50;
}

.wheel-section {
    margin-top: 20px;
}

.wheel-wrapper {
    position: relative;
    display: inline-block;
}

.wheel-indicator {
    font-size: 40px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #e74c3c;
    z-index: 10;
}

#wheel-canvas {
    display: block;
    margin: auto;
    transition: transform 0.4s ease, filter 0.4s ease;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Победный эффект */
#wheel-canvas.winner-zoom {
    transform: scale(1.15);
    filter: drop-shadow(0 0 15px gold);
}

.controls-section {
    margin: 30px auto;
    padding: 20px;
    max-width: 600px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

textarea {
    width: 100%;
    height: 120px;
    resize: none;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.button-group {
    margin-top: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: #4caf50;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-start {
    display: inline-block;
    padding: 10px 16px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: red;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #45a049;
}

.options {
    margin-top: 15px;
}

#result {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    color: #2c3e50;
}

#history {
    margin-top: 10px;
    font-size: 14px;
    max-height: 100px;
    overflow-y: auto;
    padding: 8px;
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 6px;
}
