.checkin-page{
    min-height:100vh;
    margin:0;
    padding:24px 16px;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    background:#070707;
    color:white;
    font-family:Arial, Helvetica, sans-serif;
}

.checkin-page .page-menu-btn{
    align-self:flex-start;
}

*{
    box-sizing:border-box;
}

.checkin-card{
    width:100%;
    max-width:720px;
    margin:0 auto 22px;
    position:relative;
    background:rgba(15,15,15,.94);
    border:1px solid rgba(255,255,255,.09);
    border-radius:22px;
    padding:22px;
    box-shadow:
        0 0 28px rgba(229,9,20,.22),
        0 18px 55px rgba(0,0,0,.42),
        inset 0 0 18px rgba(255,255,255,.025);
    backdrop-filter:blur(10px);
}

.checkin-badge{
    display:inline-block;
    margin-bottom:10px;
    padding:6px 11px;
    border-radius:999px;
    background:rgba(229,9,20,.15);
    color:#ff5b63;
    font-size:12px;
    font-weight:bold;
    border:1px solid rgba(229,9,20,.35);
    letter-spacing:.3px;
}

.checkin-card h2{
    font-size:24px;
    margin-bottom:7px;
}

.checkin-card p{
    color:#bbb;
    font-size:14px;
    line-height:1.5;
}

.coin-balance{
    margin:18px 0 12px;
    padding:15px;
    text-align:center;
    border-radius:15px;
    background:rgba(255,184,0,.08);
    border:1px solid rgba(255,184,0,.18);
}

.coin-balance span{
    display:block;
    color:#999;
    font-size:12px;
    margin-bottom:5px;
}

.coin-balance strong{
    font-size:30px;
    color:#ffb800;
    font-weight:900;
}

.action-row{
    display:flex;
    gap:10px;
    margin-bottom:18px;
}

.action-btn{
    flex:1;
    height:42px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
    color:white;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    transition:.2s;
}

.action-btn:active{
    transform:scale(.98);
}

.checkin-info{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin:18px 0;
}

.checkin-info div{
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.06);
    border-radius:14px;
    padding:13px;
}

.checkin-info span{
    display:block;
    color:#999;
    font-size:12px;
    margin-bottom:5px;
}

.checkin-info strong{
    font-size:18px;
    color:white;
}

.checkin-progress{
    margin:22px 4px 18px;
}

.checkin-line{
    height:5px;
    background:#2d2d2d;
    border-radius:999px;
    overflow:hidden;
    box-shadow:inset 0 0 8px rgba(0,0,0,.7);
}

#checkinFill{
    width:0%;
    height:100%;
    background:linear-gradient(90deg,#e50914,#ff4b55);
    border-radius:999px;
    box-shadow:0 0 12px rgba(229,9,20,.45);
    transition:.3s;
}

.checkin-points{
    display:flex;
    justify-content:space-between;
    margin-top:10px;
}

.checkin-points span{
    width:25px;
    height:25px;
    border-radius:50%;
    background:#222;
    border:1px solid #444;
    color:#aaa;
    font-size:11px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.checkin-points span.done{
    background:#e50914;
    border-color:#e50914;
    color:white;
    box-shadow:0 0 12px rgba(229,9,20,.55);
}

#checkinBtn{
    width:100%;
    padding:14px;
    border:none;
    border-radius:13px;
    background:linear-gradient(135deg,#e50914,#b00610);
    color:white;
    font-weight:900;
    cursor:pointer;
    font-size:15px;
}

#checkinBtn:disabled{
    background:#555;
    cursor:not-allowed;
}

.checkin-status{
    min-height:20px;
    margin-top:12px;
    color:#aaa;
    font-size:13px;
    text-align:center;
}

@media(max-width:560px){
    .checkin-card{
        padding:20px;
        border-radius:20px;
    }

    .checkin-info{
        grid-template-columns:1fr;
    }
}
