*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,sans-serif;
    background:#000;
    color:#fff;
    min-height:100vh;
    padding:20px;
}

#loading{
    position:fixed;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background:#000;
    z-index:999;
}

.header{
    text-align:center;
    margin-bottom:30px;
}

.header h1{
    font-size:42px;
    color:#FFD700;
    text-shadow:0 0 20px rgba(255,215,0,0.7);
    margin-bottom:10px;
}

#liveDateTime{
    font-size:18px;
    color:#ddd;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.card{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,215,0,0.3);
    border-radius:20px;
    padding:25px;
    text-align:center;
    backdrop-filter:blur(10px);
    box-shadow:
        0 0 10px rgba(255,215,0,0.2),
        0 0 20px rgba(255,215,0,0.15);
    transition:all 0.3s ease;
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:
        0 0 20px rgba(255,215,0,0.4),
        0 0 40px rgba(255,215,0,0.25);
}

.card h2{
    color:#FFD700;
    margin-bottom:15px;
    font-size:24px;
}

.card div{
    font-size:42px;
    font-weight:bold;
    color:#FFD700;
    margin-bottom:15px;
    text-shadow:0 0 15px rgba(255,215,0,0.5);
}

.card small{
    color:#bbb;
}

@keyframes unlockGlow {
    0%{
        transform:scale(0.8);
        opacity:0;
    }

    50%{
        transform:scale(1.15);
        opacity:1;
    }

    100%{
        transform:scale(1);
        opacity:1;
    }
}

.unlocked{
    animation:unlockGlow 1s ease;
}

.glow{
    border:2px solid gold;
    box-shadow:
        0 0 20px gold,
        0 0 40px gold,
        0 0 60px rgba(255,215,0,0.7);
}

@media(max-width:768px){

    .header h1{
        font-size:32px;
    }

    .card div{
        font-size:34px;
    }

}
.top-icons{
    position:absolute;
    top:20px;
    right:20px;
    z-index:1000;
}

.telegram-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:50px;
    height:50px;
    border-radius:50%;
    background:#0088cc;
    text-decoration:none;
    box-shadow:0 0 15px rgba(0,136,204,0.6);
    transition:all 0.3s ease;
}

.telegram-btn:hover{
    transform:scale(1.1);
    box-shadow:0 0 25px rgba(0,136,204,0.9);
}

.history-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:50px;
    height:50px;
    border-radius:50%;
    background:gold;
    color:black;
    text-decoration:none;
    font-size:30px;
    font-weight:bold;
    box-shadow:0 0 15px rgba(255,215,0,0.8);
}

.live-badge{
    display:block;
    margin-top:5px;
    font-size:11px;
    font-weight:bold;
    color:#ff4444;
    animation:blinkLive 1s infinite;
}

@keyframes blinkLive{
    0%{opacity:1;}
    50%{opacity:0.3;}
    100%{opacity:1;}
}
#monthlyChart{
    overflow-x:auto;
    margin-top:15px;
}

#monthlyChart table{
    width:100%;
    border-collapse:collapse;
    background:#111827;
    border-radius:12px;
    overflow:hidden;
    font-size:12px;
}

#monthlyChart th{
    background:#0284c7;
    color:white;
    padding:8px 3px;
    font-size:11px;
}

#monthlyChart td{
    padding:6px 3px;
    text-align:center;
    color:white;
    border-bottom:1px solid #1e293b;
    font-size:11px;
}

#monthlyChart tr:nth-child(even){
    background:#1a2332;
}

#monthlyChart td:first-child{
    color:#38bdf8;
    font-weight:bold;
}

@media(max-width:600px){

#monthlyChart table{
    font-size:10px;
}

#monthlyChart th,
#monthlyChart td{
    padding:4px 2px;
    font-size:10px;
}

}
.today-row{
    background:#16a34a !important;
    color:white !important;
    font-weight:bold;
}
