/* ==========================================
        SENKU STAKES
        REGISTER PAGE
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;

    background:#070916;

    color:#fff;

    min-height:100vh;

    overflow-x:hidden;

    position:relative;

}

/* ===========================
        BACKGROUND
=========================== */

.bg-grid{

    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(120px);

    opacity:.20;

    z-index:-4;

}

.glow1{

    width:420px;

    height:420px;

    background:#7b2cff;

    top:-180px;

    left:-120px;

}

.glow2{

    width:520px;

    height:520px;

    background:#00d5ff;

    right:-180px;

    bottom:-180px;

}

.glow3{

    width:300px;

    height:300px;

    background:#8b5cf6;

    left:50%;

    top:40%;

}

/* ===========================
        HEADER
=========================== */

header{

    width:100%;

    padding:30px 7%;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

    color:#fff;

    text-decoration:none;

}

.logo-box{

    width:58px;

    height:58px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

    font-weight:800;

    background:linear-gradient(135deg,#8b5cf6,#00d5ff);

    box-shadow:0 15px 35px rgba(123,44,255,.35);

}

.logo h2{

    font-size:24px;

}

.logo small{

    color:#9ca3b9;

}

/* ===========================
            MAIN
=========================== */

main{

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px 20px 80px;

}

/* ===========================
        REGISTER CARD
=========================== */

.register-card{

    width:100%;

    max-width:720px;

    background:rgba(18,23,43,.90);

    border:1px solid rgba(255,255,255,.08);

    border-radius:28px;

    backdrop-filter:blur(18px);

    padding:45px;

    box-shadow:0 25px 60px rgba(0,0,0,.45);

}

.card-top{

    text-align:center;

    margin-bottom:35px;

}

.register-icon{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:24px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(135deg,#8b5cf6,#00d5ff);

    font-size:34px;

    margin-bottom:22px;

}

.card-top h1{

    font-size:42px;

    margin-bottom:10px;

}

.card-top p{

    color:#9ca3b9;

    line-height:1.8;

}
/* ==========================================
            FORM
========================================== */

form{

    display:flex;

    flex-direction:column;

    gap:22px;

}

.double{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

}

.input-group{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.input-group label{

    font-size:15px;

    font-weight:600;

    color:#d7dcef;

}

.input-group input,
.input-group select{

    width:100%;

    height:58px;

    padding:0 18px;

    border-radius:16px;

    border:1px solid rgba(255,255,255,.08);

    outline:none;

    background:#171d34;

    color:#fff;

    font-size:15px;

    transition:.35s;

}

.input-group input::placeholder{

    color:#7d88aa;

}

.input-group input:focus,
.input-group select:focus{

    border-color:#7b2cff;

    box-shadow:0 0 0 4px rgba(123,44,255,.15);

}

.input-group select{

    cursor:pointer;

}

/* ==========================================
            CHECKBOX
========================================== */

.checkbox{

    display:flex;

    align-items:flex-start;

    gap:12px;

    margin-top:5px;

}

.checkbox input{

    width:18px;

    height:18px;

    margin-top:3px;

    accent-color:#7b2cff;

}

.checkbox label{

    color:#9ca3b9;

    line-height:1.8;

    font-size:15px;

}

.checkbox a{

    color:#8b5cf6;

    text-decoration:none;

}

.checkbox a:hover{

    color:#00d5ff;

}

/* ==========================================
        REGISTER BUTTON
========================================== */

.register-btn{

    width:100%;

    height:60px;

    border:none;

    border-radius:18px;

    cursor:pointer;

    font-size:17px;

    font-weight:700;

    color:#fff;

    background:linear-gradient(135deg,#7b2cff,#00d5ff);

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    transition:.35s;

    box-shadow:0 18px 40px rgba(123,44,255,.30);

}

.register-btn:hover{

    transform:translateY(-4px);

    box-shadow:0 25px 50px rgba(123,44,255,.45);

}

/* ==========================================
            DIVIDER
========================================== */

.divider{

    display:flex;

    align-items:center;

    gap:18px;

    margin:10px 0;

}

.divider::before,
.divider::after{

    content:"";

    flex:1;

    height:1px;

    background:rgba(255,255,255,.08);

}

.divider span{

    color:#8f98b5;

    font-size:14px;

    letter-spacing:1px;

}

/* ==========================================
        SOCIAL BUTTONS
========================================== */

.social-buttons{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:18px;

}

.social{

    height:58px;

    border:none;

    border-radius:16px;

    cursor:pointer;

    background:#171d34;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    font-size:15px;

    font-weight:600;

    transition:.35s;

    border:1px solid rgba(255,255,255,.08);

}

.social:hover{

    transform:translateY(-3px);

    border-color:#7b2cff;

}

.google i{

    color:#ff5757;

}

.discord i{

    color:#5865F2;

}

/* ==========================================
        LOGIN LINK
========================================== */

.bottom-text{

    text-align:center;

    margin-top:35px;

    color:#9ca3b9;

    font-size:15px;

}

.bottom-text a{

    color:#8b5cf6;

    text-decoration:none;

    font-weight:700;

    margin-left:6px;

}

.bottom-text a:hover{

    color:#00d5ff;

}

/* ==========================================
        RESPONSIVE
========================================== */

@media(max-width:768px){

.register-card{

padding:35px 25px;

}

.card-top h1{

font-size:34px;

}

.double{

grid-template-columns:1fr;

}

.social-buttons{

grid-template-columns:1fr;

}

}

@media(max-width:480px){

header{

padding:20px;

}

.logo-box{

width:50px;

height:50px;

}

.logo h2{

font-size:20px;

}

.register-card{

padding:25px 20px;

border-radius:22px;

}

.register-icon{

width:75px;

height:75px;

font-size:28px;

}

.card-top h1{

font-size:28px;

}

.register-btn{

height:56px;

font-size:16px;

}

.social{

height:54px;

font-size:14px;

}

}
/*================================
        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;

}


}