/* ================================
GLOBAL RESET
================================ */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial, Helvetica, sans-serif;
background:#e6e6e6;
color:#000;
}

/* ================================
HEADER
================================ */

.site-header{
display:grid;
grid-template-columns:15% 70% 15%;
height:80px;
width:100%;
}

.header-left{
background:#0046ff;
display:flex;
align-items:center;
justify-content:flex-start;
padding-left:15px;
border-right:4px solid #fff;
}

.header-center{
background:#000;
display:flex;
align-items:center;
justify-content:center;
}

.header-right{
background:#d10000;
display:flex;
align-items:center;
justify-content:flex-end;
padding-right:15px;
border-left:4px solid #fff;
}

.nav-icon img{
width:26px;
filter:brightness(0) invert(1);
}

.header-center img{
max-height:80px;
}

/* ================================
CLOCK
================================ */

.clock{
display:block;
width:fit-content;
margin:25px auto;
padding:8px 20px;
font-size:18px;
font-weight:bold;
background:#000;
color:#fff;
border:3px solid #ffcc00;
}

/* ================================
LIVE HEADING
================================ */

.live-heading-section{
text-align:center;
background:#0046ff;
padding:20px 10px;
border-top:4px solid #000;
border-bottom:4px solid #000;
}

.live-heading{
font-size:26px;
font-weight:bold;
color:#ff0000;
}

.live-subheading{
font-size:14px;
color:#fff;
margin-top:6px;
}

/* ================================
RESULT TICKER
================================ */

.result-ticker{
background:#ffcc66;
padding:6px;
border-top:3px solid #008000;
border-bottom:3px solid #008000;
font-weight:bold;
}

.ticker-item{
color:#b00000;
margin-right:20px;
}

.ticker-result{
color:#006400;
font-size:18px;
font-weight:bold;
}

/* ================================
LIVE CENTER BOARD
================================ */

.live-center{
background:#f5f5f5;
text-align:center;
padding:20px 10px;
border-bottom:3px solid #ccc;
}

.live-market{
font-size:36px;
color:red;
font-weight:bold;
margin-top:15px;
}

.live-number{
font-size:42px;
color:green;
font-weight:bold;
margin-bottom:10px;
}

.live-wait{
color:green;
animation:blink 1s infinite;
}

@keyframes blink{
0%{opacity:1;}
50%{opacity:0;}
100%{opacity:1;}
}

/* ================================
KHAIWAL SECTION
================================ */

.khaiwal-section{
max-width:900px;
margin:30px auto;
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
}

.khaiwal-box,
.khaiwal-card{
background:#fff;
border:3px solid #000;
padding:15px;
}

.khaiwal-title,
.khaiwal2-title{
font-size:18px;
color:#0046ff;
text-align:center;
font-weight:bold;
}

.khaiwal-sub,
.khaiwal2-sub{
text-align:center;
font-size:13px;
margin-bottom:10px;
}

.khaiwal-games p,
.khaiwal2-games p{
display:flex;
justify-content:space-between;
border-bottom:1px dotted #999;
padding:5px 0;
font-size:14px;
}

.khaiwal-rates,
.khaiwal2-rates{
margin-top:12px;
text-align:center;
}

.khaiwal-rates h3,
.khaiwal2-rates h3{
color:#b00000;
font-size:15px;
margin-bottom:5px;
}

.whatsapp-btn,
.whatsapp-btn2{
display:inline-block;
background:#25d366;
color:#fff;
padding:8px 15px;
margin-top:10px;
font-weight:bold;
text-decoration:none;
}

/* ================================
JOIN CHANNEL
================================ */

.join-section{
max-width:900px;
margin:25px auto;
}

.join-container{
background:#fff;
border:3px solid #000;
padding:20px;
text-align:center;
}

.join-text{
font-size:14px;
margin-bottom:15px;
}

.join-btn{
display:inline-flex;
align-items:center;
gap:10px;
padding:10px 18px;
font-weight:bold;
text-decoration:none;
color:#fff;
}

.whatsapp-btn{
background:#25d366;
}

.telegram-btn{
background:#229ed9;
}

.join-btn img{
width:24px;
}

/* ================================
GAME LIST
================================ */

.game-section{
max-width:900px;
margin:30px auto;
background:#fff;
border:3px solid #000;
}

/* HEADER */

.game-header{
display:grid;
grid-template-columns:1fr 70px 70px;
background:#008000;
color:#fff;
padding:10px;
font-weight:bold;
align-items:center;
}

.game-title{
text-align:left;
}

.date-box{
text-align:center;
background:#006000;
margin-left:5px;
padding:3px 0;
}

/* ROW */

.game-row{
display:grid;
grid-template-columns:1fr 70px 70px;
border-top:1px solid #ccc;
padding:10px;
align-items:center;
}

/* MARKET INFO */

.game-info{
text-align:left;
}

.game-info h3{
font-size:15px;
margin:0;
}

.time{
font-size:12px;
color:#555;
}

.chart-btn{
display:inline-block;
margin-top:3px;
font-size:11px;
background:#eee;
padding:2px 6px;
text-decoration:none;
color:#000;
}

/* RESULTS */

.result{
text-align:center;
font-size:18px;
font-weight:bold;
color:#008000;
}

/* MOBILE FIX */

@media (max-width:480px){

.game-header{
grid-template-columns:1fr 60px 60px;
font-size:13px;
}

.game-row{
grid-template-columns:1fr 60px 60px;
padding:8px;
}

.result{
font-size:16px;
}

.game-info h3{
font-size:14px;
}

}

/* ================================
DISCLAIMER
================================ */

.disclaimer-section{
background:#fff3cc;
border-top:3px solid #ffcc00;
border-bottom:3px solid #ffcc00;
margin:30px 0;
overflow:hidden;
}

.disclaimer-track{
display:flex;
animation:disclaimerScroll 40s linear infinite;
}

.disclaimer-item{
padding:10px 40px;
font-size:13px;
white-space:nowrap;
color:#6b4c00;
}

@keyframes disclaimerScroll{
0%{transform:translateX(0);}
100%{transform:translateX(-50%);}
}

.record-chart{
margin:30px 0;
}

/* scroll container */
.chart-scroll{
overflow-x:auto;
-webkit-overflow-scrolling:touch;
}

/* table */
.record-chart table{
border-collapse:collapse;
min-width:700px;
width:100%;
font-family:Arial;
}

/* header */
.record-chart th{
background:#1f4ba5;
color:#fff;
padding:8px;
border:1px solid #2fa52f;
font-size:14px;
white-space:nowrap;
}

.record-chart th small{
display:block;
font-size:11px;
color:#ddd;
}

/* cells */
.record-chart td{
border:1px solid #2fa52f;
text-align:center;
padding:10px;
font-size:18px;
font-weight:bold;
background:#eee;
}

/* date column */
.record-chart .date{
background:#ffd400;
font-weight:bold;
}

/* alternate rows */
.record-chart tr:nth-child(even) td:not(.date){
background:#e6e6e6;
}

/* ================================
RECORD CHART
================================ */

.record-chart-section{
max-width:900px;
margin:30px auto;
}

.main-heading{
text-align:center;
font-size:22px;
color:#0046ff;
font-weight:bold;
margin-bottom:15px;
}

.year-block{
border:3px solid #000;
background:#fff;
margin-bottom:20px;
}

.year-heading{
background:#0046ff;
color:#fff;
padding:8px;
font-size:16px;
font-weight:bold;
}

.record-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:8px;
padding:10px;
}

.record-btn{
display:block;
background:#eee;
text-align:center;
padding:8px;
font-size:13px;
font-weight:bold;
text-decoration:none;
color:#000;
border:1px solid #999;
}

/* ================================
WARNING
================================ */

.warning-section{
max-width:900px;
margin:30px auto;
}

.warning-title{
background:#b00000;
color:#fff;
padding:10px;
font-weight:bold;
text-align:center;
}

.warning-content{
background:#fff;
border:3px solid #000;
padding:15px;
font-size:14px;
line-height:1.6;
}

.warning-content p{
margin-bottom:10px;
}

.warning-content hr{
margin:15px 0;
}

/* ================================
FOOTER
================================ */

.footer{
background:#000;
color:#fff;
margin-top:30px;
}

.footer-container{
max-width:900px;
margin:auto;
padding:12px;
display:flex;
justify-content:space-between;
}

.footer-links a{
color:#0046ff;
margin-left:10px;
text-decoration:none;
font-size:13px;
}

/* ================================
MOBILE
================================ */

@media(max-width:700px){

.khaiwal-section{
grid-template-columns:1fr;
}

.game-row{
flex-direction:column;
gap:6px;
}

.result{
width:100%;
}

.footer-container{
flex-direction:column;
text-align:center;
gap:8px;
}

}