/*==================================================
            SENKU STAKES LOGIN
            PREMIUM VERSION
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --bg:#070b16;
    --card:#111827;
    --card2:#171f33;

    --primary:#7b2cff;
    --secondary:#00d4ff;

    --text:#ffffff;
    --muted:#9ca3af;

    --border:rgba(255,255,255,.08);

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Inter",sans-serif;

    background:var(--bg);

    color:var(--text);

    min-height:100vh;

    overflow-x:hidden;

    position:relative;

}

/*=============================
        BACKGROUND
=============================*/

body::before{

    content:"";

    position:fixed;

    inset:0;

    background-image:

    linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),

    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);

    background-size:55px 55px;

    z-index:-5;

}

.glow{

    position:fixed;

    border-radius:50%;

    filter:blur(140px);

    opacity:.22;

    z-index:-4;

}

.glow1{

    width:420px;

    height:420px;

    background:#7b2cff;

    left:-160px;

    top:-120px;

}

.glow2{

    width:500px;

    height:500px;

    background:#00d4ff;

    right:-180px;

    bottom:-200px;

}

.glow3{

    width:260px;

    height:260px;

    background:#8b5cf6;

    top:45%;

    left:48%;

}

/*=============================
        HEADER
=============================*/

header{

    width:100%;

    padding:28px 7%;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

    text-decoration:none;

    color:#fff;

}

.logo-box{

    width:60px;

    height:60px;

    border-radius:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:26px;

    font-weight:800;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    box-shadow:0 20px 40px rgba(123,44,255,.35);

}

.logo h2{

    font-size:25px;

    font-weight:800;

}

.logo small{

    color:var(--muted);

}

/*=============================
        MAIN
=============================*/

main{

    min-height:calc(100vh - 120px);

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px 20px 70px;

}

/*=============================
        LOGIN CARD
=============================*/

.login-card{

    position:relative;

    width:100%;

    max-width:560px;

    background:rgba(17,24,39,.90);

    backdrop-filter:blur(22px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:32px;

    overflow:hidden;

    padding:50px;

    box-shadow:

    0 35px 70px rgba(0,0,0,.45),

    inset 0 1px rgba(255,255,255,.06);

}

.login-card::before{

    content:"";

    position:absolute;

    inset:0;

    padding:1px;

    border-radius:32px;

    background:linear-gradient(

        135deg,

        rgba(123,44,255,.6),

        rgba(0,212,255,.35),

        transparent

    );

    -webkit-mask:

    linear-gradient(#fff 0 0) content-box,

    linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;

            mask-composite:exclude;

    pointer-events:none;

}

.login-card::after{

    content:"";

    position:absolute;

    width:260px;

    height:260px;

    border-radius:50%;

    background:rgba(123,44,255,.08);

    right:-120px;

    top:-120px;

}

/*=============================
        TOP
=============================*/

.card-top{

    position:relative;

    z-index:2;

    text-align:center;

    margin-bottom:38px;

}

.login-icon{

    width:92px;

    height:92px;

    margin:auto;

    border-radius:26px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    font-size:34px;

    box-shadow:0 25px 45px rgba(123,44,255,.30);

    margin-bottom:24px;

}

.card-top h1{

    font-size:42px;

    font-weight:800;

    margin-bottom:12px;

}

.card-top p{

    color:var(--muted);

    font-size:16px;

    line-height:1.8;

}
/*==================================================
                FORM
==================================================*/

form{

    position:relative;

    z-index:2;

    display:flex;

    flex-direction:column;

    gap:22px;

}

.input-group{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.input-group label{

    font-size:15px;

    font-weight:600;

    color:#d8def0;

}

.input-group{

    position:relative;

}

.input-group input{

    width:100%;

    height:62px;

    padding:0 20px;

    border-radius:18px;

    border:1px solid var(--border);

    outline:none;

    background:var(--card2);

    color:#ffffff;

    font-size:15px;

    transition:.35s;

}

.input-group input::placeholder{

    color:#7f8aa8;

}

.input-group input:hover{

    border-color:rgba(123,44,255,.30);

}

.input-group input:focus{

    border-color:var(--primary);

    background:#1b2540;

    box-shadow:

        0 0 0 4px rgba(123,44,255,.18),

        0 15px 35px rgba(123,44,255,.08);

}

.input-group i{

    position:absolute;

    right:20px;

    top:48px;

    color:#7f8aa8;

    cursor:pointer;

    transition:.3s;

}

.input-group i:hover{

    color:#ffffff;

}

/*==================================================
            REMEMBER
==================================================*/

.remember-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-top:-5px;

}

.remember{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:15px;

    color:#b7bfd7;

    cursor:pointer;

}

.remember input{

    width:18px;

    height:18px;

    accent-color:var(--primary);

}

.remember-row a{

    text-decoration:none;

    color:#9d7dff;

    font-weight:600;

    transition:.3s;

}

.remember-row a:hover{

    color:var(--secondary);

}

/*==================================================
            LOGIN BUTTON
==================================================*/

.login-btn{

    width:100%;

    height:62px;

    border:none;

    border-radius:18px;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    font-size:17px;

    font-weight:700;

    color:#fff;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    box-shadow:

        0 18px 45px rgba(123,44,255,.35);

    transition:.35s;

}

.login-btn:hover{

    transform:translateY(-4px);

    box-shadow:

        0 28px 60px rgba(123,44,255,.45);

}

.login-btn:active{

    transform:scale(.98);

}

.login-btn i{

    font-size:18px;

}

/*==================================================
                DIVIDER
==================================================*/

.divider{

    display:flex;

    align-items:center;

    gap:18px;

    margin:8px 0;

}

.divider::before,

.divider::after{

    content:"";

    flex:1;

    height:1px;

    background:rgba(255,255,255,.08);

}

.divider span{

    color:#8e97b4;

    font-size:13px;

    font-weight:700;

    letter-spacing:2px;

}
/*==================================================
            SOCIAL BUTTONS
==================================================*/

.social-buttons{

    display:flex;

    flex-direction:column;

    gap:18px;

    width:100%;

}

.social{

    width:100%;

    height:60px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:14px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.08);

    background:#171f33;

    color:#ffffff;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:all .35s ease;

    position:relative;

    overflow:hidden;

}

.social::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.08),
        transparent
    );

    transform:translateX(-100%);

    transition:.7s;

}

.social:hover::before{

    transform:translateX(100%);

}

.social:hover{

    transform:translateY(-4px);

    border-color:var(--primary);

    box-shadow:0 18px 40px rgba(123,44,255,.18);

}

.social i{

    font-size:22px;

}

.google i{

    color:#EA4335;

}

.discord i{

    color:#5865F2;

}

/*==================================================
            BOTTOM TEXT
==================================================*/

.bottom-text{

    margin-top:35px;

    text-align:center;

    color:var(--muted);

    font-size:15px;

}

.bottom-text a{

    color:#9d7dff;

    text-decoration:none;

    font-weight:700;

    transition:.3s;

}

.bottom-text a:hover{

    color:var(--secondary);

}

/*==================================================
            CARD ANIMATION
==================================================*/

.login-card{

    animation:cardAppear .8s ease;

}

@keyframes cardAppear{

    from{

        opacity:0;

        transform:translateY(35px) scale(.96);

    }

    to{

        opacity:1;

        transform:translateY(0) scale(1);

    }

}

.login-icon{

    animation:iconFloat 4s ease-in-out infinite;

}

@keyframes iconFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }

    100%{

        transform:translateY(0);

    }

}

/*==================================================
            SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#0b1020;

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(
        var(--primary),
        var(--secondary)
    );

    border-radius:20px;

}

/*==================================================
            RESPONSIVE
==================================================*/

@media(max-width:768px){

.login-card{

padding:40px 28px;

border-radius:26px;

}

.card-top h1{

font-size:34px;

}

.login-icon{

width:82px;

height:82px;

font-size:30px;

}

.remember-row{

flex-direction:column;

align-items:flex-start;

gap:15px;

}

.social{

font-size:14px;

}

}

@media(max-width:500px){

header{

padding:22px;

}

.logo-box{

width:52px;

height:52px;

font-size:22px;

}

.logo h2{

font-size:21px;

}

main{

padding:20px 15px 50px;

}

.login-card{

padding:28px 20px;

border-radius:22px;

}

.card-top h1{

font-size:28px;

}

.card-top p{

font-size:14px;

}

.input-group input{

height:56px;

font-size:14px;

}

.login-btn{

height:56px;

font-size:15px;

}

.social{

height:56px;

font-size:14px;

}

}

/*==================================================
            BUTTON RESET
==================================================*/

button{

    font-family:"Inter",sans-serif;

}

a{

    transition:.3s;

}

input{

    font-family:"Inter",sans-serif;

}

input:-webkit-autofill{

    -webkit-text-fill-color:#fff;

    transition:background-color 9999s;

}
/*================================
        AGENT LOGIN BUTTON
================================*/


.agent-login-btn{


    height:55px;


    margin-top:15px;


    border-radius:16px;


    display:flex;


    justify-content:center;


    align-items:center;


    gap:10px;


    text-decoration:none;


    color:#fff;


    font-weight:700;


    border:1px solid rgba(123,44,255,.5);


    background:


    rgba(123,44,255,.15);


    transition:.35s;


}



.agent-login-btn:hover{


    transform:translateY(-3px);


    background:


    linear-gradient(

        135deg,

        #7b2cff,

        #00d4ff

    );


}
/*================================
        SUB AGENT LOGIN BUTTON
================================*/


.sub-agent-login-btn{


    margin-top:18px;


    height:52px;


    width:100%;


    display:flex;


    align-items:center;


    justify-content:center;


    gap:10px;


    border-radius:50px;


    text-decoration:none;


    color:#fff;


    font-weight:700;


    background:


    rgba(123,44,255,.15);


    border:


    1px solid rgba(123,44,255,.5);


    transition:.3s;


}



.sub-agent-login-btn:hover{


    transform:translateY(-3px);


    background:


    linear-gradient(

        135deg,

        #7b2cff,

        #00d4ff

    );


}
/*=========================================
            GLOBAL POPUP
=========================================*/

.popup-overlay{

position:fixed;

inset:0;

background:rgba(0,0,0,.65);

backdrop-filter:blur(10px);

display:flex;

justify-content:center;

align-items:center;

opacity:0;

visibility:hidden;

transition:.3s;

z-index:99999;

}

.popup-overlay.active{

opacity:1;

visibility:visible;

}

.popup-box{

width:420px;

max-width:92%;

background:#161b28;

border:1px solid rgba(255,255,255,.08);

border-radius:22px;

padding:35px;

text-align:center;

transform:scale(.85);

transition:.3s;

box-shadow:0 25px 60px rgba(0,0,0,.45);

}

.popup-overlay.active .popup-box{

transform:scale(1);

}

.popup-icon{

width:75px;

height:75px;

margin:auto;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

font-size:30px;

margin-bottom:18px;

background:#22c55e;

color:white;

}

.popup-title{

font-size:25px;

font-weight:700;

margin-bottom:12px;

}

#popupMessage{

color:#b7bfd7;

line-height:1.6;

margin-bottom:28px;

}

.popup-buttons{

display:flex;

gap:12px;

}

.popup-btn{

flex:1;

height:52px;

border:none;

border-radius:14px;

cursor:pointer;

font-size:15px;

font-weight:700;

}

.confirm-btn{

background:#7c3aed;

color:white;

}

.cancel-btn{

background:#252b3f;

color:white;

}
/*================================
        RESPONSIVE
================================*/

@media(max-width:1100px){

.platform-balance-card{

flex-direction:column;

align-items:flex-start;

gap:25px;

}

.balance-right{

width:100%;

display:grid;

grid-template-columns:1fr 1fr;

}

}

@media(max-width:850px){

.withdraw-grid{

grid-template-columns:1fr;

}

.history-header{

flex-direction:column;

align-items:flex-start;

}

.history-search{

width:100%;

}

.platform-main{

padding:20px;

}

.admin-sidebar{

width:230px;

}

}

@media(max-width:650px){

.balance-right{

grid-template-columns:1fr;

}

.page-header{

flex-direction:column;

align-items:flex-start;

gap:20px;

}

.admin-profile{

width:100%;

}

}
/*================================
        PAGE ANIMATION
================================*/

.platform-main > section,
.page-header{

opacity:0;

animation:pageEnter .7s ease forwards;

}


.page-header{

animation-delay:.1s;

}


.platform-balance-card{

animation-delay:.2s;

}


.platform-withdraw-card{

animation-delay:.35s;

}


.withdraw-history-card{

animation-delay:.5s;

}


@keyframes pageEnter{


from{

opacity:0;

transform:translateY(25px);

}


to{

opacity:1;

transform:translateY(0);

}


}



/*================================
        BALANCE GLOW EFFECT
================================*/


.platform-balance-card{

position:relative;

overflow:hidden;

}


.platform-balance-card::before{

content:"";

position:absolute;

width:300px;

height:300px;

right:-120px;

top:-120px;

background:

radial-gradient(

circle,

rgba(123,44,255,.35),

transparent 70%

);

pointer-events:none;

}



.balance-icon{

animation:

balanceFloat 4s ease-in-out infinite;

}



@keyframes balanceFloat{


0%,
100%{

transform:translateY(0);

}


50%{

transform:translateY(-8px);

}


}



/*================================
        FORM CARD EFFECT
================================*/


.platform-withdraw-card{

position:relative;

overflow:hidden;

}



.platform-withdraw-card::after{

content:"";

position:absolute;

width:250px;

height:250px;

bottom:-120px;

right:-100px;

background:

radial-gradient(

circle,

rgba(0,212,255,.25),

transparent 70%

);

}



/*================================
        INPUT HOVER
================================*/


.form-group input:hover,

.form-group select:hover{


border-color:rgba(123,44,255,.6);

}



.form-group input,

.form-group select{

transform:translateY(0);

}


.form-group input:focus,

.form-group select:focus{


transform:translateY(-2px);


}



/*================================
        BUTTON SHINE EFFECT
================================*/


#platformWithdrawBtn{

position:relative;

overflow:hidden;

}



#platformWithdrawBtn::before{


content:"";


position:absolute;


top:0;


left:-100%;


width:60%;


height:100%;


background:

linear-gradient(

120deg,

transparent,

rgba(255,255,255,.35),

transparent

);


transition:.6s;


}



#platformWithdrawBtn:hover::before{


left:120%;


}



/*================================
        HISTORY TABLE ANIMATION
================================*/


.withdraw-history-card{


animation:

historyReveal .8s ease forwards;


}


@keyframes historyReveal{


from{

opacity:0;

transform:translateY(40px);

}


to{

opacity:1;

transform:translateY(0);

}


}



tbody tr{


animation:

rowEnter .4s ease forwards;


}



@keyframes rowEnter{


from{

opacity:0;

transform:translateX(-20px);

}


to{

opacity:1;

transform:translateX(0);

}


}



/*================================
        SEARCH PREMIUM EFFECT
================================*/


.history-search{

transition:.3s;

}


.history-search:hover{


transform:translateY(-2px);


}



.history-search input{


background:

linear-gradient(

135deg,

#111b2e,

#16233c

);


}



/*================================
        TABLE HEADER STYLE
================================*/


thead th:first-child{

border-radius:14px 0 0 14px;

}


thead th:last-child{

border-radius:0 14px 14px 0;

}



/*================================
        CUSTOM SCROLLBAR
================================*/


::-webkit-scrollbar{

width:8px;

height:8px;

}


::-webkit-scrollbar-track{

background:#08101d;

}


::-webkit-scrollbar-thumb{

background:

linear-gradient(

180deg,

#7b2cff,

#00d4ff

);


border-radius:20px;

}
/*================================
        WITHDRAW HISTORY PANEL
================================*/


.withdraw-history-card{

padding:30px;

border-radius:24px;

background:rgba(255,255,255,.05);

border:1px solid rgba(255,255,255,.08);

backdrop-filter:blur(20px);

box-shadow:

0 20px 45px rgba(0,0,0,.25);

overflow:hidden;

}



.history-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:25px;

}



.history-header h2{

font-size:26px;

font-weight:800;

color:#fff;

margin-bottom:6px;

}



.history-header p{

font-size:14px;

color:#8f98b5;

}



/*================================
        SEARCH BOX
================================*/


.history-search{

position:relative;

width:300px;

}



.history-search i{

position:absolute;

left:18px;

top:50%;

transform:translateY(-50%);

color:#7b2cff;

font-size:15px;

}



.history-search input{

height:50px;

width:100%;

padding-left:48px;

padding-right:18px;

border-radius:15px;

border:1px solid rgba(255,255,255,.08);

background:#111b2e;

color:white;

outline:none;

transition:.3s;

}



.history-search input::placeholder{

color:#68738f;

}



.history-search input:focus{

border-color:#7b2cff;

box-shadow:

0 0 0 4px rgba(123,44,255,.15);

transform:translateY(-2px);

}



/*================================
        TABLE CONTAINER
================================*/


.withdraw-history-card .table-container{

overflow-x:auto;

border-radius:18px;

}



/*================================
        TABLE
================================*/


.withdraw-history-card table{

width:100%;

border-collapse:collapse;

min-width:850px;

}



.withdraw-history-card thead{

background:#111b2e;

}



.withdraw-history-card th{

padding:18px;

text-align:left;

font-size:13px;

text-transform:uppercase;

letter-spacing:.5px;

color:#94a3b8;

}



.withdraw-history-card td{

padding:18px;

border-bottom:

1px solid rgba(255,255,255,.06);

font-size:14px;

color:#e5e7eb;

}



.withdraw-history-card tbody tr{

transition:.3s;

}



.withdraw-history-card tbody tr:hover{

background:

rgba(123,44,255,.08);

transform:translateX(4px);

}



/*================================
        STATUS BADGES
================================*/


.status{

padding:7px 14px;

border-radius:50px;

font-size:12px;

font-weight:700;

display:inline-flex;

align-items:center;

gap:6px;

}



.status.completed{

background:

rgba(34,197,94,.15);

color:#22c55e;

}



.status.pending{

background:

rgba(245,158,11,.15);

color:#f59e0b;

}



.status.failed{

background:

rgba(239,68,68,.15);

color:#ef4444;

}



/*================================
        EMPTY HISTORY
================================*/


.empty-history{

display:flex;

flex-direction:column;

align-items:center;

justify-content:center;

padding:70px 20px;

}



.empty-history i{

font-size:55px;

color:#7b2cff;

margin-bottom:20px;

animation:

emptyFloat 3s ease-in-out infinite;

}



@keyframes emptyFloat{


0%,
100%{

transform:translateY(0);

}


50%{

transform:translateY(-10px);

}


}



.empty-history h3{

font-size:22px;

font-weight:700;

margin-bottom:10px;

}



.empty-history p{

color:#8f98b5;

font-size:14px;

}



/*================================
        HISTORY RESPONSIVE
================================*/


@media(max-width:900px){


.history-header{

flex-direction:column;

align-items:flex-start;

gap:20px;

}


.history-search{

width:100%;

}


}
#addCardBtn{

height:55px;

padding:0 25px;

border:none;

border-radius:15px;

background:
linear-gradient(
135deg,
#7b2cff,
#00d4ff
);

color:white;

font-weight:700;

cursor:pointer;

align-items:center;

justify-content:center;

gap:10px;

margin-top:15px;
display:flex;

}


#addCardBtn:hover{

transform:translateY(-2px);

box-shadow:
0 15px 35px rgba(123,44,255,.35);

}
 /*================================
        MOBILE SIDEBAR TOP FIX
================================*/


@media(max-width:850px){


.platform-layout{

flex-direction:column;

}


/* Sidebar stays on top */

.admin-sidebar{

width:100%;

min-height:auto;

padding:18px;

border-right:none;

border-bottom:1px solid rgba(255,255,255,.08);

}



/* Brand center */

.admin-brand{

justify-content:center;

margin-bottom:25px;

}



/* Navigation becomes horizontal */

.admin-sidebar nav{

flex-direction:row;

overflow-x:auto;

gap:8px;

}



.admin-sidebar nav a{

white-space:nowrap;

padding:12px 15px;

}



/* Logout stays below menu */

.admin-logout{

margin-top:20px;

}



.platform-main{

padding:20px;

width:100%;

}

}



/*================================
        SMALL MOBILE
================================*/


@media(max-width:600px){


.page-header{

flex-direction:column;

align-items:flex-start;

gap:18px;

}



.platform-balance-card{

padding:22px;

}



.balance-left h2{

font-size:30px;

}



.balance-icon{

width:65px;

height:65px;

font-size:24px;

}



.balance-right{

width:100%;

grid-template-columns:1fr;

}



.balance-mini{

width:100%;

}



.platform-withdraw-card,

.withdraw-history-card{

padding:20px;

border-radius:20px;

}



.withdraw-grid{

grid-template-columns:1fr;

}



#platformWithdrawBtn{

height:55px;

font-size:15px;

}



.history-search{

width:100%;

}


}



/*================================
        EXTRA SMALL PHONE
================================*/


@media(max-width:400px){


.admin-sidebar nav a{

font-size:13px;

padding:10px 12px;

}



.logo-box{

width:48px;

height:48px;

}



.admin-brand h2{

font-size:18px;

}



.platform-main{

padding:15px;

}


}