* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2em;
}

.wheel-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.wheel-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

#wheelCanvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.needle {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 40px solid #ff4444;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section label {
    font-weight: bold;
    color: #555;
}

.section input[type="number"] {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
}

.section button {
    padding: 12px 24px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.section button:hover {
    background: #5568d3;
}

.start-button {
    background: #ff6b6b !important;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 30px;
    margin-top: 10px;
}

.start-button:hover {
    background: #ee5a5a !important;
}

.start-button:disabled {
    background: #ccc !important;
    cursor: not-allowed;
}

#inputsContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.input-group input {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
}

h3 {
    color: #333;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .wheel-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .container {
        padding: 20px;
    }
}

