/* =========================
RESET
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,sans-serif;
}

body{
background:#050814;
color:#fff;
overflow-x:hidden;
}


/* =========================
TOP BAR
========================= */

.top-bar{
position:fixed;
top:0;
left:0;
width:100%;
height:65px;
background:#070b12;
display:flex;
align-items:center;
justify-content:space-between;
padding:0 10px;
z-index:9999;
border-bottom:1px solid #151515;
}

.logo{
height:50px;
width:auto;
object-fit:contain;
}

.balance-area{
display:flex;
flex-direction:column;
align-items:center;
flex:1;
}

.balance-label{
font-size:12px;
color:#bdbdbd;
margin-bottom:2px;
}

.balance-view{
display:flex;
align-items:center;
gap:6px;
}

#topBalance{
font-size:18px;
font-weight:700;
color:#f8c21c;
}

.ksh{
color:#fff;
font-weight:500;
}

/* ICON */

.icon{
    font-size:20px;
    color:#d4e11c;
    cursor:pointer;
}


#depositTopBtn{
height:42px;
padding:0 16px;
border:none;
border-radius:25px;
background:#f8c21c;
color:#000;
font-size:15px;
font-weight:700;
cursor:pointer;
}


/* =========================
MOBILE
========================= */

@media(max-width:480px){

.top-bar{
height:85px;
padding:0 8px;
}

.logo{
width:100px;
}

.balance-label{
font-size:12px;
}

#topBalance{
font-size:16px;
}

.eye-btn{
font-size:26px;
}

#depositTopBtn{
height:50px;
padding:0 18px;
font-size:16px;
}

}








/* =========================
REFER CONTAINER
========================= */
.refer-container{
    padding:100px 15px 20px;
}


/* =========================
HEADER
========================= */

.refer-header{
display:flex;
align-items:center;
gap:15px;
margin-bottom:25px;
}

.back-btn{
width:42px;
height:42px;
border-radius:12px;
background:#171d2c;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
color:#fff;
font-size:18px;
}

.refer-header h1{
font-size:28px;
font-weight:700;
margin-bottom:5px;
}

.refer-header p{
color:#9ca3af;
font-size:15px;
}

/* =========================
TABS
========================= */

.refer-tabs{
display:flex;
gap:12px;
margin-bottom:18px;
}

.tab-btn{
flex:1;
height:60px;
border:none;
border-radius:18px;
background:#1b2130;
color:#fff;
font-size:16px;
font-weight:700;
display:flex;
align-items:center;
justify-content:center;
gap:10px;
cursor:pointer;
}

.tab-btn.active{
border:3px solid #ffd400;
}

/* =========================
CARDS
========================= */

.stats-card{
background:#0d141d;
border-radius:24px;
padding:20px;
margin-bottom:18px;
border:1px solid rgba(255,255,255,.04);
}

.stats-card h3{
font-size:24px;
margin-bottom:15px;
}

.stats-card hr{
border:none;
height:1px;
background:#1f2937;
margin:18px 0;
}

/* =========================
NUMBERS
========================= */

.big-number{
font-size:23px;
font-weight:500;
margin-bottom:8px;
color:#f8c21c;
}

.big-money{
font-size:20px;
font-weight:500;
margin:10px 0;
color:#f8c21c;
} 

.withdraw-note{
margin-top:10px;
color:#b18cff;
font-size:15px;
line-height:1.5;
}

/* =========================
CASH OUT
========================= */

.cashout-btn{
margin-top:18px;
width:140px;
height:54px;
border:none;
border-radius:45px;
background:#5a5f68;
color:#fff;
font-size:20px;
font-weight:700Z;
cursor:pointer;
}

/* =========================
LEADERBOARD
========================= */

.leaderboard-item{
display:flex;
align-items:center;
gap:15px;
margin-top:18px;
}

.leaderboard-item span{
font-size:30px;
}

.leaderboard-item h4{
font-size:16px;
margin-bottom:4px;
font-weight:100;
color: #9aaba1;
}

.leaderboard-item p{
font-size:18px;
font-weight:700;
}

/* =========================
REF LINK
========================= */

.link-box{
display:flex;
align-items:center;
background:#1c2231;
border-radius:15px;
overflow:hidden;
margin-top:10px;
}

.link-box input{
flex:1;
background:none;
border:none;
outline:none;
padding:18px;
color:#fff;
font-size:16px;
}

.link-box button{
width:70px;
height:60px;
border:none;
background:none;
color:#fff;
font-size:22px;
cursor:pointer;
}

/* =========================
QR
========================= */

.qr-box{
height:100px;
border-radius:18px;
background:#1b2130;
display:flex;
align-items:center;
justify-content:center;
font-size:60px;
}

/* =========================
SOCIAL SHARE
========================= */

.share-icons{
display:flex;
gap:15px;
margin:20px 0;
}

.share-icons a{
width:60px;
height:60px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
font-size:28px;
color:#fff;
}

#shareWhatsapp{
background:#25D366;
}

#shareTelegram{
background:#2AABEE;
}

#shareFacebook{
background:#1877F2;
}

#shareTwitter{
background:#000;
}

.share-text{
font-size:17px;
color:#bdbdbd;
line-height:1.6;
margin-bottom:15px;
}

.share-guide h4{
font-size:22px;
margin-bottom:10px;
}

.share-guide p{
font-size:18px;
margin-bottom:8px;
color:#d1d5db;
}

/* =========================
BOTTOM NAVIGATION
========================= */

.bottom-nav{
position:fixed;
bottom:0;
left:0;
width:100%;
height:75px;
background:#111827;
border-top:1px solid #1f2937;
display:flex;
justify-content:space-around;
align-items:center;
z-index:9999;
}

.nav-link{
flex:1;
height:100%;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-decoration:none;
color:#fff;
position:relative;
}

.nav-link .material-icons{
font-size:25px;
margin-bottom:4px;
}

.nav-link p{
font-size:12px;
font-weight:700;
}

.nav-link.active{
color:#8b5cf6;
}

.nav-link.active::after{
content:"";
position:absolute;
bottom:0;
width:50px;
height:3px;
background:#8b5cf6;
border-radius:20px;
}



/* FOOTER SECTION STYLING */
.footer-area{
    background-color:#050814;
    color:#ffffff;
    padding:25px 20px 15px 20px;
}

/* Footer Logo Styling */
.footer-logo-text {
    font-size: 26px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}

/* Useful Links & Contact Us Side-by-Side Grid */
.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-columns h4 {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-columns div {
    flex: 1;
}

.footer-columns a, 
.footer-columns p {
    display: block;
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.footer-columns a:hover {
    color: #ffffff;
}

/* Section Headings */
.footer-area h3 {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 12px;
}

/* Support & Trust Links */
.trust-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.trust-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
}

.trust-links a:hover {
    color: #ffffff;
}

/* Payment Icons Layout */
.payments {
    display: flex;
    gap: 19px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.payments img {
    height: 35px;
    border-radius: 9px;
    object-fit: contain;
}

/* License Paragraph */
.license {
    color: #a0aec0;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Social Icons */
.social {
    margin-bottom: 20px;
}

.social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background-color: #1a202c;
    color: #ffffff;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    font-size: 23px;
}

.social a:hover {
    background-color: #2d3748;
}

/* Age 18+ Badge */
.age18 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #6b21a8;
    color: #ffffff;
    font-weight: bold;
    font-size: 19px;
    border-radius: 50%;
    margin-top: 10px;
}


/* Ensure the body or main container accounts for the bottom nav */
body {
    padding-bottom: 70px; /* Adjust this value to match the exact height of your bottom navigation bar */
}

/* Alternatively, add bottom padding directly to the footer area */
.footer-area {
    background-color:#050814; 
    color: #ffffff;
    padding: 25px 20px 90px 20px; /* Top, Right, Bottom (increased to clear the nav), Left */
    font-family: Arial, sans-serif;
}


/* =========================
MOBILE
========================= */

@media(max-width:480px){

.logo{
height:50px;
}

#depositTopBtn{
height:46px;
padding:0 18px;
font-size:16px;
}

.refer-header h1{
font-size:22px;
}

.refer-header p{
font-size:13px;
}

.tab-btn{
font-size:14px;
height:56px;
}

.big-number{
font-size:42px;
}

.big-money{
font-size:32px;
}

.cashout-btn{
width:170px;
height:52px;
font-size:22px;
}

.stats-card h3{
font-size:20px;
}

}



.referral-slider{
width:100%;
height:195px;
position:relative;
overflow:hidden;
border-radius:12px;
margin-bottom:15px;
}

.slide{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
opacity:0;
transition:opacity 1s ease;
}

.slide.active{
opacity:1;
}


.ref-tabs{
    display:flex;
    justify-content:space-between;
    margin:20px 0;
    border-bottom:1px solid rgba(255,255,255,.1);
}

.tab{
    flex:1;
    background:none;
    border:none;
    color:#b0aeae;
    font-size:18px;
    padding:15px 5px;
    cursor:pointer;
}

.tab.active{
    color:#ffffff;
    border-bottom:3px solid #f8c21c;
}

.tab-content{
    display:none;
}

.tab-content.active{
    display:block;
}


/* =========================
LEADERBOARD
========================= */

#leaderboard{
    padding:15px 5px;
    background:#050814;
    color:#fff;
}

/* HEADER */

.leader-header{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:25px;
    padding:0 10px;
}

.leader-icon{
    font-size:34px;
    color:#ff6b00;
    line-height:1;
    margin-top:5px;
}

.leader-title{
    font-size:20px;
    font-weight:800;
    line-height:1.1;
    margin:0;
    color:#fff;
}

.leader-subtitle{
    margin-top:12px;
    font-size:15px;
    color:#979797;
    line-height:1.5;
}

/* REWARD CARDS */

.reward-card{
    background:#1e042d;
    border:2px solid #65098a;
    border-radius:14px;
    padding:8px;
    display:flex;
    align-items:center;
    gap:19px;
    margin:0 2px 18px 2px;
    width:calc(100% - 4px);
    box-sizing:border-box;
}

/* RANK CIRCLES */

.reward-rank{
    width:34px;
    height:34px;
    min-width:34px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:700;
    color:#ffffff;
}

.gold .reward-rank{
    background:#f8c21c;
    border:3px solid #ffd94d;
}

.silver .reward-rank{
    background:#d7d7d7;
    border:3px solid #efefef;
}

.bronze .reward-rank{
    background:#ff8b34;
    border:3px solid #ffb26e;
}

.reward-info small{
    display:block;
    color:#c48ed9;
    font-size:15px;
    margin-bottom:5px;
}

.reward-info h3{
    margin:0;
    color:#e8e0e0;
    font-size:19px;
    font-weight:400;
}




/* TOP REFERRALS */

.top-referrals{
    margin-top:35px;
    margin-bottom:18px;
    font-size:22px;
    font-weight:700;
    color:#fff;
}

/* TABLE */

.leaderboard-table {
    width: calc(100% + 60px);
    margin-left: -30px;
    margin-right: -30px;

    border-radius: 1px;
    overflow: hidden;
    background: #0f141d;
}



.leaderboard-head{
    background:#151c26;
    display:flex;
    justify-content:space-between;
    padding:16px 18px;
    color:#9ca3af;
    font-size:15px;
}

.leaderboard-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px;
    background:#091827;
}

/* LEFT SIDE */

.rank-user{
    display:flex;
    align-items:center;
    gap:14px;
}

.rank-circle{
    width:30px;
    height:30px;
    border-radius:50%;
    background:#f8c21c;
    border:3px solid #ffd94d;
    color:#fff;
    font-size:22px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
}

.rank-user strong{
    display:block;
    color:#fff;
    font-size:16px;
    margin-bottom:5px;
}

.rank-user p{
    margin:0;
    color:#cfcfcf;
    font-size:14px;
}

/* GREEN MONEY BADGE */

.rank-user p span{
    background:#1f8a43;
    color:#fff;
    padding:4px 10px;
    border-radius:8px;
    margin-left:6px;
    font-size:13px;
}

/* RIGHT SIDE */

.points{
    text-align:right;
    color:#fff;
    font-size:16px;
    font-weight:700;
}

.points small{
    display:block;
    margin-top:5px;
    color:#cfcfcf;
    font-size:14px;
    font-weight:400;
}








/* =========================
OVERVIEW TAB
========================= */

#overview{
    padding:20px;
}

.overview-header{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:20px;
}

.overview-header i{
    color:#8b5cf6;
    font-size:30px;
}

.overview-header h2{
    color:#fff;
    font-size:28px;
    font-weight:700;
    margin:0;
}

/* =========================
CHART CARDS
========================= */

.chart-card{
    background:#111827;
    border-radius:20px;
    padding:15px;
    margin-bottom:20px;
}

.chart-card h3{
    color:#fff;
    font-size:16px;
    margin-bottom:15px;
}

.chart-placeholder{
    height:140px;
    display:flex;
    align-items:flex-end;
    gap:15px;
    padding:15px 0;
}

.chart-bar{
    width:30px;
    background:#8b5cf6;
    border-radius:6px 6px 0 0;
}

.chart-bar.large{
    height:100px;
}

.chart-bar.small{
    height:70px;
}

.chart-label{
    color:#9ca3af;
    margin-top:8px;
    text-align:center;
    font-size:13px;
}

/* =========================
LEGEND
========================= */

.chart-legend{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:15px;
}

.legend-item{
    display:flex;
    align-items:center;
    gap:6px;
    color:#bdbdbd;
    font-size:13px;
}

.legend-color{
    width:12px;
    height:12px;
    border-radius:3px;
}


.date-row{
    display:flex;
    justify-content:flex-end;
    margin-bottom:15px;
}

/* =========================
STATS GRID
========================= */

.stats-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:19px;
    margin-top:15px;
    margin-bottom:20px;
}

.overview-stat{
    min-height:90px;
    border-radius:18px;
    padding:12px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    position:relative;
}

/* ICONS */

.overview-stat::before{
    position:absolute;
    top:10px;
    left:12px;
    font-size:20px;
    color:#fff;
    opacity:.9;
}

.overview-stat.purple::before{
    content:"👤";
}

.overview-stat.cyan::before{
    content:"✓";
}

.overview-stat.green::before{
    content:"💰";
}

.overview-stat.yellow::before{
    content:"↗";
}

/* TEXT */

.overview-stat h4{
    margin-top:18px;
    color:#d7d7d7;
    font-size:12px;
    font-weight:500;
}

.overview-stat span{
    color:#fff;
    font-size:24px;
    font-weight:700;
    margin-top:5px;
}

/* PURPLE */

.overview-stat.purple{
    background:rgba(138,92,246,.15);
    border:2px solid #8b5cf6;
    box-shadow:0 0 12px rgba(138,92,246,.25);
}

/* CYAN */

.overview-stat.cyan{
    background:rgba(0,255,255,.10);
    border:2px solid #4ff8ff;
    box-shadow:0 0 12px rgba(79,248,255,.20);
}

/* GREEN */

.overview-stat.green{
    background:rgba(0,255,100,.10);
    border:2px solid #00c853;
    box-shadow:0 0 12px rgba(0,200,83,.20);
}

/* YELLOW */

.overview-stat.yellow{
    background:rgba(255,214,0,.10);
    border:2px solid #ffd600;
    box-shadow:0 0 12px rgba(255,214,0,.20);
}

/* =========================
MOBILE
========================= */

@media(max-width:600px){

    .overview-stat{
        min-height:85px;
        padding:10px;
    }

    .overview-stat h4{
        font-size:11px;
    }

    .overview-stat span{
        font-size:22px;
    }

    .overview-stat::before{
        font-size:18px;
    }
}







/* =========================
OVERVIEW CARDS
========================= */

.overview-card{
    background:#111827;
    border-radius:24px;
    padding:20px;
    margin-bottom:20px;
}

.overview-card h3{
    color:#fff;
    font-size:18px;
    margin:0 0 15px;
}

/* =========================
CARD TOP
========================= */

.card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.date-box{
    background:#1f2937;
    color:#d1d5db;
    padding:10px 14px;
    border-radius:10px;
    font-size:14px;
}

/* =========================
CHART AREA
========================= */

.chart-area{
    height:140px;
    display:flex;
    align-items:flex-end;
    padding:10px 0;
}

.bar{
    width:40px;
    border-radius:8px 8px 0 0;
}

.purple-bar{
    height:120px;
    background:#8b5cf6;
}

.green-bar{
    height:90px;
    background:#22c55e;
}

.yellow-bar{
    height:70px;
    background:#facc15;
}

/* =========================
LABEL
========================= */

.chart-label{
    color:#9ca3af;
    font-size:14px;
    margin-top:8px;
}

/* =========================
LEGEND
========================= */

.chart-legend{
    display:flex;
    justify-content:center;
    gap:25px;
    margin-top:15px;
}

.chart-legend span{
    color:#d1d5db;
    display:flex;
    align-items:center;
    gap:6px;
    font-size:14px;
}

.chart-legend i{
    width:14px;
    height:14px;
    border-radius:4px;
    display:inline-block;
}

.legend-purple{
    background:#8b5cf6;
}

.legend-yellow{
    background:#facc15;
}

.legend-green{
    background:#22c55e;
}

/* =========================
DATE RANGE
========================= */

.date-range-box{
    background:#1f2937;
    color:#d1d5db;
    padding:14px;
    border-radius:12px;
    margin:20px 0;
    text-align:center;
    font-size:16px;
}




.date-range-container{
    display:flex;
    gap:10px;
    margin-top:15px;
}

.date-select{
    flex:1;
    background:#0c132d;
    color:#fff;
    border:none;
    border-radius:12px;
    padding:12px;
    font-size:14px;
}









.popup{
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 9999;
}

.popup.show{
    opacity: 1;
    visibility: visible;
}

.popup.success{
    background: #16a34a;
}

.popup.error{
    background: #dc2626;
}






.qr-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.qr-overlay.show{
    display:flex;
}

.qr-popup{
    background:#fff;
    padding:20px;
    border-radius:16px;
    text-align:center;
    max-width:300px;
}

.qr-popup img{
    width:250px;
    height:250px;
    display:block;
    margin:auto;
}

.qr-popup p{
    margin-top:15px;
    color:#ff0a0a;
    font-size:15px;
    font-weight:600;
}

.qr-box{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    cursor:pointer;
}

.qr-box .fa-qrcode{
    font-size:30px;
    color:#f8c21c;
}

.qr-text{
    font-size:13px;
    color:#cbd5e1;
    font-weight:500;
}
