/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#090909;

    color:#fff;

    overflow-x:hidden;

}

/* ==========================
   BACKGROUND
========================== */

.background{

    position:fixed;

    inset:0;

    background:

    radial-gradient(circle at top left,#5d0000 0%,transparent 30%),

    radial-gradient(circle at bottom right,#3d0000 0%,transparent 35%),

    linear-gradient(135deg,#070707,#111111,#161616);

    z-index:-2;

}

/* Grid Pattern */

.background::after{

    content:"";

    position:absolute;

    inset:0;

    background-image:

    linear-gradient(rgba(255,0,0,.05) 1px,transparent 1px),

    linear-gradient(90deg,rgba(255,0,0,.05) 1px,transparent 1px);

    background-size:40px 40px;

}

/* ==========================
   LAYOUT
========================== */

.container{

    width:100%;
    min-height:100vh;

}

/* ==========================
   CONTENT
========================== */

.content{

    width:100%;
    max-width:1600px;
    margin:auto;
    padding:30px 40px;

}

/* ==========================
   HEADER
========================== */

header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:35px;

padding-bottom:20px;

border-bottom:1px solid rgba(255,0,0,.12);

}

header h2{

    font-size:32px;

}

header p{

    color:#a7a7a7;

}

.clock{

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;

    min-width:200px;

    padding:16px 24px;

    background:#171717;

    border:1px solid rgba(255,0,0,.25);

    border-radius:18px;

    box-shadow:0 0 18px rgba(255,0,0,.08);

}

#day{

    color:#bdbdbd;

    font-size:13px;

    font-weight:500;

    margin-bottom:2px;

}

#date{

    color:#ffffff;

    font-size:14px;

    font-weight:600;

    margin-bottom:8px;

}

#time{

    color:#ff3b3b;

    font-size:32px;

    font-weight:700;

    letter-spacing:1px;

}

/* ==========================
   STATS
========================== */

.stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

.stat-card{

    background:#171717;

    border-radius:18px;

    padding:28px;

    border:1px solid rgba(255,0,0,.18);

    text-align:center;

}

.stat-card h1{

    color:#ff3939;

    font-size:42px;

}

.stat-card span{

    color:#bbb;

}

/* ==========================
   SEARCH
========================== */

.search-box{

    margin:30px 0;

}

.search-box input{

    width:100%;

    padding:18px;

    border:none;

    outline:none;

    background:#171717;

    color:white;

    border-radius:16px;

    border:1px solid rgba(255,0,0,.2);

    font-size:15px;

}

/* ==========================
   FILTER
========================== */

.filter{

    display:flex;

    gap:12px;

    margin-bottom:30px;

}

.filter button{

    border:none;

    padding:12px 24px;

    border-radius:30px;

    cursor:pointer;

    background:#232323;

    color:white;

    transition:.3s;

}

.filter button:hover{

    background:#b30000;

}

.filter .active{

    background:linear-gradient(90deg,#ff2626,#7a0000);

}

/* ==========================
   MARKET GRID
========================== */

.market-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));

    gap:25px;

}

/* ==========================
   CARD PASARAN
========================== */

.card{

background:rgba(24,24,24,.92);

border:1px solid rgba(255,60,60,.18);

box-shadow: 0 0 12px rgba(255,0,0,.05),

inset 0 0 12px rgba(255,0,0,.03);

border-radius:20px;

padding:20px;

overflow:hidden;

position:relative;

transition:.35s ease;

backdrop-filter:blur(18px);

-webkit-backdrop-filter:blur(18px);

}

.card::before{

content:"";

border-radius:20px 20px 0 0;

position:absolute;

left:0;

top:0;

width:100%;

height:3px;

background:linear-gradient(

90deg,

transparent,

#ff2020,

transparent

);

}

header{

display:flex;

justify-content:space-between;

align-items:center;

gap:30px;

margin-bottom:35px;

padding-bottom:20px;

border-bottom:1px solid rgba(255,0,0,.12);

}

.card-header h3{

font-size:22px;

}

.status{

display:inline-flex;
align-items:center;
justify-content:center;

padding:6px 14px;

min-width:70px;

height:30px;

border-radius:30px;

font-size:12px;

font-weight:600;

letter-spacing:.5px;

}

.update{

color:#ff5c5c;

margin-bottom:18px;

font-size:14px;

}

.row{

display:flex;

justify-content:space-between;

align-items:center;

padding:14px 16px;

background:#1d1d1d;

margin-bottom:10px;

border-radius:12px;

border-left:4px solid #b00000;

transition:.3s;

}

.row:hover{

transform:translateX(6px);

background:#262626;

}

.row span{

color:#a8a8a8;

font-size:14px;

}

.row strong{

font-size:15px;

font-weight:600;

color:white;

}

.timer{

color:#ff4040;

font-weight:700;

font-size:16px;

}

.status.open{

background:#00a651;

}

.status.closed{

background:#c70000;

}

/*============================
HEADER PREMIUM
=============================*/

.header-right{

display:flex;

align-items:center;

gap:18px;

margin-left:auto;

}

.header-left{

display:flex;

align-items:center;

}

.notification{

width:55px;

height:55px;

border-radius:50%;

background:#191919;

border:1px solid rgba(255,0,0,.2);

display:flex;

align-items:center;

justify-content:center;

position:relative;

font-size:22px;

cursor:pointer;

transition:.35s;

}

.notification:hover{

transform:rotate(15deg);

box-shadow:0 0 25px rgba(255,0,0,.4);

}

.notification span{

position:absolute;

top:-4px;

right:-4px;

width:22px;

height:22px;

background:#ff2626;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:11px;

font-weight:bold;

}

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#111;

}

::-webkit-scrollbar-thumb{

background:#b00000;

border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

background:#ff2424;

}

.header-logo{

    display:flex;
    align-items:center;
    gap:20px;

}

.header-logo .logo-icon{

    width:70px;
    height:70px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:linear-gradient(145deg,#ff2b2b,#7a0000);

    border-radius:20px;

    font-size:34px;

    box-shadow:0 0 35px rgba(255,0,0,.45);

    animation:pulse 2s infinite;


}

.header-logo h2{

font-size:24px;

font-weight:800;

letter-spacing:.5px;

}

.header-logo p{

margin-top:4px;

font-size:13px;

color:#8e8e8e;

}

/* ==========================
   CARD HOVER PREMIUM
========================== */

.card:hover{

    transform:translateY(-8px);

    box-shadow:

        0 0 15px rgba(255,0,0,.18),

        0 0 35px rgba(255,0,0,.14),

        0 0 55px rgba(255,0,0,.08),

        0 30px 60px rgba(0,0,0,.45);

}

.card:hover .card-header h3{

color:#ff4b4b;

transition:.3s;

}

/* ==========================
   CARD V2
========================== */

.market-label{

    color:#8d8d8d;

    font-size:12px;

}

.countdown-box{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:18px 0;

    padding:12px 16px;

    background:#141414;

    border-radius:12px;

}

.number-box{

    text-align:center;

    margin-bottom:20px;

    padding:20px;

    border-radius:18px;

    background:linear-gradient(
        180deg,
        rgba(255,50,50,.08),
        rgba(255,0,0,.02)
    );

}

.number-title{

    color:#999;

    font-size:12px;

    letter-spacing:2px;

}

.main-number{

    margin-top:10px;

    font-size:54px;

    font-weight:800;

    color:#ff4040;

    letter-spacing:8px;

}

.info-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:12px;

    margin-bottom:18px;

}

.info-item{

    background:#1b1b1b;

    border-radius:14px;

    padding:15px;

}

.info-item span{

    display:block;

    color:#999;

    font-size:12px;

    margin-bottom:8px;

}

.info-item strong{

    font-size:17px;

}

.bbfs-box{

    margin-bottom:20px;

}

.bbfs-box label{

    color:#999;

    display:block;

    margin-bottom:10px;

}

.bbfs-number{

    background:#161616;

    border:1px solid rgba(255,0,0,.2);

    padding:16px;

    border-radius:14px;

    text-align:center;

    font-size:22px;

    letter-spacing:4px;

    font-weight:700;

}

.prediction{

    margin-top:20px;

}

.prediction h4{

    color:#ff5d5d;

    margin-bottom:12px;

}

.chips{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

.chips span{

    padding:10px 14px;

    border-radius:12px;

    background:#202020;

    border:1px solid rgba(255,0,0,.18);

    font-size:13px;

    transition:.35s ease;

}

.chips span:hover{

    background:#b00000;

    border-color:#ff4d4d;

    color:#fff;

    transform:translateY(-3px) scale(1.05);

    box-shadow:0 0 15px rgba(255,0,0,.25);

}

.empty-state{

    grid-column:1/-1;

    text-align:center;

    padding:80px 20px;

    background:#171717;

    border-radius:20px;

    border:1px solid rgba(255,0,0,.15);

}

.empty-state h2{

    font-size:64px;

    margin-bottom:15px;

}

.empty-state h3{

    color:#ff5555;

    margin-bottom:10px;

}

.empty-state p{

    color:#999;

}

.search-box input:focus{

    border-color:#ff4040;

    box-shadow:

        0 0 10px rgba(255,0,0,.15);

}

/*==========================
LOADER
==========================*/

#loader{

position:fixed;

inset:0;

background:#080808;

display:flex;

justify-content:center;

align-items:center;

z-index:99999;

transition:.7s;

}

.loader-logo{

text-align:center;

}

.loader-logo h1{

letter-spacing:6px;

font-size:34px;

margin-top:25px;

}

.loader-logo span{

color:#ff3030;

font-size:22px;

font-weight:bold;

}

.loader-circle{

width:90px;

height:90px;

margin:auto;

border-radius:50%;

border:5px solid rgba(255,255,255,.08);

border-top:5px solid #ff3030;

animation:spin 1s linear infinite;

}

#topButton{

position:fixed;

right:30px;

bottom:30px;

width:55px;

height:55px;

border:none;

border-radius:50%;

background:#b30000;

color:white;

font-size:22px;

cursor:pointer;

display:none;

z-index:999;

box-shadow:0 0 20px rgba(255,0,0,.25);

transition:.35s ease;

}

#topButton:hover{

transform:translateY(-5px);

background:#ff3030;

}

button{

position:relative;

overflow:hidden;

}

/* ==========================
   FOOTER PREMIUM
========================== */

.footer{

    margin-top:60px;

    padding:35px 0;

    border-top:1px solid rgba(255,0,0,.12);

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:25px;

}

.footer-logo{

    font-size:22px;

    font-weight:800;

    color:#ffffff;

    margin-bottom:8px;

}

.footer-left p{

    color:#9a9a9a;

    margin-bottom:10px;

}

.footer-left small{

    color:#666;

    font-size:13px;

}

.footer-right{

    text-align:right;

}

.server-status{

    display:flex;

    align-items:center;

    justify-content:flex-end;

    gap:10px;

    color:#d0d0d0;

    margin-bottom:10px;

}

.dot{

    width:10px;

    height:10px;

    border-radius:50%;

    background:#00d26a;

    box-shadow:0 0 15px #00d26a;

    animation:pulse 1.8s infinite;

}

.version{

    color:#777;

    font-size:13px;

}