body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #6dd5ed, #2193b0);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#game-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 90%;
    max-width: 500px;
    position: relative;
}

#score-container {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

#score-container span {
    margin: 0 0.5rem;
}

h1 {
    color: #005a7e;
    margin-bottom: 1.5rem;
}

#puzzle-area {
    margin-bottom: 1.5rem;
}

#word-image {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    border-radius: 15px;
    border: 3px solid #0078a3;
    margin-bottom: 1rem;
    object-fit: contain;
}

#word-display {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.5rem;
    color: #005a7e;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blank {
    display: inline-block;
    width: 40px;
    height: 50px;
    border-bottom: 4px solid #0078a3;
    margin: 0 0.2em;
    vertical-align: middle;
    line-height: 50px;
    color: #d9534f;
}

.blank.filled {
    border-bottom: 4px solid #5cb85c;
    color: #4cae4c;
}

#vowel-selection {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vowel {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 15px;
    background-color: #f0ad4e;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px #c0802a;
}

.vowel:hover {
    background-color: #ec971f;
    transform: translateY(-2px);
}

.vowel:active {
    transform: translateY(2px);
    box-shadow: 0 2px #c0802a;
}

.vowel.disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: 0 4px #999;
}

#feedback {
    min-height: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feedback-correct {
    color: #5cb85c;
}

.feedback-incorrect {
    color: #d9534f;
}

button.hidden, .hidden {
    display: none;
}

#next-word-btn, #restart-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    background-color: #5cb85c;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 4px #4cae4c;
}

#next-word-btn:hover, #restart-btn:hover {
    background-color: #4CAF50;
}