body {
    background: #0a0a23;
    color: #fff;
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
}
.container {
    max-width: 420px;
    margin: 0 auto;
    background: rgba(20, 20, 40, 0.95);
    border-radius: 18px;
    box-shadow: 0 0 24px #00ffe7, 0 0 4px #00ffe7 inset;
    padding: 32px 28px 36px 28px;
    text-align: center;
    position: relative;
}
h1 {
    font-size: 2.2em;
    color: #00ffe7;
    letter-spacing: 2px;
    margin-bottom: 18px;
    text-shadow: 0 0 8px #00ffe7, 0 0 2px #fff;
}
.hud {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1px;
    font-size: 1.1em;
}
.word-area {
    margin: 15px 0 12px 0;
    font-size: 2.1em;
    font-weight: bold;
    color: #ff00cc;
    text-shadow: 0 0 8px #ff00cc, 0 0 2px #fff;
}
input[type="text"] {
    width: 80%;
    padding: 10px 12px;
    font-size: 1.1em;
    border: 2px solid #00ffe7;
    border-radius: 8px;
    background: #181830;
    color: #fff;
    margin-bottom: 12px;
    outline: none;
    box-shadow: 0 0 8px #00ffe7 inset;
    transition: border 0.2s;
}
input[type="text"]:focus {
    border: 2px solid #ff00cc;
}
button {
    background: linear-gradient(90deg, #00ffe7, #ff00cc);
    color: #181830;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    margin: 0 8px 10px 8px;
    box-shadow: 0 0 8px #00ffe7;
    transition: background 0.2s, color 0.2s;
}
button:hover {
    background: linear-gradient(90deg, #ff00cc, #00ffe7);
    color: #fff;
}
#feedback {
    min-height: 28px;
    font-size: 1.2em;
    margin: 8px 0 0 0;
    color: #fff;
    text-shadow: 0 0 6px #00ffe7;
}
#feedback.correct {
    color: #00ffe7;
    text-shadow: 0 0 8px #00ffe7, 0 0 2px #fff;
}
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(10,10,35,0.92);
    justify-content: center;
    align-items: center;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: #181830;
    color: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 0 18px #00ffe7;
    max-width: 400px;
    text-align: left;
    position: relative;
}
.close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 1.6em;
    color: #ff00cc;
    cursor: pointer;
}
@media (max-width: 600px) {
    .container {
        max-width: 98vw;
        padding: 16px 4vw 24px 4vw;
    }
    .modal-content {
        padding: 18px 8px;
    }
}