/* ==========================================================
   SMART PLAY WIN
   LANDING PAGE
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Tahoma, Verdana, Arial, sans-serif;
}

body{

    background:#d79b00;

    padding:18px;

}

.wrapper{

    max-width:1200px;

    margin:auto;

    background:#2b2f83;

    border-radius:20px;

    padding:18px;

    box-shadow:0 8px 25px rgba(0,0,0,.35);

}


/*======================================================
LOGO
======================================================*/

.hero{

    text-align:center;

    color:#fff;

    margin-bottom:15px;

}

.logo-block h1{

    font-size:56px;

    font-weight:900;

    letter-spacing:1px;

    line-height:1;

}

.logo-block span{

    color:#ffd000;

}

.logo-block em{

    color:#ff5252;

    font-style:normal;

}

.logo-block p{

    margin-top:8px;

    font-size:16px;

}


/*======================================================
TIMER
======================================================*/

.timer-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:10px;

    margin-top:15px;

}

.card{

    background:#fff;

    border-radius:8px;

    padding:10px;

    text-align:center;

    font-size:15px;

    font-weight:bold;

    box-shadow:0 3px 8px rgba(0,0,0,.25);

}


/*======================================================
BOARD
======================================================*/

.board{

    margin-top:18px;

    width:fit-content;

    margin-left:auto;

    margin-right:auto;
    border-radius:10px;

}

.board-head{

    display:grid;

    grid-template-columns:

    210px
    38px
    48px
    repeat(10,48px)
    70px
    80px
    110px;

    

    color:#fff;

    font-weight:bold;

}

.board-head div{

    text-align:center;

    padding:6px;
    background:#990000;
    border:1px solid #ffb300;
    border-radius:10px;

}

.timer-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:15px;

    margin:20px 0;

}

.card{

    height:70px;

    border-radius:10px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    color:#000;

    font-weight:bold;

    box-shadow:0 4px 10px rgba(0,0,0,.35);

}

.card:nth-child(1){

    background:#ffe600;

}

.card:nth-child(2){

    background:#37ff00;

}

.card:nth-child(3){

    background:#ff19f5;

}

.card:nth-child(4){

    background:#ff6b00;

    color:#fff;

}

.card small{

    font-size:17px;

}

.card strong{

    margin-top:4px;

    font-size:28px;

}
/*======================================================
ROWS
======================================================*/

.row{

    display:grid;

    grid-template-columns:

    210px
    38px
    48px
    repeat(10,48px)
    70px
    80px
    110px;
    font-weight:700;
    height:58px;

}

.row>div{

    border:1px solid #ffb300;
    border-radius:10px;
    display:flex;

    align-items:center;

    justify-content:center;

    color:#000;

    font-size:15px;

}


/*======================================================
GAME NAME
======================================================*/

.game{

    display:flex;

    flex-direction:column;

    justify-content:center;

    color:#fff !important;

    font-size:18px;

    font-weight:bold;

}

.game small{

    font-size:11px;

    margin-top:2px;

}


/*======================================================
ROW COLORS
======================================================*/

.row:nth-child(2) div:not(:last-child){

    background:#d3153f;

}

.row:nth-child(3) div:not(:last-child){

    background:#8bc928;

}

.row:nth-child(4) div:not(:last-child){

    background:#2c69b0;

}

.row:nth-child(5) div:not(:last-child){

    background:#ffa131;

}

.row:nth-child(6) div:not(:last-child){

    background:#9d4313;

}

.row:nth-child(7) div:not(:last-child){

    background:#e400d5;

}


/*======================================================
INPUTS
======================================================*/

.bet{

    width:40px;

    height:25px;

    border:1px solid #222;

    border-radius:5px;

    text-align:center;

    background:#fff;

    font-size:14px;

}

.qty,

.amt{

    width:55px;

    height:25px;

    border:1px solid #222;

    border-radius:5px;

    text-align:center;

    font-weight:bold;

    background:#fff;

}


/*======================================================
RESULT COLUMN
======================================================*/

.row div:last-child{

    background:#fff46b;

    font-size:20px;

    font-weight:bold;

}


/*======================================================
LOGIN
======================================================*/

.login{

    display:flex;

    justify-content:center;

    gap:10px;

    margin-top:15px;

}

.login input{

    width:180px;

    height:34px;

    border-radius:4px;

    border:1px solid #888;

    padding-left:10px;

}

.login button{

    width:80px;

    border:none;

    background:#ffd000;

    font-weight:bold;

    border-radius:5px;

}


/*======================================================
BUTTONS
======================================================*/

.buttons{

    display:flex;

    justify-content:center;

    gap:10px;

    margin-top:15px;

    flex-wrap:wrap;

}

.buttons button{

    background:#ffd000;

    border:none;

    padding:10px 18px;

    border-radius:8px;

    font-weight:bold;

    cursor:pointer;

}

.buttons button:hover{

    background:#ffb900;

}


/*======================================================
RESPONSIVE
======================================================*/
/*======================================================
MOBILE
======================================================*/

@media (max-width:768px){

body{

    padding:0;

    overflow-x:hidden;

}

.wrapper{

    width:100%;

    border-radius:0;

    padding:10px;

    min-height:100vh;

}

/*--------------------------
LOGO
--------------------------*/

.logo-block h1{

    font-size:42px;

    line-height:1;

}

.logo-block p{

    font-size:15px;

}

/*--------------------------
TIMER
--------------------------*/

.timer-grid{

    grid-template-columns:repeat(2,1fr);

    gap:8px;

    margin:15px 0;

}

.card{

    height:60px;

    padding:5px;

}

.card small{

    font-size:13px;

}

.card strong{

    font-size:18px;

}

/*--------------------------
BOARD
--------------------------*/

.board{

    width:100%;

    overflow-x:auto;

    overflow-y:hidden;

    -webkit-overflow-scrolling:touch;

    padding-bottom:5px;

}

/* Don't shrink the board */

.board-head,

.row{

    min-width:1040px;

}

/* Sticky Header */

.board-head{

    position:sticky;

    top:0;

    z-index:30;

}



/* Sticky Result */

.board-head div:last-child,

.row div:last-child{

    position:sticky;

    right:0;

    z-index:25;

    background:#fff46b !important;

    box-shadow:-3px 0 5px rgba(0,0,0,.25);

}

/*--------------------------
LOGIN
--------------------------*/

.login{

    margin-top:15px;

    display:grid;

    grid-template-columns:1fr;

    gap:8px;

}

.login input{

    width:100%;

}

.login button{

    width:100%;

    height:38px;

}

/*--------------------------
BUTTONS
--------------------------*/

.buttons{

    margin-top:15px;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:8px;

}

.buttons button{

    width:100%;

    padding:10px;

    font-size:14px;

}

/* Android button full width */

.buttons button:last-child{

    grid-column:1 / span 2;

}

}