body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: #0d0d0d;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.math-duel-container {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

h1 {
    text-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00;
    margin-bottom: 20px;
}

.controls button {
    padding: 10px 20px;
    margin: 0 5px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background: #ffcc00;
    color: #000;
    font-weight: bold;
    transition: 0.3s;
}

.controls button:hover {
    box-shadow: 0 0 10px #ffcc00;
}

.players-container {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.player {
    width: 45%;
}

.track {
    width: 100%;
    height: 50px;
    background: #222;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px #444;
}

.runner {
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    line-height: 50px;
    font-size: 30px;
    animation: glow 1s infinite alternate;
}

@keyframes glow {
    0% { text-shadow: 0 0 5px #ffcc00, 0 0 10px #ffcc00; }
    100% { text-shadow: 0 0 20px #ffcc00, 0 0 30px #ffcc00; }
}

.question-container {
    margin-top: 30px;
}

.question-container input {
    padding: 10px;
    font-size: 16px;
    width: 100px;
    margin-right: 10px;
    border-radius: 5px;
    border: none;
    text-align: center;
}

.question-container button {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    background: #ffcc00;
    color: #000;
    font-weight: bold;
    cursor: pointer;
}
