/* =====================================================
   JEDDAHPOOLS
   STYLE.CSS
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    background:#071321;

    color:#fff;

    font-family:'Poppins',sans-serif;

    overflow-x:hidden;

}

a{
    text-decoration:none;
    color:#fff;
}

ul{
    list-style:none;
}

img{
    max-width:100%;
    display:block;
}

.container{

    width:92%;

    max-width:1400px;

    margin:auto;

}

/* ===========================
        HEADER
=========================== */

header{

    width:100%;

    background:#081425;

    border-bottom:1px solid rgba(255,255,255,.08);

    position:sticky;

    top:0;

    z-index:999;

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:90px;

}

/* LOGO */

.logo img{

    width:230px;

}

/* NAVBAR */

nav ul{

    display:flex;

    align-items:center;

    gap:35px;

}

nav ul li{

    position:relative;

}

nav ul li a{

    color:#fff;

    font-size:15px;

    font-weight:600;

    transition:.3s;

    display:flex;

    gap:8px;

    align-items:center;

}

nav ul li a i{

    font-size:13px;

}

nav ul li:hover a{

    color:#ffcb05;

}

nav ul li.active a{

    color:#ffcb05;

}

nav ul li.active::after{

    content:"";

    position:absolute;

    width:100%;

    height:3px;

    background:#ffcb05;

    left:0;

    bottom:-32px;

    border-radius:20px;

}

/* RIGHT HEADER */

.header-right{

    display:flex;

    align-items:center;

    gap:18px;

}

/* CLOCK */

.clock{

    width:165px;

    background:#15253b;

    border-radius:10px;

    padding:10px;

    text-align:center;

}

#currentDate{

    font-size:13px;

    font-weight:600;

}

#currentTime{

    margin-top:5px;

    font-size:20px;

    font-weight:700;

    color:#fff;

}

/* BUTTON */

.vip-btn{

    background:#ffcb05;

    color:#111;

    font-weight:700;

    padding:14px 22px;

    border-radius:8px;

    transition:.3s;

}

.vip-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(255,203,5,.35);

}
/* =====================================================
   LIVE RESULT SECTION
===================================================== */

.live-wrapper{

    margin-top:20px;

}

.live-card{

    background:linear-gradient(135deg,#08152b,#0d1d38);

    border:1px solid rgba(255,255,255,.08);

    border-radius:14px;

    padding:28px;

    display:grid;

    grid-template-columns:1fr 1fr 1fr;

    gap:30px;

    align-items:center;

}

.live-left{

    border-left:6px solid #ffcb05;

    padding-left:25px;

}

.live-left h2{

    color:#ffcb05;

    font-size:38px;

    margin-bottom:25px;

    font-weight:700;

}

.live-left span{

    color:#b8c4d7;

    display:block;

    margin-bottom:10px;

}

.live-left h3{

    font-size:42px;

    font-weight:700;

}

.live-center{

    text-align:center;

}

.live-center p{

    color:#d9d9d9;

    font-size:18px;

    margin-bottom:10px;

    letter-spacing:2px;

}

.result-number{

    font-size:110px;
    font-weight:900;

    color:#FFC107;

    line-height:1;

    text-shadow:none;

}

.live-right{

    text-align:center;

}

.live-right h3{

    font-size:32px;

    margin-bottom:10px;

}

.live-right h2{

    color:#ffcb05;

    margin-bottom:25px;

    font-size:36px;

}

.countdown{

    display:flex;

    justify-content:center;

    gap:15px;

}

.count-item{

    width:95px;

    background:#13233b;

    border-radius:10px;

    padding:18px 0;

    border:1px solid rgba(255,255,255,.08);

}

.count-item h1{

    font-size:42px;

}

.count-item p{

    margin-top:8px;

    font-size:13px;

    color:#b9c3d5;

}

.next-date{

    margin-top:25px;

    color:#c7d3e5;

}

/* =====================================================
   INFO BOX
===================================================== */

.info-grid{

    margin-top:20px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}

.info-card{

    background:#0c1a30;

    border-radius:12px;

    padding:22px;

    display:flex;

    align-items:center;

    gap:18px;

    border:1px solid rgba(255,255,255,.08);

    transition:.3s;

}

.info-card:hover{

    transform:translateY(-4px);

}

.info-icon{

    width:65px;

    height:65px;

    border-radius:12px;

    background:#162744;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:28px;

    color:#fff;

}

.info-text small{

    color:#b6c2d2;

    display:block;

    margin-bottom:6px;

}

.info-text h4{

    font-size:22px;

}
/* =====================================================
   HISTORY RESULT
===================================================== */

.history-section{

    margin-top:35px;

    background:#0c1a30;

    border-radius:14px;

    padding:25px;

    border:1px solid rgba(255,255,255,.08);

}

.history-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

    flex-wrap:wrap;

    gap:15px;

}

.history-header h2{

    font-size:28px;

    color:#ffcb05;

}

/* SEARCH */

.search-box{

    position:relative;

    width:320px;

}

.search-box input{

    width:100%;

    padding:14px 45px 14px 18px;

    border:none;

    outline:none;

    border-radius:10px;

    background:#13233b;

    color:#fff;

    font-size:15px;

}

.search-box input::placeholder{

    color:#8fa2bc;

}

.search-box i{

    position:absolute;

    right:16px;

    top:50%;

    transform:translateY(-50%);

    color:#ffcb05;

}

/* TABLE */

.table-responsive{

    width:100%;

    overflow-x:auto;

}

.result-table{

    width:100%;

    border-collapse:collapse;

}

.result-table thead{

    background:#ffcb05;

}

.result-table thead th{

    color:#111;

    padding:16px;

    text-align:center;

    font-size:15px;

    font-weight:700;

}

.result-table tbody td{

    text-align:center;

    padding:18px;

    border-bottom:1px solid rgba(255,255,255,.08);

    font-size:15px;

}

.result-table tbody tr{

    transition:.3s;

}

.result-table tbody tr:hover{

    background:#162744;

}

.result-number-table{

    color:#ffcb05;

    font-size:22px;

    font-weight:700;

    letter-spacing:2px;

}

/* PAGINATION */

.pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin-top:25px;

    flex-wrap:wrap;

}

.pagination a{

    width:42px;

    height:42px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#13233b;

    color:#fff;

    border-radius:8px;

    transition:.3s;

    font-weight:600;

}

.pagination a:hover{

    background:#ffcb05;

    color:#111;

}

.pagination a.active{

    background:#ffcb05;

    color:#111;

}
/* =====================================================
   FOOTER
===================================================== */

.footer{

    margin-top:60px;

    background:#081425;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-content{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:60px;

    padding:25px 0;

    flex-wrap:wrap;

}

.footer-item{

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:600;

    color:#fff;

}

.footer-item i{

    color:#ffcb05;

    font-size:20px;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.06);

    text-align:center;

    padding:18px;

}

.footer-bottom p{

    color:#9fb2c9;

    font-size:14px;

    margin:4px 0;

}

/* =====================================================
   SCROLLBAR
===================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#081425;

}

::-webkit-scrollbar-thumb{

    background:#ffcb05;

    border-radius:10px;

}

::-webkit-scrollbar-thumb:hover{

    background:#ffd633;

}

/* =====================================================
   ANIMATION
===================================================== */

.live-card,
.info-card,
.history-section{

    animation:fadeUp .6s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:1200px){

    .live-card{

        grid-template-columns:1fr;

        text-align:center;

    }

    .live-left{

        border-left:none;

        border-top:4px solid #ffcb05;

        padding-left:0;

        padding-top:20px;

    }

    .info-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:992px){

    header .container{

        flex-direction:column;

        height:auto;

        padding:20px 0;

        gap:20px;

    }

    nav ul{

        flex-wrap:wrap;

        justify-content:center;

        gap:20px;

    }

    nav ul li.active::after{

        display:none;

    }

}

@media(max-width:768px){

    .result-number{

        font-size:70px;

    }

    .count-item{

        width:80px;

    }

    .count-item h1{

        font-size:30px;

    }

    .info-grid{

        grid-template-columns:1fr;

    }

    .history-header{

        flex-direction:column;

        align-items:stretch;

    }

    .search-box{

        width:100%;

    }

    .footer-content{

        gap:20px;

        flex-direction:column;

    }

}

@media(max-width:480px){

    .logo img{

        width:180px;

    }

    .live-left h2{

        font-size:28px;

    }

    .live-left h3{

        font-size:30px;

    }

    .result-number{

        font-size:56px;

    }

    .live-right h2{

        font-size:28px;

    }

    .countdown{

        gap:8px;

    }

    .count-item{

        width:70px;

        padding:12px 0;

    }

    .count-item h1{

        font-size:24px;

    }

}