.container {
    max-width: 900px;
    margin: auto;
    padding: 10px;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

body{
   

    font-family: Arial, sans-serif;
    text-align: center;

    margin: 0;
    padding: 0;
}
/* ================= HEADER ================= */



/* 🔥 SLUG TEXT ON BLUE BOX */
.slugTitle{
    position: absolute;

    top: 34%;
    right: 3%;

    width: 52%;

    text-align: center;

    color: white;
    font-size: 23px;
    font-weight: 900;

    text-transform: uppercase;

    z-index: 100;
}

/* MOBILE */
@media (max-width: 768px){

    .slugTitle{

        top: 32%;
        right: 2%;

        width: 55%;

        font-size: 15px;
        line-height: 1.2;
    }
}

/* ================= WHITE HEADER BANNER ================= */

/* ================= GAME BUTTON ================= */


/* ================= COUNTDOWN ================= */

.countDownBtn{
    width: 60%;
    max-width: 400px;
    font-size: 16px;
    padding: 10px;
    border:3px solid gray;
    font-weight: bold;
    border-radius: 10px;
    margin-top: 10px;
}

/* ================= NEW TICKET STYLE ================= */

.ticketCard{
    width: 97%;
    max-width: 650px;
    margin: 20px auto;
    
}

/* TOP BAR */
.ticketTop{
    background: linear-gradient(to right, #3c66f0, #5a7df5);
    color: white;
    padding: 8px 12px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 14px;
}

/* GRID */
.ticketGrid{
    margin-top: 5px;
    border: 6px solid #ffc400;
    border-radius: 10px;
    overflow: hidden;
    background: #eee;
}

.ticketGrid img{
    width: 100%;
    display: block;
}


/* =========================================
   TICKET FOR COMING GAME
========================================= */



/* TITLE */


/* ================= BOOKING MODAL ================= */

.bookingDiv{
    width: 60%;
    max-width: 500px;
    height: auto;
    background: rgb(255, 130, 27);
    border: 5px solid blue;
    border-radius: 10px;
    margin: 20px auto;
    padding: 20px;
}

.inp{
    width: 80%;
    margin: 10px auto;
    display: block;
    font-size: 15px;
    padding: 10px;
    border-radius: 5px;
    border: none;
}

/* ================= BUTTON ================= */

.bookBtn{
    width: 80%;
    margin: 10px auto;
    padding: 10px;
    border-radius: 10px;
    background: red;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

/* ================= FLOAT BUTTON ================= */

.bookFloatBtn{
    font-size: 16px;
    padding: 10px;
    width: 180px;
    border-radius: 10px;
    position: fixed;
    bottom: 15px;
    background: red;
    color:white;
    right:20px;
    cursor: pointer;
}

/* ================= CHAT ================= */

.chatDiv{
    width: 300px;
    height: 300px;
    background: rgba(1, 50, 90, 0.8);
    border-radius:20px;
    position: fixed;
    right:20px;
    bottom: 20px;
    transform: scale(0);
    transition: 0.5s;
}

.chatOpenImg{
    width: 50px;
    position: fixed;
    right:10px;
    bottom: 10px;
}
/* ================= Ticket ================= */

.gridWrapper{
    display: flex;
    flex-direction: column;
}

.gridRow{
    display: grid;
    grid-template-columns: repeat(9, 1fr);
}

.gridCell{
    border: 1px solid #aaa;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    background: #eee;
}

/* ================= livestatus ================= */

.gameStatusBox {
    background: purple;
    color: white;
    font-size: 28px;
    padding: 20px;
    border-radius: 15px;
    margin: 15px auto;
    width: 90%;
    
}

/* ================= LIVE STATUS (MATCH MAIN UI WIDTH) ================= */
.numCell.active {
    background-color:black !important;
    color: white !important;   /* 🔥 THIS FIX */
    font-weight: bold;
    border: #cc0000 2px solid !important; /* 🔥 THIS FIX */
    box-shadow: #000 0px 2px 6px !important; /* 🔥 THIS FIX */
}
.gameClosedContainer,
.gameLiveContainer {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;   /* 🔥 SAME */
    text-align: center;
}
.gameLiveContainer {
    width: 100%;
    max-width: 750px;   /* 🔥 SAME AS HEADER */
    margin: 0 auto;     /* center */
    text-align: center;
}

/* STATUS BAR */
/* GAME STATUS BOX */
.gameStatusBox {
    width: 98%;
    margin: 20px auto;
    margin-top: 15px;   /* 🔥 SAME EVERYWHERE */

    background: linear-gradient(to right, #ff1a1a, #ff3b3b);
    color: white;
    font-size: 28px;
    font-weight: bold;
    padding: 20px;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .gameStatusBox {
        margin-top: 4px;   /* 🔥 move slightly up for mobile */
    }
}
.number-popup {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFD700, #FFA500); 
    border: 4px solid #cc0000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    pointer-events: none; 
    user-select: none;
    
    transform: translate(-50%, -50%) scale(0);
    
    /* 🔥 Changed to 4 seconds */
    animation: professionalPop 4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    will-change: transform, opacity;
}

.number-popup span {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #333;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
}

/* 🔥 Adjusted percentages for a 4-second timeline */
@keyframes professionalPop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    /* 4% of 4s = 0.16 seconds (Fast pop in) */
    4% {
        transform: translate(-50%, -50%) scale(1.2); 
        opacity: 1;
    }
    /* 8% of 4s = 0.32 seconds (Settle into place) */
    8% {
        transform: translate(-50%, -50%) scale(1); 
    }
    /* 85% of 4s = 3.4 seconds (Slowly float upwards and stay fully visible) */
    85% {
        transform: translate(-50%, -80px) scale(1); 
        opacity: 1;
    }
    /* 100% of 4s = 4.0 seconds (Fade out smoothly at the very end) */
    100% {
        transform: translate(-50%, -120px) scale(0.5); 
        opacity: 0;
    }
}

/* ================= DATE TIME ROW ================= */


@keyframes glowPulse {
    from {
        box-shadow: 0 0 5px rgba(198,255,0,0.6);
    }
    to {
        box-shadow: 0 0 15px rgba(198,255,0,1);
    }
}
/* =========================================
   NUMBER BOARD EXACT STYLE
========================================= */

.numberGrid {

    width: 98%;

    margin: 12px auto;

    display: grid;

    grid-template-columns: repeat(10, 1fr);

    gap: 4px;

    margin-top: -8px;
}

/* 🔥 DEFAULT CELL (DARK BLUE) */
.numCell {

    background: #07133d;

    height: 34px;   /* 🔥 rectangle height */

    aspect-ratio: unset;   /* 🔥 remove square */

    display: flex;

    justify-content: center;
    align-items: center;

    font-weight: 700;

    font-size: 15px;

    color: #ffffff;

    border: 1.5px solid #ff0095;

    border-radius: 2px;

    box-shadow:
        inset 0 0 6px rgba(255,255,255,0.08),
        0 1px 4px rgba(0,0,0,0.45);

    transition: 0.2s ease;
}

/* 🔥 CALLED NUMBER (WHITE) */
/* 🔥 CALLED NUMBER */
.numCell.active {

    background: #ffffff !important;

    color: #000000 !important;

    border: 1.5px solid #ffffff !important;

    font-weight: 900;
}

/* =========================================
   CALLED BALLS
========================================= */

.calledNumbersContainer {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 7px;

    margin-top: 2px;

    padding: 5px 8px;
}

/* 🔥 PINK BALLS */
.calledBall {

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: #f7c1d1;

    color: #000;

    display: flex;

    align-items: center;
    justify-content: center;

    font-weight: 800;

    font-size: 13px;

    box-shadow:
        inset 0 0 4px rgba(255,255,255,0.4),
        0 2px 5px rgba(0,0,0,0.35);

    animation: popIn 0.25s ease;
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){

    .numberGrid{

        gap: 3px;
    }

    .numCell{

        font-size: 13px;
    }

    .calledBall{

        width: 32px;
        height: 32px;

        font-size: 12px;
        margin-top: -2px;
    }
}
/* SEARCH + WINNER WRAPPER */
.searchBox {
    width: 50%;
    max-width: 750px;
    margin: 15px auto;
    padding: 10px;
    box-sizing: border-box;
}

/* SEARCH BOX (VERTICAL STACK) */
.searchBox {
    width: 100%;
    max-width: 750px;
    margin: 15px auto;
    margin-top: -10px;
    display: flex;
    flex-direction: column;   /* 🔥 KEY FIX */
    align-items: center;
    gap: 6px;
}

/* INPUT */
.searchBox input {
    width: 60%;
    max-width: 500px;
    text-align: center; 
    padding: 8px;
    border-radius: 2px;
    border: 1px solid white;
    background: #ffffff;
    color: #000;
    font-size: 14px;
}

/* BUTTON */
.searchBox button {
    width: 100%;
    max-width: 200px;   /* 🔥 keeps button nice size */
    padding: 8px;
    border-radius: 2px;
    border: none;
    background: #ff0000;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* WINNER SECTION */
.winnerSection {
    border-radius: 12px;
    padding: 15px;
}

/* WINNER TITLE */
.winnerSection h3 {
    color: white;
    margin-bottom: 10px;
}

/* Modal Background Overlay */
/* MODAL OVERLAY */
.modal-overlay {
    display: none; /* default hidden */
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;

    justify-content: center;
    align-items: center;

    padding: 10px;
}

/* SHOW MODAL */
.modal-overlay.active {
    display: flex;
}


/* ================= BOOKING DASHBOARD ================= */

.booking-dashboard{

    width: 95%;
    max-width: 360px;

    height: 88vh;

    background: linear-gradient(
        180deg,
        #0015ff 0%,
        #1400ff 100%
    );

    border: 2px solid #ffd400;

    border-radius: 2px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    box-shadow:
        0 0 20px rgba(0,0,0,0.5),
        inset 0 0 10px rgba(255,255,255,0.15);

    animation: fadeIn 0.25s ease;
}

/* ================= HEADER ================= */

.dashboard-header{

    background: #000;

    color: #ff0000;

    font-size: 20px;
    font-weight: 900;

    text-align: center;

    padding: 12px;

    position: relative;

    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;

    text-shadow: 0 0 10px rgba(255,0,0,0.5);
}

/* CLOSE BUTTON */

.close-btn{

    position: absolute;

    right: 14px;
    top: 8px;

    color: #ff0000;

    font-size: 28px;
    font-weight: bold;

    cursor: pointer;
}

/* ================= NAME INPUT ================= */

.name-input-container{

    padding: 10px;
}

.name-input-container input{

    width: 100%;

    height: 38px;

    border: none;

    background: #f1f1f1;

    padding: 10px;

    font-size: 14px;

    border-radius: 2px;

    outline: none;
}

/* ================= GRID ================= */

.numbers-grid{

    margin: 0 10px;

    padding: 0;

    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 3px;

    overflow-y: auto;

    border: none;

    background: transparent;
}

/* ================= NUMBER BOX ================= */

.num-box{

    height: 36px;

    background: #efefef;

    border: 1.5px solid #ff008c;

    color: #000;

    font-size: 15px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: 0.15s;
}

/* AVAILABLE SELECTED */

.num-box.selected{

    background: #0606e8 !important;

    color: #000 !important;

    border: 1.5px solid #c40000;
}

/* BOOKED */

.num-box.booked{

    background: #fff000 !important;

    color: #000 !important;

    opacity: 1;

    pointer-events: none;
}

/* HOVER */

.num-box:hover{

    transform: scale(1.04);
}

/* ================= BOOK BUTTON ================= */

.book-now-main-btn{

    width: calc(100% - 20px);

    margin: 12px auto 8px auto;

    height: 40px;

    background: #ff1b1b;

    color: white;

    border: none;

    border-radius: 4px;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;
}

/* ================= STATS BOX ================= */

.dashboardStat{

    width: calc(100% - 20px);

    margin: 4px auto;

    border: 2px solid red;

    border-radius: 10px;

    padding: 4px;

    color: red;

    background: rgba(0,0,0,0.15);

    font-size: 18px;
    font-weight: bold;

    line-height: 1.2;
}

/* ================= MOBILE ================= */

@media (max-width: 768px){

    .booking-dashboard{

        width: 95%;
        height: 86vh;
    }

    .dashboard-header{

        font-size: 18px;
        padding: 10px;
    }

    .num-box{

        height: 34px;

        font-size: 13px;
    }

    .book-now-main-btn{

        height: 38px;

        font-size: 13px;
    }
}

@keyframes fadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* smooth entry */
@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


.gameClosedContainer {
    width: 100%;
    text-align: center;
    
}

.gameStatusBox.live {
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(255,0,0,0.6);
    }
    50% {
        box-shadow: 0 0 25px rgba(255,0,0,1);
    }
    100% {
        box-shadow: 0 0 10px rgba(255,0,0,0.6);
    }
}
/* ================= MOBILE ================= */


/* ===== DIVIDEND UI (NEW) ===== */

/* 🔥 MOBILE FULL WIDTH FIX */


/* 🔥 TITLE BAR */
.dividendTitleBox {

    width: 100%;

    background: #ffa323;

    color: #000;

    font-size: 20px;
    font-weight: 800;

    padding: 10px;

    text-align: center;

    border-top: 2px solid #ff0000;
    border-left: 2px solid #ff0000;
    border-right: 2px solid #ff0000;
    border-bottom:  2px solid #ff0000;
}

/* 🔥 EXACT BLUE LIKE IMAGE */
.dividendWinnerText {

    width: 100%;

    background: #0b008f; /* 🔥 deeper casino blue */

    color: #ffffff;

    text-align: center;

    font-size: 16px;
    font-weight: bold;

    padding: 4px 8px;


}

/* 🔥 BODY */
.dividendBodyBox {

    width: 100%;

    background: #0b008f; /* 🔥 SAME BLUE */

    padding: 14px;

    display: flex;

    justify-content: center;

}

/* 🔥 BUTTON */
.viewBtn {

    background: #ff2f73;

    color: white;

    border: none;

    padding: 9px 75px; /* 🔥 wider button */

    font-size: 18px;

    border-radius: 4px;

    font-weight: 800;

    cursor: pointer;
    margin-top: -10px;
}

/* 🔥 DIVIDEND FULL WIDTH LIKE NUMBER BOARD */
/* 🔥 MAKE DIVIDEND SAME WIDTH AS NUMBER BOARD */
.dividendContainer{

    width: calc(100% + 20px) !important;

    margin-left: -10px !important;

    margin-right: -10px !important;

    max-width: unset !important;
}

/* MOBILE */
@media(max-width:768px){

    .dividendContainer{

        width: calc(100% + 20px) !important;

        margin-left: -10px !important;

        margin-right: -10px !important;

        padding: 0 !important;
    }
}

/* Modal Overlay */
/* 🔥 WINNER MODAL OVERLAY */
.winnerModalOverlay {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.82);

    z-index: 99999;

    display: none;

    justify-content: center;   /* 🔥 CENTER HORIZONTAL */
    align-items: center;       /* 🔥 CENTER VERTICAL */

    padding: 10px;

    overflow-y: auto;
}

/* 🔥 MODAL BOX */
.winnerModalContent {

    width: 95%;
    max-width: 420px;

    background: #fff;

    border-radius: 10px;

    padding: 18px 12px;

    position: relative;

    margin: auto; /* 🔥 IMPORTANT */

    max-height: 92vh;

    overflow-y: auto;

    box-shadow:
        0 0 20px rgba(0,0,0,0.45);
}

.winnerDivName {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.winnerWonAt {
    font-size: 22px;
    font-weight: bold;
    color: red;
}
/* Red X Close Button */
.winnerClose {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 40px;
    color: #FF0000;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

/* WON AT 80 Text */
.winnerTitle {
    text-align: center;
    color: #FF0000;
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.winnerTicketBlock {
    margin-bottom: 25px;
}

/* Magenta Header */
.winnerHeader {
    background: #D81B60; /* Solid Pink/Magenta */
    color: white;
    padding: 5px 12px;
    border-radius: 5px 5px 0 0;
    display: flex;
    justify-content: space-between;

    font-weight: bold;
    font-size: 14px;
}

/* Thick Magenta Outer Border */
.winnerGridWrapper {
    border: 5px solid #FF00FF; /* Bright Magenta */
    border-radius: 5px;
    background: #FFFFFF;
    margin-top: -2px; /* Slight overlap to merge with header */
}

/* Grid Layout */
.winnerGrid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    background-color: #FFFFFF;
}

/* Yellow Borders for Cells */
.winnerGrid .gridCell {
    border: 2px solid #FFD700; /* Yellow border */
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #000;
}

/* Highlighted Called Number */
.winnerGrid .gridCell.called {
    background-color: #D81B60 !important; /* Magenta background */
    color: #000 !important; /* Image shows text is visible, often dark or white */
}

/* Footer Section */
.winnerFooter {
    text-align: center;
    margin-top: 10px;
}

.tno-text {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
}


.dividendContainer {
    width: 100%;
    margin-top: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
    .dividendTitleBox {
        font-size: 16px;
        padding: 10px;
    }

    .viewBtn {
        font-size: 14px;
        padding: 10px 30px;
    }
}

/* ================= SEARCH BOX (STAYING FAITHFUL TO UI) ================= */
.searchBox {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
}

.searchBox input {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: none;
    text-align: center;
    font-size: 14px;
    color: #555;
}

.searchBox button {
    width: 100%;
    padding: 12px;
    background: #ff0000; /* Bright Red */
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
}

/* ================= SEARCH RESULT TICKET ================= */
/* ================= 1. SEARCH INPUT & BUTTON ================= */
.searchBox {
    width: 95%;
    max-width: 400px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.searchBox input {
    width: 100% !important;
    max-width: unset !important;
    padding: 12px;
    border-radius: 5px;
    border: none;
    text-align: center;
    font-size: 16px;
}

.searchBox button {
    width: 100% !important;
    max-width: unset !important;
    padding: 12px;
    background: #ff0000; /* Bright Red */
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

/* ================= 2. SEARCH RESULT TICKET (MAGENTA) ================= */
.searchTicketCard {
    width: 95%;
    max-width: 400px;
    margin: 15px auto;
    border: 4px solid #c0007a;
    border-radius: 10px;
    background: #f1f1f1;
    overflow: hidden;

    /* 🔥 MULTI-LAYER SHADOW (DEPTH) */
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.25),
        0 8px 20px rgba(0,0,0,0.2),
        0 2px 2px rgba(0,0,0,0.15);
    
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.searchTicketCard:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.35),
        0 6px 10px rgba(0,0,0,0.25);
}

.searchHeader {
    background: #c0007a; /* Magenta Header */
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.clearBtn {
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
}

/* Fix for the grid inside Search Results */
.searchTicketCard .gridWrapper {
    padding: 5px;
    background: #f1f1f1;
}

.searchTicketCard .gridCell {
    background: #f9f9f9;
    border: 2.5px solid #f4c302 !important; /* EXACT YELLOW BORDER */
    height: 40px;
    font-size: 16px;
    color: #333;
}

.searchTicketCard .gridCell.called {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}


/* Simple mobile adjustment */
@media (max-width: 480px) {

    .searchTicketCard {
        width: 85%;
        max-width: 320px;
        margin: 12px auto;

        /* 🔥 MOBILE DEPTH (SOFTER BUT VISIBLE) */
        box-shadow: 
            0 6px 14px rgba(0,0,0,0.3),
            0 3px 6px rgba(0,0,0,0.2);
    }

    .searchHeader {
        font-size: 13px;
        padding: 8px 10px;
    }

    .searchTicketCard .gridCell {
        height: 32px;
        font-size: 13px;
    }

    .clearBtn {
        font-size: 12px;
    }
}


.closedScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease;
}

.closedCard {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 30px 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: scaleIn 0.4s ease;
}

.closedIcon {
    font-size: 50px;
    margin-bottom: 10px;
}

.closedTitle {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
}

.closedMessage {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.closedFooter {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 10px;
}

/* 🔥 Loader */
.closedLoader {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 3, 200, 0.2);
    border-top: 4px solid #fff;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.reopenOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.4s ease;
}

.reopenCard {
    position: relative;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    color: white;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(2, 31, 176, 0.5);
    animation: popIn 0.5s ease;
}

.reopenIcon {
    font-size: 60px;
    margin-bottom: 10px;
    animation: bounce 1s infinite;
}

.reopenTitle {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.reopenText {
    opacity: 0.9;
    font-size: 14px;
}

.reopenGlow {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 60%);
    top: -50%;
    left: -50%;
    animation: rotateGlow 5s linear infinite;
}

/* MODAL */
.loginModal {

    position: absolute;

    bottom: 500px;
    right: 10px;

    display: none;

    z-index: 9999;
}

/* SHOW */
.loginModal.active {
    display: block;
}

/* BOX */
.loginModalBox {

    width: 180px;

    background: linear-gradient(
        180deg,
        #0d00ff,
        #2200ff
    );

    border-radius: 18px;

    padding: 14px;

    text-align: center;

    box-shadow:
        0 6px 18px rgba(0,0,0,0.3);
}

/* TITLE */
.loginModalBox h2 {

    color: white;

    font-size: 18px;
    font-weight: bold;

    line-height: 1.2;

    margin-bottom: 14px;
}

/* BUTTON */
.loginTypeBtn {

    width: 100%;

    display: block;

    background: #e5e5e5;

    color: black;

    text-decoration: none;

    border: none;

    border-radius: 8px;

    padding: 10px;

    font-size: 14px;
    font-weight: 600;

    margin-bottom: 8px;

    cursor: pointer;
}

/* CANCEL */
.cancelBtn {

    background: transparent;

    border: none;

    color: white;

    font-size: 16px;

    margin-top: 4px;

    cursor: pointer;
}

/* Animations */
@keyframes popIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* =========================================
   FULL PAGE BACKGROUND
========================================= */

body{
    background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)),
    url('https://images.unsplash.com/photo-1511512578047-dfb367046420?q=80&w=1200&auto=format&fit=crop')
    no-repeat center center fixed;

    background-size: cover;

    font-family: Arial, sans-serif;
}


/* =========================================
   TOP BANNER
========================================= */

.bannerWrapper{
    width: 100%;
    max-width: 750px;
    margin: 8px auto;
    padding: 0 4px;
}

.customBanner{

    position: relative;

    width: 100%;
    height: 110px;

    border-radius: 4px;

    overflow: hidden;

    background:
    linear-gradient(135deg,#002d62,#00142f);

    border: 2px solid #7fd1ff;

    box-shadow:
    0 0 10px rgba(0,183,255,0.6),
    inset 0 0 15px rgba(255,255,255,0.15);
}


/* CENTER RED BOX */

.bannerMainTitle{

    position: absolute;

    top: 18px;
    left: 50%;

    transform: translateX(-50%);

    background: #ff1f1f;

    padding: 8px 30px;

    border-radius: 4px;

    color: white;

    font-size: 20px;
    font-weight: 900;

    letter-spacing: 2px;

    text-shadow: 0 0 8px rgba(255,255,255,0.4);

    z-index: 5;
}

/* SMALL tambola TEXT */

.winText{

    position: absolute;

    top: 70px;
    left: 50%;

    transform: translateX(-50%);

    color: white;

    font-size: 13px;

    letter-spacing: 10px;

    text-transform: lowercase;

    z-index: 5;
}

/* GOLD TAGLINE */

.bannerPrize{

    position: absolute;

    bottom: 10px;
    left: 50%;

    transform: translateX(-50%);

    background: rgba(0,0,0,0.4);

    border: 1px solid #ffe600;

    padding: 3px 12px;

    border-radius: 3px;

    color: #ffe600;

    font-size: 11px;

    font-weight: bold;

    white-space: nowrap;

    z-index: 5;
}

/* REMOVE OLD BLUE LINE */
.bannerLine{
    display: none;
}


/* =========================================
   STARS
========================================= */
/* =========================================
   BANNER DECORATION
========================================= */

.bubble{

    position: absolute;

    z-index: 2;

    width: 30px;

    height: 30px;
}

.bubble::before{

    position: absolute;

    left: 0;
    top: 0;

    font-size: 30px;

    color: #ffe600;

    text-shadow:
    0 0 5px #ffe600,
    0 0 10px #ffe600,
    0 0 20px #ffe600;

    content: "⭐";
}

/* LEFT */

.bubble1{
    top: 10px;
    left: 12px;
}

.bubble2{
    top: 25px;
    left: 45px;
}

.bubble3{
    top: 48px;
    left: 20px;
}

/* RIGHT */

.bubble4{
    top: 10px;
    right: 12px;
}

.bubble5{
    top: 25px;
    right: 45px;
}

.bubble6{
    top: 48px;
    right: 20px;
}


/* LEFT COCKTAIL */

.customBanner::before{

    content: "🍸";

    position: absolute;

    left: 12px;

    bottom: 12px;

    font-size: 42px;

    z-index: 2;

    filter:
    drop-shadow(0 0 8px red)
    drop-shadow(0 0 12px red);
}

/* RIGHT FIRE */

.customBanner::after{

    content: "♨";

    position: absolute;

    right: 16px;

    bottom: 10px;

    font-size: 50px;

    color: red;

    z-index: 2;

    text-shadow:
    0 0 8px red,
    0 0 18px red;
}

@media(max-width:768px){

    .bubble::before{

        font-size: 24px;
    }

    .customBanner::before{

        font-size: 34px;
    }

    .customBanner::after{

        font-size: 40px;
    }
}
/* =========================================
   ACTION BUTTONS
========================================= */

.actionBtnDiv{

    width: 100%;

    max-width: 750px;

    margin: 10px auto;

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 6px;

    padding: 0 4px;
}


/* LINKS */

.actionBtnDiv a,
.actionBtnDiv img{

    width: 100%;
}

/* BUTTON LOOK */

.actionBtnDiv a,
.actionBtnDiv img{

    background: #07101d;

    border: 2px solid #fff000;

    border-radius: 4px;

    height: 42px;

    object-fit: contain;

    padding: 7px;

    box-shadow:
    inset 0 0 10px rgba(255,255,255,0.08),
    0 0 6px rgba(255,255,0,0.3);
}

/* ICON SIZE */

.actionImg{
    width: 100%;
    height: 100%;
    border-radius: 0 !important;
}


/* =========================================
   CHECK AVAILABLE TICKET BUTTON
========================================= */

.gameStatusBtn{

    width: 98%;

    max-width: 750px;

    height: 75px;

    background: #000;

    border: 2px solid #111;

    color: #ff0000;

    font-size: 25px;

    font-weight: 900;

    border-radius: 0;

    
    box-shadow:
    inset 0 0 20px rgba(255,0,0,0.12);

    animation: blinkGlow 1.2s infinite;
}

@keyframes blinkGlow{

    0%{
        opacity:1;
    }

    50%{
        opacity:0.7;
    }

    100%{
        opacity:1;
    }
}


/* =========================================
   COUNTDOWN SECTION
========================================= */

.dateTimeRow{

    width: 98%;

    margin: 8px auto;

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 5px;

    border: none;

    background: transparent;

    padding: 0;
}

.dateBox{

    background: #061121;

    color: white;

    border: 2px solid #fff000;

    border-radius: 4px;

    font-size: 18px;

    font-weight: 900;

    min-height: 42px;

    box-shadow:
    inset 0 0 12px rgba(255,255,255,0.05),
    0 0 6px rgba(255,255,0,0.2);
}


/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){

    .customBanner{
        height: 115px;
    }

    .bannerMainTitle{
        font-size: 14px;
        padding: 8px 22px;
    }

    .winText{
        top: 62px;
        font-size: 11px;
        letter-spacing: 6px;
    }

    .bannerPrize{
        font-size: 9px;
        bottom: 8px;
    }

    .gameStatusBtn{
        font-size: 18px;
        height: 70px;
    }

    .dateBox{
        font-size: 15px;

    }
}

/* FINAL CASINO FIX */

.actionBtnDiv{

    width: 98% !important;

    max-width: 750px !important;

    margin: 10px auto !important;

    display: grid !important;

    grid-template-columns: repeat(4,1fr) !important;

    gap: 5px !important;
}

.actionBtnDiv a{

    width: 100% !important;

    height: 42px !important;

    background: #07101d !important;

    border: 2px solid #ffe600 !important;

    border-radius: 4px !important;

    display: flex !important;

    justify-content: center !important;

    align-items: center !important;

    overflow: hidden !important;
}

.actionImg{

    width: 24px !important;

    height: 24px !important;

    border-radius: 0 !important;

    background: transparent !important;

    padding: 0 !important;

    box-shadow: none !important;
}

/* =========================================
   ACTION TEXT BUTTONS
========================================= */

.actionBtnDiv{

    width: 98%;

    max-width: 750px;

    margin: 10px auto;

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 5px;
}

.actionBtnDiv a{

    height: 42px;

    background: #07101d;

    border: 2px solid #fff000;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 4px;

    text-transform: capitalize;
}


/* =========================================
   TIMER LABELS
========================================= */

.timerLabelRow{

    width: 98%;

    max-width: 750px;

    margin: 10px auto 5px auto;

    display: grid;

    grid-template-columns: repeat(3,1fr);

    color: white;

    font-weight: bold;

    font-size: 18px;
}

.timerValueRow{

    width: 98%;

    max-width: 750px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 3px;
}

.timerValueRow div{

    background: #efefef;

    border: 2px solid #fff000;

    color: black;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: bold;

    font-size: 18px;

    border-radius: 4px;
}


/* =========================================
   DATE TIME
========================================= */

.dateTimeRow{

    width: 98%;

    max-width: 750px;

    margin: 8px auto;

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 5px;
}

.dateBox{

    background: #061121;

    color: white;

    border: 2px solid #fff000;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: bold;

    border-radius: 4px;
}




/* =========================================
   MOBILE COUNTDOWN FIX
========================================= */

/* =========================================
   FINAL MOBILE COUNTDOWN SIZE FIX
========================================= */

@media(max-width:768px){

    /* LABELS */

    .timerLabelRow{

        margin-top: -10px !important;
        margin-bottom: 3px !important;

        font-size: 12px !important;

        font-weight: 700 !important;
    }

    /* VALUE ROW */

    .timerValueRow{

        gap: 2px !important;

        width: 98% !important;
    }

    .timerValueRow div{

        height: 30px !important;

        font-size: 15px !important;

        border-width: 1px !important;

        border-radius: 3px !important;
    }

    /* DATE TIME ROW */

    .dateTimeRow{

        margin-top: 6px !important;

        gap: 3px !important;
    }

    .dateBox{

        height: 24px !important;

        font-size: 14px !important;

        border-width: 1px !important;

        border-radius: 3px !important;

        font-weight: 700 !important;
    }

    /* GAME STATUS */

    .gameStatusBtn{

        height: 62px !important;

        font-size: 18px !important;
    }
}

@media(max-width:768px){

    .timerLabelRow{

        font-size: 15px;

        margin: 8px auto 4px auto;
    }

    .timerValueRow{

        gap: 2px;
    }

    .timerValueRow div{

        height: 34px;

        font-size: 14px;

        border-width: 1.5px;
    }

    .dateTimeRow{

        gap: 3px;

        margin-top: 5px;
    }

    .dateBox{

        height: 28px;

        font-size: 13px;

        border-width: 1.5px;
    }
}

@media(max-width:768px){

    .gameStatusBtn{

        margin-top: -6px !important;

        margin-bottom: 12px !important;
    }

    .actionBtnDiv{

        margin-bottom: 4px !important;
    }
}

.winnerToast {

    position: fixed;

    bottom: 22px;

    right: 22px;

    background:
        linear-gradient(
            145deg,
            #050816,
            #0d1433,
            #111827
        );

    color: #ffffff;

    padding: 14px 18px;

    border-radius: 18px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .4px;

    z-index: 999999;

    opacity: 0;

    transform:
        translateY(40px)
        scale(.96);

    transition:
        all .45s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );

    box-shadow:
        0 12px 35px rgba(0,0,0,.55),
        0 0 18px rgba(37,99,235,.35),
        0 0 10px rgba(255,215,0,.18);

    max-width: 290px;

    min-width: 210px;

    line-height: 1.5;

    overflow: hidden;

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    border:
        1px solid rgba(255,215,0,.22);

    pointer-events: none;
}

/* ✨ GOLD TOP LINE */
.winnerToast::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #ffd700,
            #ffffff,
            #ffd700,
            transparent
        );

    opacity: .95;
}

/* ✨ BLUE LIGHT EFFECT */
.winnerToast::after {

    content: '';

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(59,130,246,.22),
            transparent 45%
        );

    pointer-events: none;
}

/* ✨ SHOW */
.winnerToast.show {

    opacity: 1;

    transform:
        translateY(0)
        scale(1);

    animation:
        premiumFloat 3.2s ease-in-out infinite;
}

/* ✨ FLOAT */
@keyframes premiumFloat {

    0% {
        transform:
            translateY(0)
            scale(1);
    }

    50% {
        transform:
            translateY(-1%)
            scale(1.01);
    }

    100% {
        transform:
            translateY(0)
            scale(1);
    }
}