*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,sans-serif;
    background:#111827;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
}

.container{
    width:820px;
    max-width:95%;
    text-align:center;
    background:#1f2937;
    padding:40px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

h1{
    margin-bottom:12px;
    font-size:2rem;
}

.subtitle{
    color:#cbd5e1;
    margin-bottom:30px;
    line-height:1.6;
}

.track{
    width:100%;
    background:#2d3748;
    border:3px dashed #475569;
    border-radius:14px;
    padding:15px;
    margin-bottom:30px;
}

.lane{
    position:relative;
    height:80px;
    background:rgba(255,255,255,.03);
    border-radius:12px;
    margin-bottom:15px;
    overflow:hidden;
}

.label{
    position:absolute;
    left:15px;
    top:8px;
    font-size:13px;
    color:#cbd5e1;
}

#songomby,
#horse{
    position:absolute;
    left:10px;
    top:28px;
    font-size:46px;
    transition:left .05s linear;
}

.stats{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:25px;
}

.card{
    background:#111827;
    border-radius:12px;
    padding:18px;
    min-width:220px;
}

.card h3{
    margin-bottom:10px;
}

.card p{
    margin:6px 0;
    font-size:18px;
}

#songSpeed,
#songKm{
    color:#f59e0b;
    font-weight:bold;
}

#speed,
#horseKm{
    color:#22c55e;
    font-weight:bold;
}

button{
    background:#2563eb;
    color:white;
    border:none;
    padding:14px 28px;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    transition:.2s;
}

button:hover{
    transform:translateY(-2px);
}

button:disabled{
    opacity:.6;
    cursor:not-allowed;
}

#result{
    margin-top:25px;
    font-size:20px;
    font-weight:bold;
    min-height:28px;
}