* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', sans-serif;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    font-size: 2em;
}

.instructions {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.game-area {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.curry-display {
    text-align: center;
}

.curry-plate {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
}

.curry {
    width: 150px;
    height: 150px;
    border-radius: 45% 55% 50% 50%;
    transition: background-color 0.3s ease;
}

.curry-display p {
    font-weight: 600;
    color: #555;
}

.controls {
    margin-bottom: 30px;
}

.slider-group {
    margin-bottom: 20px;
}

.slider-group label {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-group span:first-child {
    min-width: 100px;
    font-weight: 600;
    color: #333;
}

input[type="range"] {
    flex: 1;
    height: 8px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b6b;
    cursor: pointer;
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b6b;
    cursor: pointer;
    border: none;
}

.slider-group span:last-child {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: #666;
}

.score-area {
    text-align: center;
    margin-bottom: 20px;
}

.score-area p {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #333;
}

#accuracy {
    font-weight: bold;
    color: #ff6b6b;
    font-size: 1.3em;
}

button {
    padding: 12px 30px;
    font-size: 1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    margin: 0 5px;
}

#checkButton {
    background: #ff6b6b;
    color: white;
}

#checkButton:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

#newGameButton {
    background: #4ecdc4;
    color: white;
}

#newGameButton:hover {
    background: #45b7af;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.result {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s;
}

.result.show {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    .game-area {
        gap: 20px;
    }
    
    .curry-plate {
        width: 150px;
        height: 150px;
    }
    
    .curry {
        width: 110px;
        height: 110px;
    }
}

