body {
    font-family: 'Fredoka One', cursive;
    background: #f0f8ff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

#game-container {
    width: 95%;
    max-width: 800px;
    height: 90vh;
    max-height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

#start-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#start-screen h1 {
    font-size: 3rem;
    color: #ff6347;
    margin-bottom: 30px;
}

#difficulty-selection {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

#difficulty-selection h2 {
    font-size: 1.5rem;
    color: #555;
    margin: 0 0 10px 0;
}

.difficulty-button {
    width: 200px;
}

.difficulty-button[data-difficulty="easy"] {
    background: #32cd32;
    box-shadow: 0 5px 0 #228b22;
}
.difficulty-button[data-difficulty="easy"]:active {
    box-shadow: 0 0 0 #228b22;
}

.difficulty-button[data-difficulty="medium"] {
    background: #ffc107;
    box-shadow: 0 5px 0 #d39e00;
}
.difficulty-button[data-difficulty="medium"]:active {
    box-shadow: 0 0 0 #d39e00;
}

.difficulty-button[data-difficulty="hard"] {
    background: #ff6347;
    box-shadow: 0 5px 0 #d94025;
}
.difficulty-button[data-difficulty="hard"]:active {
    box-shadow: 0 0 0 #d94025;
}

.hidden {
    display: none !important;
}

#game-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    position: relative;
}

#back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1rem;
    padding: 8px 15px;
    background: #aaa;
    box-shadow: 0 4px 0 #888;
}

#back-button:active {
    box-shadow: 0 0 0 #888;
}

#level-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #4682b4;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1.2rem;
}

#prompt {
    font-size: 1.8rem;
    color: #333;
    min-height: 60px;
}

#target-area {
    width: 150px;
    height: 150px;
    border: 5px dashed #ccc;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-shape {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    transition: transform 0.2s;
    border: 4px solid transparent;
}

#options-area {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.option-splat {
    width: 120px;
    height: 120px;
    background-image: url('paint_splat.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.option-splat:hover {
    transform: scale(1.1);
}

.option-splat.selected {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.option-color {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.correct {
    animation: bounce 0.5s ease;
}

.incorrect {
    animation: shake 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

button {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    padding: 15px 40px;
    border: none;
    background: #32cd32;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 0 #228b22;
    transition: all 0.1s ease-in-out;
}

button:active {
    transform: translateY(5px);
    box-shadow: 0 0 0 #228b22;
}

#mix-button {
    margin-top: 10px;
    font-size: 1.5rem;
    padding: 10px 30px;
}

#mixing-bowl-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.mixing-bowl-label {
    font-size: 1.2rem;
    color: #555;
}

#mixing-bowl {
    width: 150px;
    height: 75px;
    background: #eee;
    border: 5px solid #aaa;
    border-top: none;
    border-radius: 0 0 100px 100px;
    position: relative;
    overflow: hidden;
}

.mixed-color {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: background-color 0.5s;
}