*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,Helvetica,sans-serif;
}
body{
    margin:0;
    background:
        radial-gradient(circle at top,#1f2937 0%,#111827 35%,#f3f4f6 35%,#f3f4f6 100%);
    color:#222;
}

.container{
    max-width:900px;
    margin:35px auto;
    background:#ffffff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.18);
}
.logo{text-align:center;padding:20px 0 8px}
.logo img{max-width:120px}
.title{
    text-align:center;
    font-size:34px;
    font-weight:800;
    padding:18px;
    color:#111827;
    letter-spacing:1px;
}
.disclaimer{
background:#e53935;
color:#fff;
padding:14px;
text-align:center;
font-weight:700;
}
.updated{
    width:fit-content;
    margin:20px auto;
    padding:12px 24px;
    background:#ffffff;
    border:2px solid #FFD700;
    border-radius:50px;
    color:#222;
    font-size:18px;
    font-weight:700;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}
.green-header{
    margin:20px;
    border-radius:14px;
    background:linear-gradient(90deg,#FFD700,#F59E0B);
    color:#111827;
    text-align:center;
    padding:18px;
    font-size:28px;
    font-weight:bold;
    box-shadow:0 10px 20px rgba(245,158,11,.25);
}
table{width:100%;border-collapse:collapse}
thead th{
    background:linear-gradient(90deg,#111827,#374151);
    color:#FFD700;
    text-transform:uppercase;
    letter-spacing:.8px;
}
td{
padding:16px;
border:1px solid #ececec;
font-size:19px;
text-align:center;
}
td:first-child{text-align:left;font-weight:bold}
tr:hover{background:#f8fbff}
.section td{
background:#d32f2f;
color:#fff;
font-size:22px;
font-weight:bold;
}
.highlight td{background:#fff8e1}
small{display:block;margin-top:4px;color:#666;font-size:13px}
small a{color:#1565c0;text-decoration:none}
.live{
color:#d50000;
font-weight:700;
animation:blink 1s infinite;
}
@keyframes blink{50%{opacity:.35}}
.bottom-box{
margin:20px;
border-radius:14px;
overflow:hidden;
box-shadow:0 6px 18px rgba(0,0,0,.1);
}
.bottom-box h2{
background:#1976d2;
color:#fff;
padding:14px;
text-align:center;
}
.status{
display:flex;
justify-content:space-between;
padding:16px;
border-bottom:1px solid #eee;
font-size:18px;
}
.status:last-child{border-bottom:none}
.green{color:#16a34a;font-weight:700}
.orange{color:#f59e0b;font-weight:700}
footer{
background:#1f2937;
color:#fff;
text-align:center;
padding:18px;
margin-top:25px;
}
.refresh-btn{
background:#0ea5a4;
color:#fff;
border:none;
padding:10px 18px;
border-radius:8px;
cursor:pointer;
font-weight:700;
}
@media(max-width:600px){
.container{margin:0;border-radius:0}
.title{font-size:24px;line-height:1.35}
.green-header{font-size:22px}
th,td{font-size:16px;padding:12px}
.updated{font-size:17px}
}
.top-header{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    padding:22px;
    background:linear-gradient(135deg,#111827,#1f2937);
}

.logo-box{
    width:80px;
    height:80px;
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 0 20px rgba(255,215,0,.35);
}

.logo-box img{
    width:80px;
    height:80px;
    object-fit:contain;
}

.brand h2{
    color:#FFD700;
    font-size:32px;
    margin:0;
}

.brand p{
    color:#ddd;
    margin-top:6px;
    font-size:16px;
    letter-spacing:1px;
}

.title{
    text-align:center;
    font-size:28px;
    font-weight:700;
    padding:20px;
    color:#1f2937;
}
table{
    width:95%;
    margin:25px auto;
    border-collapse:separate;
    border-spacing:0 12px;
}

thead th{
    background:#111827;
    color:#FFD700;
    padding:18px;
    font-size:18px;
    border:none;
}

tbody tr{
    background:#fff;
    box-shadow:0 6px 16px rgba(0,0,0,.08);
    transition:.3s;
}

tbody tr:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 22px rgba(0,0,0,.12);
}

tbody td{
    border:none;
    padding:18px;
    font-size:18px;
}

tbody td:first-child{
    border-radius:12px 0 0 12px;
}

tbody td:last-child{
    border-radius:0 12px 12px 0;
    font-weight:700;
    color:#0f766e;
}

.section td{
    background:#111827;
    color:#FFD700;
    border-radius:12px;
    text-align:center;
    font-size:20px;
    letter-spacing:1px;
}

.live{
    color:#dc2626 !important;
    font-weight:800;
    animation:blink .8s infinite;
}
footer{
    background:linear-gradient(135deg,#111827,#1f2937);
    color:#fff;
    text-align:center;
    padding:30px 20px;
    margin-top:35px;
}

.footer-title{
    color:#FFD700;
    font-size:26px;
    font-weight:700;
    margin-bottom:10px;
}

footer p{
    color:#d1d5db;
    margin-bottom:10px;
    font-size:16px;
}

footer small{
    color:#9ca3af;
    font-size:14px;
}
.live-banner{
    width:90%;
    margin:18px auto;
    background:linear-gradient(90deg,#16a34a,#22c55e);
    color:#fff;
    padding:12px;
    text-align:center;
    font-size:17px;
    font-weight:700;
    border-radius:10px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    box-shadow:0 6px 18px rgba(34,197,94,.25);
}

.live-dot{
    width:12px;
    height:12px;
    background:#fff;
    border-radius:50%;
    animation:pulse 1s infinite;
}

@keyframes pulse{
    0%{transform:scale(1);opacity:1;}
    50%{transform:scale(1.5);opacity:.5;}
    100%{transform:scale(1);opacity:1;}
}
.container{
    animation:fadeIn .7s ease;
}

.title,
.updated,
.live-banner,
.green-header,
table,
footer{
    animation:slideUp .6s ease;
}

@keyframes fadeIn{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

@keyframes slideUp{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#ececec;
}

::-webkit-scrollbar-thumb{
    background:#f4b400;
    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
    background:#d89d00;
}
button{
    transition:.3s;
}

button:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,.2);
}
.stats{
    width:90%;
    margin:20px auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.stat-card{
    background:#fff;
    border-radius:14px;
    padding:18px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-5px);
}

.stat-card h3{
    color:#f4b400;
    font-size:28px;
    margin-bottom:8px;
}

.stat-card p{
    color:#555;
    font-size:15px;
    font-weight:600;
}

@media(max-width:600px){
    .stats{
        grid-template-columns:1fr;
    }
}
.history-box{
    text-align:center;
    margin:15px 0;
}

.history-btn{
    display:inline-block;
    background:#c92605;
    color:#fff;
    text-decoration:none;
    padding:12px 24px;
    border-radius:10px;
    font-size:16px;
    font-weight:bold;
    transition:0.3s;
}

.history-btn:hover{
    background:#f31f03;
}
.notice-box{
    background:#fff3cd;
    color:#856404;
    border:1px solid #ffeeba;
    padding:12px;
    margin:15px 0;
    border-radius:8px;
    font-weight:bold;
    text-align:center;
}
/* ===== LIVE SECTION ===== */

.live-heading td,
.completed-heading td{
    background:transparent !important;
    box-shadow:none !important;
    border:none !important;
    padding:8px 0 12px;
}

.live-title,
.completed-title{
    display:flex;
    align-items:center;
    gap:14px;
    font-size:30px;
    font-weight:800;
    padding-left:20px;
}

.live-title{
    color:#ff3b3b;
}

.completed-title{
    color:#16a34a;
}

.live-bar{
    width:8px;
    height:60px;
    background:#ff3b3b;
    border-radius:6px;
}

.completed-bar{
    width:8px;
    height:60px;
    background:#16a34a;
    border-radius:6px;
}

.market-row td{
    background:#fff;
    padding:22px;
    font-size:20px;
}

.market-row td:first-child{
    text-align:left;
}

.market-row .result{
    font-size:38px;
    font-weight:800;
    color:#111827;
}

.market-row small{
    font-size:15px;
    color:#666;
}
.download-header{
    width:90%;
    margin:18px auto;
    padding:14px 20px;
    background:linear-gradient(90deg,#FFD700,#F59E0B);
    border-radius:12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    box-shadow:0 6px 18px rgba(0,0,0,.15);
}

.download-header span{
    font-size:18px;
    font-weight:700;
    color:#111827;
}

.download-header-btn{
    background:#111827;
    color:#FFD700;
    text-decoration:none;
    padding:10px 22px;
    border-radius:8px;
    font-weight:bold;
    white-space:nowrap;
    transition:.3s;
}

.download-header-btn:hover{
    background:#000;
}

@media(max-width:600px){
    .download-header{
        flex-direction:column;
        text-align:center;
    }

    .download-header-btn{
        width:100%;
    }
}