#start-container {
    text-align: center;
    max-width: 500px;
}

#start-container h1 {
    font-size: 3em;
}

#score-container {
    font-size: 1.5em;
    color: #00509e;
    margin-bottom: 15px;
}

.hidden {
    display: none;
}

body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', sans-serif;
    background-color: #f0f8ff;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

#game-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 90%;
    width: 500px;
}

h1 {
    color: #00509e;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.letter-container, .drop-zone {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    margin: 20px 0;
    min-height: 60px;
}

.drop-zone {
    border: 3px dashed #00509e;
    border-radius: 10px;
    background-color: #e6f7ff;
}

.letter-tile {
    background-color: #ff6b6b;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    margin: 5px;
    border-radius: 10px;
    cursor: grab;
    user-select: none;
    transition: transform 0.2s;
}

.letter-tile.dragging {
    opacity: 0.5;
    transform: scale(1.1);
}

.feedback {
    font-size: 1.2em;
    margin: 10px 0;
    min-height: 24px;
}

button {
    background-color: #00509e;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 10px;
    cursor: pointer;
    margin: 10px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #003366;
}

#reset-btn {
    background-color: #ff6b6b;
}

#reset-btn:hover {
    background-color: #c44d4d;
}

#hint-container {
    margin-top: 15px;
    min-height: 20px;
}

#hint-text {
    font-style: italic;
    color: #555;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    #start-container h1 {
        font-size: 2.5em;
    }

    .letter-tile {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }

    button {
        padding: 12px 25px;
        font-size: 1em;
    }
}
