* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html
{
    scroll-behavior:smooth;

}
body {
    background: #F5F5F5;
    padding-top: 400px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    text-align: center;
    background: #151f6f;
    padding: 40px 20px;
}

.title {
    background: #FFD700;
    color: #C62828;
    font-size: 120px;
    font-weight: bold;
    padding: 8px 0;
}
.game-box {
    background: #FFFFFF;
    color: #111111;
    border: 3px solid #FFD700;
    font-size: 50px;
    font-weight: bold;
    padding: 12px 0px;
    max-width:400px!important;
    margin: 0 auto;
    text-align: center;
}
.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #c62828;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #c62828;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.dot {
    width: 10px;
    height: 10px;
    background: #c62828;
    border-radius: 50%;
    position: relative;
}

    /* smooth breathing dot (NOT blinking) */
    .dot::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: #c62828;
        animation: ripple 1.5s infinite;
    }

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.chart-title {
    background: #151f6f;
    color: #fff;
    font-size: 55px;
    padding: 0;
    width: 100%;
    margin: 0 auto;
    font-weight: bold;
    text-align: center;
}

.monthly-chart {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #FFD700;
    color: #C62828;
    border-radius: 8px;
    overflow: hidden;
}
    .monthly-chart thead th {
        text-align: center;
        background: #C62828;
        color: #FFFFFF;
        font-size: 30px;
        font-weight: bold;
    }

    .monthly-chart tbody td {
        text-align: center;
        font-size: 19px;
        font-weight: bold;
        background: #fff;
        color:#000;
    }

.daily-chart-title {
    background: #151f6f;
    color: #fff;
    font-size: 60px;
    width: 95%;
    margin: 0 auto;
    font-weight: bold;
    text-align: center;
    letter-spacing: 3px;
}

.daily-chart {
    width: 70%;
    margin: auto;
    border-collapse: collapse;
    table-layout: fixed;
    border-radius: 8px;
    overflow: hidden;
}

    .daily-chart thead th {
        text-align: center;
        font-size: 30px;
        font-weight: 800;
        background: #C62828;
        color: #FFFFFF;
    }

    .daily-chart tbody td {
        text-align: center;
        font-size: 19px;
        font-weight: bold;
        padding:10px;
  
    }
        .daily-chart tbody td:nth-child(2) {
            color: #2639d1;
        }
tbody tr:hover {
    background: #FFF8DC;
}

.table-chart {
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
    border-radius: 10px;
}

.footer-title {
     
    color: #2639d1;
    font-size: 20px;
    padding: 0;
    margin-left:15px;
    text-align: start;
}
.footer-subtitle {
    color: #C62828;
    font-size: 20px;
    padding: 0;
    margin: 0 auto;
    font-weight: bold;
    text-align: start;
}
@media (max-width: 768px) {


        body {
            padding-top: 225px;
        }

        .header {
            padding: 15px 10px;
        }
 

    .title {
        font-size: 25px;
        padding: 10px;
    }

    .game-box {
        font-size: 28px;
        width: 180px;
        padding: 8px;
    }

    .status {
        font-size: 22px;
        padding: 6px 18px;
    }

    .chart-title,
    .daily-chart-title {
        font-size: 13px;
        font-weight: bold;
        padding: 8px;
    }

    .daily-chart {
        width: 100%;
        table-layout: fixed;
    }

        .daily-chart thead th {
            font-size: 11px;
            padding: 4px;
        }

        .daily-chart tbody td {
            font-size: 11px;
            padding: 4px;
        }

    .monthly-chart {
        width: 100%;
        table-layout: fixed;
    }

        .monthly-chart thead th {
            font-size: 10px;
            padding: 4px;
        }

        .monthly-chart tbody td {
            font-size: 10px;
            padding: 4px;
        }

   
    .table-chart {
        padding: 5px;
    }

    .footer-title
    {
        font-size:20px;
    }
    .footer-subtitle
    {
        font-size:14px;
    }
}
#spark-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 99999;
}

.spark {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #FFD700;
    box-shadow: 0 0 8px #FFD700, 0 0 15px orange, 0 0 25px red;
    animation: explode 5s linear forwards;
}

@keyframes explode {

    0% {
        transform: translate(0,0) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translate(var(--x), var(--y)) scale(0);
        opacity: 0;
    }
}
 