body {
    background: #0a0a2397;
    color: #fff;
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
}
.container {
    max-width: 480px;
    margin: 60px auto 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: 18px;
    font-size: 1.1em;
}
.sentence-area {
    min-height: 48px;
    margin: 22px 0 18px 0;
    font-size: 1.3em;
    font-weight: bold;
    color: #ff00cc;
    text-shadow: 0 0 8px #ff00cc, 0 0 2px #fff;
    border-bottom: 2px solid #00ffe7;
    padding-bottom: 8px;
}
.word-bank {
    margin: 18px 0 18px 0;
}
.word-btn {
    color: #181830;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.95em;
    font-weight: bold;
    cursor: pointer;
    margin: 4px 4px 4px 0;
    box-shadow: 0 0 8px #00ffe7;
    transition: background 0.2s, color 0.2s;
}
.word-btn:nth-child(5n+1) { background: linear-gradient(90deg, #00ffe7, #00bfff); }
.word-btn:nth-child(5n+2) { background: linear-gradient(90deg, #ff00cc, #ff8800); }
.word-btn:nth-child(5n+3) { background: linear-gradient(90deg, #ffea00, #00ff85); }
.word-btn:nth-child(5n+4) { background: linear-gradient(90deg, #ff0080, #8000ff); }
.word-btn:nth-child(5n)   { background: linear-gradient(90deg, #00ffea, #ff0040); }
.word-btn.selected {
    background: #ff00cc;
    color: #fff;
    box-shadow: 0 0 8px #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;
    }
}