body{
    margin:0;
    background:#111;
    font-family:Arial;
}

#karera-wrap{
    width:100%;
    max-width:1400px;
    margin:auto;
    color:white;
}

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
    background:#1b1b1b;
    border-bottom:4px solid red;
}

.title{
    font-size:42px;
    font-weight:bold;
    color:#ffcc00;
}

.status{
    font-size:24px;
    color:#00ff66;
}

.controls{
    padding:20px;
    background:#181818;
}

.timer{
    font-size:36px;
    text-align:center;
    margin-bottom:20px;
}

.bet-area{
    display:flex;
    gap:10px;
    justify-content:center;
}

.bet-area select,
.bet-area input{
    padding:15px;
    font-size:20px;
    border-radius:10px;
    border:none;
}

#betBtn{
    padding:15px 25px;
    border:none;
    background:red;
    color:white;
    border-radius:10px;
    font-size:20px;
    cursor:pointer;
}

#winnerBoard{
    text-align:center;
    font-size:50px;
    font-weight:bold;
    padding:20px;
    color:#ffcc00;
}

#track{
    position:relative;
    width:100%;
    height:720px;
    background:linear-gradient(#0f6d1a,#188c2c);
    overflow:hidden;
}

.finish-line{
    position:absolute;
    right:120px;
    top:0;
    width:10px;
    height:100%;
    background:repeating-linear-gradient(
        white 0px,
        white 20px,
        black 20px,
        black 40px
    );
    z-index:2;
}

.lane{
    position:relative;
    width:100%;
    height:120px;
    border-bottom:2px dashed rgba(255,255,255,0.4);
}

.horse{
    position:absolute;
    left:10px;
    top:20px;
    font-size:70px;
    transition:0.1s linear;
    filter:drop-shadow(0 0 10px rgba(0,0,0,0.5));
}
