/* Reset */
*{margin:0;padding:0;box-sizing:border-box;}
body{
    font-family:'Arial',sans-serif;
    background:#0d1117;
    color:white;
}
body{
margin:0;
padding:0;
}

/* Container */
.container{
    width:90%;
    max-width:900px;
    margin:auto;
    margin-top:0;
    font-family: 'Arial', sans-serif;
}

.header-container{
width:92%;
max-width:1300px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
height:100px;
}

/* HEADER */
.site-header{
position:sticky;
top:0;
background:#0f172a;
z-index:1000;
box-shadow:0 4px 18px rgba(0,0,0,0.4);
}


/* LOGO */
.logo img{
height:100px;
width:auto;
display:block;
}

/* NAVIGATION */

.nav-links{
display:flex;
list-style:none;
align-items:center;
}

.nav-links li{
margin-left:35px;
}

.nav-links li a{
text-decoration:none;
color:white;
font-weight:600;
font-size:16px;
position:relative;
transition:0.3s;
}

/* Hover underline */

.nav-links li a:after{
content:'';
position:absolute;
left:0;
bottom:-6px;
width:0%;
height:2px;
background:#22c55e;
transition:0.3s;
}

.nav-links li a:hover:after{
width:100%;
}

/* LANGUAGE DROPDOWN */

.language-dropdown{
margin-left:20px;
}

.language-dropdown select{
padding:7px 8px;
border-radius:6px;
border:1px solid #374151;
background:#111827;
color:white;
font-weight:600;
cursor:pointer;
}

/* HAMBURGER */

.hamburger{
display:none;
flex-direction:column;
cursor:pointer;
margin-left:15px;
}

.hamburger span{
height:3px;
width:26px;
background:white;
margin:4px 0;
transition:0.3s;
}

/* Hamburger Animation */

.hamburger.active span:nth-child(1){
transform:rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2){
opacity:0;
}

.hamburger.active span:nth-child(3){
transform:rotate(-45deg) translate(5px,-5px);
}


/* ===================== */
/* MOBILE NAVIGATION */
/* ===================== */

@media(max-width:900px){

.header-container{
height:90px;
}

/* Hide desktop nav */

.nav-links{
position:absolute;
top:80px;
right:-260px;
width:240px;

background:#111827;

flex-direction:column;
align-items:flex-start;

padding:25px;

border-left:1px solid #1f2937;

transition:0.3s ease;
}

/* Show menu */

.nav-links.show{
right:0;
}

/* Menu item spacing */

.nav-links li{
margin:10px 0;
width:100%;
}

.logo img{
height: 80px;;
width:auto;
display:block;
}

.nav-links li a{
display:block;
width:100%;
padding:8px 0;
}

/* Hide language dropdown on mobile */

.language-dropdown{
display: block;
}


/* Show hamburger */

.hamburger{
display:flex;
}

}

/* Current time clock */
.clock{
    font-family: 'Orbitron', sans-serif; /* futuristic / digital font */
    font-size: 32px;
    color: #22c55e; /* green like live stock ticker */
    background: #0f172a; /* dark background */
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    box-shadow: 0 0 15px #22c55e, 0 0 30px #16a34a inset;
    letter-spacing: 2px;
    text-align: center;
    margin: 20px auto;
}

/* Add glowing animation */
@keyframes glow {
    0%, 100% { text-shadow: 0 0 8px #22c55e, 0 0 15px #16a34a; }
    50% { text-shadow: 0 0 15px #22c55e, 0 0 30px #16a34a; }
}

.clock{
    animation: glow 1.5s infinite alternate;
}

/* Hero Ticker */
.ticker-section{
    overflow:hidden;
    background:#1f2937;
    padding:10px 0;
    border-top:2px solid #22c55e;
    border-bottom:2px solid #22c55e;
}
.ticker{
    display:flex;
    white-space:nowrap;
    transform:translateX(0);
}
.ticker-item{
    display:flex;
    gap:15px;
    margin-right:50px;
    font-weight:bold;
    font-size:16px;
}
.ticker-item .market{
    color:#38bdf8;
}

.ticker-item .result{
    color:#ffd700;
    font-size:18px;
    font-weight:bold;
    text-shadow:
        0 0 5px #ffd700,
        0 0 10px #f59e0b,
        0 0 20px #f97316;
}

.ticker-item .time{
    color:#9ca3af;
    font-size:14px;
}

/* ===================== */
/* LIVE SECTION */
/* ===================== */

.live-heading{
display:flex;
justify-content:center;
align-items:center;
gap:10px;
margin-bottom:25px;
font-size:28px;
font-weight:700;
}

.live-icon{
width:45px;
height:45px;
animation:liveBlink 1s infinite alternate;
}

@keyframes liveBlink{
0%{opacity:1;}
100%{opacity:0.3;}
}

.update-text{
color:white;
}


/* ===================== */
/* WRAPPER */
/* ===================== */

.live-wrapper{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
}

/* ===================== */
/* LIVE CARD STYLES */
/* ===================== */
.live-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;

    background: linear-gradient(
        135deg,
        #d4a017 0%,
        #fbbf24 25%,
        #f59e0b 50%,
        #d97706 75%,
        #b45309 100%
    );

    padding: 20px;
    border-radius: 12px;
    font-weight: 700;
    position: relative;
    overflow: hidden;

    /* Desktop aspect ratio */
    aspect-ratio: 3 / 1;

    color: black;

    box-shadow:
        0 4px 20px rgba(0,0,0,0.4),
        inset 0 1px 3px rgba(255,255,255,0.4),
        inset 0 -2px 6px rgba(0,0,0,0.2);
}

/* Market (top) */
.live-card .market {
    font-size: 20px;
    font-weight: 700;
    color: black;
}

/* Result (center) */
.live-card .result {
    font-size: 50px;
    font-weight: 800;
    color: white;
    text-shadow: 0 0 8px rgba(0,0,0,0.5);

    /* Flex grow to fill vertical space */
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Time (bottom) */
.live-card .time {
    font-size: 16px;
    color: #111;
}

/* ===================== */
/* GOLD SHINE ANIMATION */
/* ===================== */
.live-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.45),
        transparent
    );
    animation: goldShine 3s infinite;
}

@keyframes goldShine {
    0% { left: -120%; }
    100% { left: 150%; }
}

/* ===================== */
/* MOBILE FIX */
/* ===================== */
@media(max-width:768px) {
    .live-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .live-card {
        aspect-ratio: auto; /* remove forced ratio */
        min-height: 120px;  /* ensures time is visible */
        padding: 15px;
    }

    .live-card .market {
        font-size: 18px;
    }

    .live-card .result {
        font-size: 40px;
    }

    .live-card .time {
        font-size: 14px;
    }
}


/* KHAIWAL SECTION */

.khaiwal-section{
margin-top:60px;
}

.section-title{
text-align:center;
margin-bottom:30px;
font-size:28px;
}

.khaiwal-cards{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

/* CARD */

.khaiwal-card{

background:#1e293b;
border-radius:10px;
padding:25px;
border:1px solid #334155;
transition:0.3s;
display:flex;
flex-direction:column;
justify-content:space-between;
}

.khaiwal-card:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

/* HEADER */

.card-header{
text-align:center;
margin-bottom:15px;
}

.card-header h3{
margin:5px 0;
color:#22c55e;
}

/* TEXT */

.card-text{
text-align:center;
margin-bottom:15px;
}

/* RATES */

.rates{
background:#020617;
padding:10px;
border-radius:6px;
margin-bottom:15px;
}

.rates p{
margin:5px 0;
}

/* GAME TIMES */

.game-times ul{
padding-left:15px;
margin-top:10px;
}

.game-times li{
margin-bottom:5px;
}

/* PAYMENT */

.payment-note{
font-size:14px;
margin:15px 0;
text-align:center;
}

/* BUTTON */

.play-btn{
display:block;
text-align:center;
padding:10px;
background:#22c55e;
color:white;
border-radius:6px;
text-decoration:none;
font-weight:bold;
}

.play-btn:hover{
background:#16a34a;
}

/* RESPONSIVE */

@media(max-width:1024px){

.khaiwal-cards{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:700px){

.khaiwal-cards{
grid-template-columns:1fr;
}

}

/* ===================== */
/* DISCLAIMER SECTION */
/* ===================== */

.disclaimer-section{

overflow:hidden;

background:rgba(255,140,0,0.08);

padding:16px 0;

margin:30px 0;

border-top:2px solid rgba(255,140,0,0.5);
border-bottom:2px solid rgba(255,140,0,0.5);

backdrop-filter:blur(6px);

}

/* ticker */

.disclaimer-track{

display:flex;

white-space:nowrap;

gap:80px;

animation:scrollTicker 12s linear infinite;

}

/* text */

.disclaimer-item{

font-weight:500;

font-size:17px;

line-height:1.6;

color:#ffb347;

text-shadow:
0 0 6px rgba(255,179,71,0.6),
0 0 12px rgba(255,140,0,0.4);

padding-right:60px;

}

/* animation */

@keyframes scrollTicker{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}


/* mobile */

@media (max-width:768px){

.disclaimer-item{
font-size:15px;
}

.disclaimer-track{
animation-duration:10s;
}

}

@media (max-width:480px){

.disclaimer-item{
font-size:14px;
}

}

/* Headings for Today and Yesterday */
h1.today-heading{
    text-align:center;
    margin-bottom:20px;
    margin-top:40px;
    font-size:28px;
    color:#22c55e; /* green for today */
}

h1.yesterday-heading{
    text-align:center;
    margin-bottom:20px;
    margin-top:60px; /* more spacing above yesterday table */
    font-size:28px;
    color:#f97316; /* orange for yesterday */
}

/* Shared Table Styles */
table{
    width:100%;
    border-collapse:collapse;
    font-size:16px;
    border-radius:8px;
    overflow:hidden;
}

/* Table Header - Today (Green) */
table th{
    background:#1e293b;
    padding:12px;
    text-align:center;
    font-weight:bold;
    color:#22c55e;
}

/* Table Header - Yesterday (Orange) */
table.yesterday-table th{
    background:#f97316; /* orange header */
    color:#111827;
}

/* Table Data Cells */
td{
    background:#111827;
    padding:14px;
    border-bottom:1px solid #374151;
    text-align:center;
    font-weight:normal;
    color:#ffffff;
}

/* Today’s Results Cells */
table td.result{
    font-size:22px;
    color:#22c55e;
    font-weight:bold;
}

table td.time{
    color:#9ca3af;
    font-size:14px;
}

/* Yesterday’s Results Cells */
table.yesterday-table td.result{
    font-size:22px;
    color:#fbbf24;
    font-weight:bold;
}

table.yesterday-table td.time{
    color:#fbbf24;
    font-size:14px;
}

/* Alternate Row Backgrounds */
table tr:nth-child(even){
    background-color:#1f2937;
}

table.yesterday-table tr:nth-child(even){
    background-color:#2c2c2c;
}

/* Hover Effect */
tr:hover td{
    background:#1f2937;
}

/* Market Name Styling */
.market{
    font-weight:bold;
}

/* Consistent padding for all tables */
th, td{
    border-radius:0;
    padding:12px 15px;
}

.history-section h2{
    text-align:center;
    font-size:26px;
    margin-top:60px;
    margin-bottom:20px;
    color:#0573f1; /* green for main theme */
}

.market-select{
    text-align:center;
    margin-bottom:20px;
}

.market-select label{
    font-weight:bold;
    margin-right:10px;
    color:#ffffff;
}

.market-select select{
    padding:6px 12px;
    font-size:16px;
    border-radius:5px;
    border:none;
}

.calendar-section h2{
    text-align:center;
    font-size:26px;
    margin-top:60px;
    margin-bottom:20px;
    color:#fdfd09;
}

.calendar-filters{
    text-align:center;
    margin-bottom:20px;
}

.calendar-filters select{
    padding:6px 12px;
    font-size:16px;
    margin:0 10px;
    border-radius:5px;
    border:none;
}

.calendar-grid{
    display:grid;
    grid-template-columns: repeat(7, 1fr);
    gap:5px;
}

.calendar-day{
    border:1px solid #374151;
    padding:8px;
    background:#111827;
    color:#fff;
    font-size:14px;
    min-height:60px;
    border-radius:5px;
    position:relative;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.calendar-day .weekday{
    font-size:12px;
    color:#9ca3af;
    margin-bottom:3px;
}

.calendar-day .date{
    font-weight:bold;
    font-size:16px;
    margin-bottom:5px;
}

.calendar-day .results{
    font-size:25px;
    font-weight: bold;
    margin-top:3px;
    color:#f6ff00;
    text-align:center;
}

.faq-section {
    margin-top: 60px;
    margin-bottom: 80px;
}

.faq-section h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px; /* spacing between FAQ items */
    max-width: 800px;
    margin: 0 auto; /* center the FAQ */
}

.faq-item {
    background: linear-gradient(145deg, #111827, #1f2937);
    border-left: 4px solid #22c55e;
    border-radius: 12px;
    padding: 20px 25px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.faq-question {
    font-weight: 600;
    font-size: 16px;
    color: #fbbf24; /* accent color */
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 18px;
    transition: transform 0.3s;
}

.faq-answer {
    display: none;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-top: 10px;
    border-top: 1px solid #374151;
    padding-top: 10px;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

/* Record Chart Section */

.record-chart-section{

margin-top:70px;
margin-bottom:70px;

padding:20px;
text-align:center;

}

/* Main heading */

.main-heading{

font-size:30px;
margin-bottom:40px;
color:#f97316;

}

/* Year block */

.year-block{

margin-bottom:40px;

}

/* Year heading */

.year-heading{

font-size:20px;
margin-bottom:20px;
color:#22c55e;

}

/* Grid */

.record-grid{

display:grid;
grid-template-columns:repeat(4,1fr);
gap:12px;

max-width:900px;
margin:auto;

}

/* Buttons */

.record-btn{

display:block;

background:#1f2937;
color:white;

padding:12px;

text-decoration:none;
font-weight:bold;

border-radius:6px;

border:1px solid #374151;

transition:0.3s;

}

.record-btn:hover{

background:#f97316;
transform:translateY(-2px);

}


/* Tablet */

@media(max-width:900px){

.record-grid{
grid-template-columns:repeat(2,1fr);
}

}

/* Mobile */

@media(max-width:500px){

.record-grid{
grid-template-columns:1fr;
}

}

/* WARNING SECTION */

.warning-section{

margin-top:70px;
margin-bottom:60px;

padding:40px 25px;

background:#020617;

border:2px solid #ff7a00;

box-shadow:
0 0 10px #ff7a00,
0 0 25px #ff7a00,
inset 0 0 10px #ff7a00;

border-radius:8px;

max-width:1000px;
margin-left:auto;
margin-right:auto;

}

/* Title */

.warning-title{

text-align:center;
font-size:28px;

color:#ff7a00;

margin-bottom:25px;

text-shadow:
0 0 5px #ff7a00,
0 0 10px #ff7a00,
0 0 20px #ff3c00;

letter-spacing:1px;

}

/* Content */

.warning-content{

color:#e2e8f0;
line-height:1.7;

font-size:15px;

text-align:center;

}

/* Divider */

.warning-content hr{

margin:25px auto;
width:80%;
border:1px solid #ff7a00;

box-shadow:0 0 10px #ff7a00;

}

/* Mobile */

@media(max-width:600px){

.warning-title{
font-size:22px;
}

.warning-content{
font-size:14px;
}

}

.footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #374151;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    color: #fbbf24; /* Golden accent */
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f59e0b;
}

@media (min-width: 600px){
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}
/* Responsive */
@media(max-width:900px){
    .main-nav ul{display:none;flex-direction:column;background:#111827;position:absolute;top:60px;right:0;width:200px;border-left:1px solid #333;}
    .main-nav ul.show{display:flex;}
    .hamburger{display:flex;}
}
@media(max-width:600px){
    h1{font-size:22px;}
    .ticker-item{font-size:14px;}
    .result{font-size:18px;}
}