/* ==========================
   Google Font & Reset
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#02091d;
    color:#fff;
    overflow-x:hidden;
}


/* ==========================
   Scrollbar
========================== */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#09152d;
}

::-webkit-scrollbar-thumb{
    background:#2648ff;
    border-radius:20px;
}


/* ==========================
   Sidebar
========================== */

.sidebar{
    position:fixed;
    top:0;
    left:0;
    width:270px;
    height:100vh;
    background:#030b1d;
    border-right:1px solid rgba(255,255,255,.08);
    overflow-y:auto;
    z-index:1000;
    transition:.4s;
}

.sidebar.hide{
    transform:translateX(-100%);
}


/* ==========================
   Logo
========================== */

.logo{
    padding:25px;
}

.logo img{
    width:180px;
}


/* ==========================
   Menu
========================== */

.sidebar ul{
    list-style:none;
    padding:0 15px;
}

.sidebar ul li{
    height:60px;
    display:flex;
    align-items:center;
    gap:15px;
    padding:0 20px;
    margin-bottom:10px;
    border-radius:16px;
    cursor:pointer;
    transition:.4s;
}

.sidebar ul li:hover{
    background:#11275f;
}

.sidebar ul li.active{
    background:linear-gradient(90deg,#3d63ff,#1f38b5);
}

.sidebar ul li i{
    width:20px;
    font-size:18px;
}

.arrow{
    margin-left:auto;
}


/* ==========================
   Robot Box
========================== */

.robot-box{
    margin:25px 20px;
    padding:25px;
    border-radius:25px;
    background:linear-gradient(180deg,#132f87,#08142e);
    border:1px solid rgba(255,255,255,.1);
}

.robot-box h2{
    margin-bottom:15px;
}

.robot-box p{
    color:#bdbdbd;
    line-height:28px;
}

.robot-box img{
    width:100px;
    display:block;
    margin:20px auto;
}

.robot-box button{
    width:100%;
    height:55px;
    border:none;
    border-radius:15px;
    background:#2f56ff;
    color:#fff;
    font-size:17px;
}


/* ==========================
   Overlay
========================== */

.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    z-index:999;
    display:none;
}

.overlay.show{
    display:block;
}


/* ==========================
   Main Content
========================== */

.main-content{
    margin-left:270px;
    width:calc(100% - 270px);
    padding:30px;
}


/* ==========================
   Header
========================== */

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.left{
    display:flex;
    align-items:center;
    gap:25px;
}

.menu-btn{
    font-size:28px;
    cursor:pointer;
}

.right{
    display:flex;
    align-items:center;
    gap:30px;
}

.right i{
    font-size:22px;
}


/* ==========================
   Notification Bell
========================== */

.bell{
    position:relative;
}

.bell span{
    position:absolute;
    top:-7px;
    right:-7px;
    width:18px;
    height:18px;
    background:red;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:10px;
}


/* ==========================
   Profile
========================== */

.profile{
    display:flex;
    align-items:center;
    gap:15px;
}

.profile img{
    width:55px;
    height:55px;
    border-radius:50%;
    object-fit:cover;
}

.profile p{
    color:#2dff54;
}


/* ==========================
   Welcome Section
========================== */

.welcome{
    margin-top:40px;
}

.welcome h1{
    font-size:38px;
    font-weight:700;
}

.welcome p{
    margin-top:12px;
    color:#a9a9a9;
    font-size:16px;
}
/* ==========================
   News Section
========================== */

.news-section{
    margin-top:30px;
    padding:35px;
    border-radius:30px;
    background:linear-gradient(90deg,#132d87,#091530);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.news-left{
    display:flex;
    align-items:center;
    gap:25px;
}

.news-left i{
    font-size:55px;
    color:#5f84ff;
}

.news-left h2{
    margin-bottom:10px;
    font-size:28px;
}

.news-left h3{
    margin-bottom:10px;
    font-size:20px;
}

.news-left p{
    color:#bdbdbd;
    line-height:28px;
}

.news-right img{
    width:180px;
}



/* ==========================
   Referral Card
========================== */

.referral-card{
    margin-top:30px;
    padding:35px;
    border-radius:30px;
    background:linear-gradient(90deg,#191f7a,#0f1339);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}


/* Left Side */

.ref-user{
    display:flex;
    align-items:center;
    gap:20px;
}

.ref-user img{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
}

.ref-user h2{
    margin-bottom:10px;
}

.ref-user p{
    color:#c0c0c0;
}


/* Right Side */

.ref-right{
    width:50%;
}


/* ==========================
   Input Box
========================== */

.input-box{
    background:#1a2356;
    border-radius:18px;
    overflow:hidden;
    display:flex;
    align-items:center;
}

.input-box input{
    flex:1;
    height:65px;
    border:none;
    outline:none;
    background:none;
    color:white;
    padding:0 20px;
    font-size:15px;
}

.input-box button{
    width:75px;
    height:65px;
    border:none;
    background:#3156ff;
    color:white;
    font-size:20px;
}


/* ==========================
   Buttons Area
========================== */

.btns{
    display:flex;
    gap:20px;
    margin-top:25px;
}


/* Copy Button */

.copy-btn{
    width:180px;
    height:58px;
    border:none;
    border-radius:15px;
    background:#2f56ff;
    color:white;
    font-size:17px;
    transition:.4s;
}

.copy-btn:hover{
    background:#496aff;
}


/* Connect Bot Button */

.bot-btn{
    width:180px;
    height:58px;
    border:none;
    border-radius:15px;
    background:#1db84f;
    color:white;
    font-size:17px;
    transition:.4s;
}

.bot-btn:hover{
    background:#29d35d;
}


/* ==========================
   Button Hover
========================== */

button{
    cursor:pointer;
}

button:hover{
    transform:translateY(-3px);
    transition:.3s;
}
/* ==========================
   Income Title
========================== */

.title{
    margin-top:40px;
    margin-bottom:30px;
    font-size:35px;
    font-weight:700;
}


/* ==========================
   Cards Grid
========================== */

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


/* ==========================
   Common Card Style
========================== */

.card{
    position:relative;
    overflow:hidden;
    padding:30px;
    border-radius:30px;
    transition:.4s;
}

.card:hover{
    transform:translateY(-8px);
}


.card::before{
    content:"";
    position:absolute;
    top:-60px;
    right:-60px;
    width:170px;
    height:170px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
}


/* ==========================
   Icon Circle
========================== */

.icon{
    width:80px;
    height:80px;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
}

.card h3{
    margin-top:25px;
    color:#d8d8d8;
    font-weight:500;
}

.card h1{
    margin-top:10px;
    font-size:32px;
}

.status{
    display:inline-block;
    margin-top:20px;
    background:rgba(255,255,255,.15);
    padding:10px 20px;
    border-radius:30px;
}


/* ==========================
   Blue Card
========================== */

.blue{
    background:linear-gradient(135deg,#3f67ff,#132f87);
}


/* ==========================
   Green Card
========================== */

.green{
    background:linear-gradient(135deg,#19b95c,#085a2c);
}


/* ==========================
   Orange Card
========================== */

.orange{
    background:linear-gradient(135deg,#ffb428,#b66b00);
}


/* ==========================
   Purple Card
========================== */

.purple{
    background:linear-gradient(135deg,#9438ff,#4b1b87);
}


/* ==========================
   Sky Card
========================== */

.sky{
    background:linear-gradient(135deg,#2a8cff,#004ba0);
}


/* ==========================
   Pink Card
========================== */

.pink{
    background:linear-gradient(135deg,#ff4e9f,#9b1f57);
}


/* ==========================
   Red Card
========================== */

.red{
    background:linear-gradient(135deg,#ff4d4d,#8d1111);
}


/* ==========================
   Card Value
========================== */

.card-value{
    font-size:34px;
    font-weight:700;
    margin-top:12px;
}


/* ==========================
   Card Bottom Text
========================== */

.card small{
    display:block;
    margin-top:15px;
    color:#e4e4e4;
    font-size:14px;
}
/* ==========================
   Quick Actions
========================== */

.quick-actions{
    margin-top:40px;
    padding:30px;
    border-radius:30px;
    background:rgba(14,24,57,.8);
    backdrop-filter:blur(20px);
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:25px;
}


/* ==========================
   Single Action
========================== */

.action{
    text-align:center;
    padding:25px 20px;
    border-radius:25px;
    background:rgba(255,255,255,.05);
    transition:.4s;
    cursor:pointer;
}

.action:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,.08);
}


/* ==========================
   Action Icon
========================== */

.action i{
    width:75px;
    height:75px;
    line-height:75px;
    border-radius:50%;
    font-size:28px;
    background:linear-gradient(135deg,#3b64ff,#17349e);
    box-shadow:0 10px 25px rgba(0,0,0,.3);
}

.action span{
    display:block;
    margin-top:20px;
    font-size:16px;
    font-weight:500;
}


/* ==========================
   Glass Cards Section
========================== */

.bottom-section{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:25px;
}


/* ==========================
   Wallet Card
========================== */

.wallet-card{
    padding:30px;
    border-radius:30px;
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.08);
}

.wallet-card h3{
    margin-bottom:20px;
}

.wallet-card h1{
    font-size:40px;
    margin-bottom:15px;
}

.wallet-card p{
    color:#c3c3c3;
}


/* ==========================
   Team Card
========================== */

.team-card{
    padding:30px;
    border-radius:30px;
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.08);
}

.team-card h3{
    margin-bottom:20px;
}

.team-card h1{
    font-size:40px;
    margin-bottom:15px;
}

.team-card p{
    color:#c3c3c3;
}


/* ==========================
   Desktop Responsive
========================== */

@media(max-width:1200px){

    .cards{
        grid-template-columns:repeat(2,1fr);
    }

}


/* ==========================
   Tablet Responsive
========================== */

@media(max-width:992px){

    .quick-actions{
        grid-template-columns:repeat(3,1fr);
    }

    .bottom-section{
        grid-template-columns:1fr;
    }

}
/* ===================================
   Sidebar Animation
=================================== */

.sidebar{
    transition:all .4s ease;
}

.sidebar.hide{
    transform:translateX(-100%);
}


/* ===================================
   Overlay
=================================== */

.overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.6);
    z-index:999;
    opacity:0;
    visibility:hidden;
    transition:.3s;
}

.overlay.show{
    opacity:1;
    visibility:visible;
}


/* ===================================
   992px
=================================== */

@media(max-width:992px){

    .sidebar{
        z-index:1000;
    }

    .main-content{
        margin-left:0;
        width:100%;
        padding:25px;
    }

    .header{
        flex-wrap:wrap;
        gap:20px;
    }

    .news-section{
        flex-direction:column;
        text-align:center;
    }

    .news-left{
        flex-direction:column;
    }

    .news-right img{
        width:150px;
    }

    .referral-card{
        flex-direction:column;
    }

    .ref-right{
        width:100%;
    }

    .cards{
        grid-template-columns:repeat(2,1fr);
    }

}
/* ===================================
   768px
=================================== */

@media(max-width:768px){

    .main-content{
        padding:20px;
    }

    .header{
        flex-direction:column;
        align-items:flex-start;
    }

    .right{
        width:100%;
        justify-content:space-between;
    }

    .welcome h1{
        font-size:30px;
    }

    .news-section{
        padding:25px;
    }

    .ref-user{
        flex-direction:column;
        text-align:center;
    }

    .input-box{
        flex-direction:column;
        background:none;
        gap:15px;
    }

    .input-box input{
        width:100%;
        background:#18244d;
        border-radius:15px;
    }

    .input-box button{
        width:100%;
        border-radius:15px;
    }

    .btns{
        flex-direction:column;
    }

    .copy-btn,
    .bot-btn{
        width:100%;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .quick-actions{
        grid-template-columns:repeat(2,1fr);
    }

}