/* ---- Moved from hangman.html <style> ---- */
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #e0f2f1 0%, #f3e5f5 50%, #e3f2fd 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.game-container {
    background: transparent;
    border-radius: 0;
    padding: 20px;
    box-shadow: none;
    text-align: center;
    max-width: 100%;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
h1 {
    color: #1565c0;
    margin-bottom: 20px;
}
.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    font-weight: 600;
    color: #1976d2;
}
.hangman-drawing {
    margin: 20px auto;
    width: 200px;
    height: 200px;
    border: 2px solid #ddd;
    border-radius: 12px;
    background: #f9f9f9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hangman-svg {
    width: 150px;
    height: 150px;
}
.word-display {
    margin: 30px 0;
    font-size: 2.5em;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: #1565c0;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.letter {
    display: inline-block;
    width: 40px;
    height: 50px;
    border-bottom: 4px solid #1565c0;
    margin: 0 5px;
    text-align: center;
    line-height: 50px;
}
.keyboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    gap: 8px;
    max-width: 500px;
    margin: 20px auto;
}
.key {
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
}
.key:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    transform: translateY(-2px);
}
.key.used {
    background: linear-gradient(135deg, #666 0%, #888 100%);
    cursor: not-allowed;
    transform: none;
}
.key.correct {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}
.key.wrong {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}
.controls {
    margin-top: 20px;
}
button {
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
}
button:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    transform: translateY(-2px);
}
.back-btn {
    background: linear-gradient(135deg, #666 0%, #888 100%);
    margin-top: 20px;
}
.back-btn:hover {
    background: linear-gradient(135deg, #888 0%, #666 100%);
}
.new-game-btn {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}
.new-game-btn:hover {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
}
.instructions {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 14px;
    color: #1565c0;
}
.message {
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: 600;
    font-size: 18px;
}
.message.win {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
}
.message.lose {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
}
.hint {
    background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
    color: white;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    font-weight: 600;
} 