body{
margin:0;
padding:0;
background:#f5f7ff;
font-family:sans-serif;
}

*{
box-sizing:border-box;
}

.app-container{
max-width:480px;
margin:auto;
padding-bottom:100px;
}

/* ========================= */
/* HEADER */
/* ========================= */

.header-section{
background:linear-gradient(to right,#2563eb,#7c3aed);
padding:18px;
border-radius:0 0 35px 35px;
color:white;
}

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

.profile-box{
display:flex;
gap:12px;
}

.profile-image{
width:62px;
height:62px;
border-radius:50%;
border:2px solid white;
object-fit:cover;
}

.profile-name-row{
display:flex;
align-items:center;
gap:5px;
}

.profile-name{
font-size:23px;
font-weight:700;
margin:0;
}

.verify-icon{
width:18px;
height:18px;
}

.profile-id{
font-size:12px;
margin-top:3px;
opacity:.9;
}

.header-icons{
display:flex;
gap:10px;
}

.header-icon-box{
width:42px;
height:42px;
background:rgba(255,255,255,.14);
border-radius:14px;
display:flex;
justify-content:center;
align-items:center;
position:relative;
backdrop-filter:blur(8px);
}

.header-icon{
width:22px;
height:22px;
filter:brightness(0) invert(1);
}

.notify-dot{
width:10px;
height:10px;
background:red;
border-radius:50%;
position:absolute;
top:5px;
right:5px;
display:none;
border:2px solid white;
}

/* ========================= */
/* TOTAL EARN */
/* ========================= */

.coin-card{
margin-top:14px;
padding:12px 16px;
background:linear-gradient(to right,#2563eb,#60a5fa);
border-radius:22px;
display:flex;
justify-content:space-between;
align-items:center;
box-shadow:0 6px 14px rgba(0,0,0,.10);
min-height:88px;
}

.coin-left{
display:flex;
flex-direction:column;
justify-content:center;
}

.earn-title{
font-size:14px;
font-weight:600;
margin:0;
color:white;
opacity:.95;
}

.coin-row{
display:flex;
align-items:center;
gap:6px;
margin-top:4px;
}

.coin-row span{
font-size:22px;
font-weight:700;
color:white;
}

.coin-main-icon{
width:24px;
height:24px;
}

.coin-bdt{
margin-top:4px;
font-size:12px;
font-weight:700;
color:#86efac;
}
.money-bag-icon{
width:65px;
height:65px;
object-fit:contain;
}
/* ========================= */
/* STATS */
/* ========================= */

.stats-section{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:10px;
padding:6px 15px 0;
margin-top:0px;
margin-bottom:10px;

}

.stats-card{
background:linear-gradient(to bottom,#ffffff,#f3f4f6);
padding:8px 6px;
border-radius:18px;
text-align:center;
box-shadow:0 4px 12px rgb(0 0 0 / 31%);
border:1px solid #eef2ff;
}

.stats-icon{
width:40px;
height:40px;
border-radius:50%;
margin:auto;
display:flex;
justify-content:center;
align-items:center;
}

.stats-icon img{
width:18px;
}

.purple-bg{
background:#ede9fe;
}

.green-bg{
background:#dcfce7;
}

.orange-bg{
background:#fef3c7;
}

.blue-bg{
background:#dbeafe;
}

.stats-title{
font-size:9px;
margin-top:6px;
color:#666;
}

.stats-number{
font-size:15px;
font-weight:700;
margin-top:2px;
}

/* ========================= */
/* INVITE */
/* ========================= */

.invite-section{
padding:0 15px;
}

.invite-card{
background:linear-gradient(to right,#7c3aed,#2563eb);
padding:12px;
border-radius:22px;
color:white;
cursor:pointer;
}

.invite-top{
display:flex;
align-items:center;
gap:8px;
}

.gift-icon{
width:58px;
height:58px;
display:inline-block;
align-items:left;


}

.invite-title{
font-size:17px;
font-weight:700;
margin:0;
}

.invite-reward{
margin-top:2px;
display:flex;
align-items:center;
gap:4px;
font-size:12px;
}

.invite-link-box{
margin-top:10px;
padding:8px 10px;
background:rgba(255,255,255,.14);
border-radius:12px;
display:flex;
align-items:center;
justify-content:space-between;
gap:8px;
width:100%;
}

.invite-link-text{
font-size:9px;
flex:1;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
text-align:center;
padding:0;
}

.copy-link-icon{
width:18px;
height:18px;
filter:brightness(0) invert(1);
}
.invite-link{
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}
/* ========================= */
/* SECTION TITLE */
/* ========================= */

.section-title{
padding:0 15px;
margin-top:24px;
margin-bottom:12px;
font-size:20px;
font-weight:700;
}

/* ========================= */
/* ADS */
/* ========================= */

.ads-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
padding:0 15px;
}

.ad-card{
background:white;
padding:13px;
border-radius:20px;
box-shadow:0 4px 12px rgba(0,0,0,.05);
}

.ad-top{
display:flex;
align-items:center;
gap:6px;
}

.ad-icon{
width:22px;
height:22px;
}

.ad-title{
font-size:15px;
font-weight:700;
margin:0;
}

.ad-description{
display:flex;
align-items:center;
gap:4px;
font-size:11px;
margin-top:6px;
color:#666;
}

.claim-button{
margin-top:10px;
width:100%;
padding:9px;
border:none;
border-radius:12px;
background:linear-gradient(to right,#2563eb,#7c3aed);
color:white;
font-size:13px;
font-weight:700;
display:flex;
justify-content:center;
align-items:center;
gap:5px;
}

.claim-icon{
width:15px;
height:15px;
}

.ad-lock-timer{
margin-top:8px;
font-size:11px;
font-weight:700;
text-align:center;
color:#ef4444;
display:none;
}

/* ========================= */
/* MINI ICON */
/* ========================= */

.mini-coin-icon{
width:14px;
height:14px;
}

/* ========================= */
/* DAILY TASK */
/* ========================= */

.task-item{
background:white;
padding:14px;
border-radius:20px;
display:flex;
justify-content:space-between;
align-items:center;
box-shadow:0 4px 12px rgb(0 0 0 / 31%);
margin-top:5px;

}

.task-left{
display:flex;
align-items:center;
gap:12px;
flex:1;
}

.task-icon{
width:40px;
height:40px;
flex-shrink:0;
}

.task-title-row{
display:flex;
align-items:center;
gap:8px;
margin-bottom:4px;
}

.task-title{
font-size:15px;
font-weight:700;
margin:0;
line-height:1.3;
color:#111827;
}

.task-description{
font-size:11px;
margin-top:1px;
color:#6b7280;
line-height:1.4;
}

.task-limit{
font-size:10px;
margin-top:5px;
color:#4b5563;
font-weight:600;
}

.task-coin{
display:flex;
align-items:center;
gap:4px;
font-size:13px;
font-weight:700;
color:#22c55e;
white-space:nowrap;
margin-left:4px;
margin-top:1px;
}

.task-button{
border:none;
padding:10px 14px;
border-radius:12px;
color:white;
font-weight:700;
font-size:12px;
margin-left:10px;
}

.red-btn{
background:#ef4444;
}

.blue-btn{
background:#2563eb;
}

.orange-btn{
background:#f97316;
}

/* ========================= */
/* SOCIAL TASK */
/* ========================= */

.social-list{
padding:0 15px;
display:flex;
flex-direction:column;
gap:12px;
}

.social-item{
background:white;
padding:13px;
border-radius:20px;
display:flex;
justify-content:space-between;
align-items:center;
box-shadow:0 4px 12px rgba(0,0,0,.05);
}

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

.social-icon{
width:38px;
height:38px;
}

.social-title{
font-size:15px;
margin:0;
}

.social-description{
font-size:11px;
margin-top:1px;
color:#777;
}

.social-right{
display:flex;
flex-direction:column;
align-items:flex-end;
gap:5px;
}

.social-reward{
display:flex;
align-items:center;
gap:4px;
font-size:12px;
font-weight:700;
color:#22c55e;
}

.social-button{
background:#2563eb;
color:white;
border:none;
padding:9px 14px;
border-radius:12px;
font-size:12px;
font-weight:700;
}

.social-complete-button{
background:#22c55e;
color:white;
border:none;
padding:9px 14px;
border-radius:12px;
font-size:12px;
font-weight:700;
}

/* ========================= */
/* NAVIGATION */
/* ========================= */

.bottom-nav{
position:fixed;
bottom:0;
left:0;
right:0;
max-width:480px;
margin:auto;
background:white;
padding:12px;
display:flex;
justify-content:space-around;
border-radius:24px 24px 0 0;
box-shadow:0 -4px 12px rgba(0,0,0,.05);
.bottom-nav{
backdrop-filter:blur(10px);
background:rgba(255,255,255,.95);
}

}

.nav-item{
background:none;
border:none;
display:flex;
flex-direction:column;
align-items:center;
gap:4px;
}

.nav-item img{
width:24px;
height:24px;
}

.nav-item span{
font-size:11px;
font-weight:700;
color:#666;
}

.active-nav span{
color:#7c3aed;
}
/* ========================= */
/* LEADERBOARD */
/* ========================= */

.leaderboard-section{
padding:15px;
}

.leaderboard-list{
display:flex;
flex-direction:column;
gap:12px;
}

.leaderboard-item{
background:white;
padding:14px;
border-radius:20px;
display:flex;
justify-content:space-between;
align-items:center;
box-shadow:0 4px 12px rgba(0,0,0,.05);
}

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

.leaderboard-rank{
width:34px;
height:34px;
border-radius:50%;
background:#ede9fe;
display:flex;
justify-content:center;
align-items:center;
font-size:13px;
font-weight:700;
color:#7c3aed;
}

.leaderboard-avatar{
width:46px;
height:46px;
border-radius:50%;
object-fit:cover;
}

.leaderboard-name{
font-size:15px;
font-weight:700;
margin:0;
}

.leaderboard-id{
font-size:11px;
margin-top:2px;
color:#6b7280;
}

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

.leaderboard-coin-icon{
width:18px;
height:18px;
}

.leaderboard-coin{
font-size:15px;
font-weight:700;
color:#22c55e;
}

/* ========================= */
/* WITHDRAW */
/* ========================= */

.withdraw-section{
padding:15px;
}

.withdraw-card{
background:white;
padding:18px;
border-radius:22px;
box-shadow:0 4px 12px rgba(0,0,0,.05);
}

.withdraw-label{
display:block;
font-size:13px;
font-weight:700;
margin-bottom:8px;
margin-top:12px;
color:#374151;
}

.withdraw-input{
width:100%;
padding:12px;
border-radius:14px;
border:1px solid #e5e7eb;
font-size:13px;
outline:none;
background:#f9fafb;
}

.withdraw-input:focus{
border-color:#7c3aed;
}

.withdraw-button{
width:100%;
margin-top:18px;
padding:13px;
border:none;
border-radius:14px;
background:linear-gradient(to right,#2563eb,#7c3aed);
color:white;
font-size:14px;
font-weight:700;
transition:.2s;
cursor:pointer;
}

.withdraw-button:active{
transform:scale(.97);
opacity:.9;
}
/* ========================= */
/* HISTORY */
/* ========================= */

.withdraw-history-section{
padding:0 15px 20px;
}

.history-list{
display:flex;
flex-direction:column;
gap:12px;
}

.history-item{
background:white;
padding:14px;
border-radius:18px;
display:flex;
justify-content:space-between;
align-items:center;
box-shadow:0 4px 12px rgba(0,0,0,.05);
}

.history-title{
font-size:14px;
font-weight:700;
margin:0;
}

.history-date{
font-size:11px;
margin-top:3px;
color:#f59e0b;
}

.history-amount{
font-size:13px;
font-weight:700;
color:#22c55e;
}
/* ========================= */
/* WITHDRAW EXTRA */
/* ========================= */

.withdraw-alert{
font-size:11px;
margin-top:8px;
color:#ef4444;
font-weight:700;
}

.coin-convert{
font-size:12px;
margin-top:6px;
font-weight:700;
color:#22c55e;
}

.withdraw-limit{
font-size:11px;
margin-top:5px;
color:#6b7280;
font-weight:600;
}

/* ========================= */
/* HISTORY UPDATE */
/* ========================= */

.history-left{
display:flex;
flex-direction:column;
}

.history-right{
display:flex;
flex-direction:column;
align-items:flex-end;
gap:6px;
}

.history-method{
display:flex;
align-items:center;
gap:6px;
font-size:12px;
font-weight:700;
margin-bottom:5px;
}

.history-method-icon{
width:18px;
height:18px;
object-fit:contain;
}

.history-status{
padding:5px 10px;
border-radius:999px;
font-size:11px;
font-weight:700;
}

.pending-status{
background:#fef3c7;
color:#d97706;
}

.success-status{
background:#dcfce7;
color:#16a34a;
}

.failed-status{
background:#fee2e2;
color:#dc2626;
}
.withdraw-header{
padding:16px 20px;
min-height:90px;
}
/* ========================= */
/* NOTIFICATION POPUP */
/* ========================= */

.popup-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.45);
display:none;
justify-content:center;
align-items:center;
z-index:9999;
padding:18px;
backdrop-filter:blur(3px);
}

.popup-card{
width:100%;
max-width:420px;
background:white;
border-radius:26px;
padding:18px;
animation:popupShow .22s ease;
max-height:85vh;
overflow-y:auto;
}

@keyframes popupShow{

from{
transform:translateY(15px) scale(.96);
opacity:0;
}

to{
transform:translateY(0) scale(1);
opacity:1;
}

}

.popup-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:16px;
}

.popup-title{
font-size:19px;
font-weight:700;
margin:0;
color:#111827;
}

.popup-close{
border:none;
background:#f3f4f6;
width:36px;
height:36px;
border-radius:50%;
font-size:16px;
font-weight:700;
cursor:pointer;
}

.notification-list{
display:flex;
flex-direction:column;
gap:12px;
}

.notification-item{
background:#f9fafb;
padding:15px;
border-radius:18px;
border:1px solid #eef2ff;
}

.notification-top{
display:flex;
justify-content:space-between;
align-items:center;
gap:10px;
}

.notification-title{
font-size:14px;
font-weight:700;
margin:0;
color:#111827;
}

.notification-badge{
padding:4px 9px;
border-radius:999px;
font-size:10px;
font-weight:700;
background:#dcfce7;
color:#16a34a;
}

.blue-badge{
background:#dbeafe;
color:#2563eb;
}

.notification-text{
font-size:12px;
margin-top:7px;
line-height:1.5;
color:#6b7280;
}

.notification-time{
font-size:10px;
margin-top:8px;
color:#9ca3af;
font-weight:600;
}

/* RED DOT */

.notify-dot{
width:10px;
height:10px;
background:#ef4444;
border-radius:50%;
position:absolute;
top:5px;
right:5px;
border:2px solid white;
display:block;
}
.header-icon-box{
width:42px;
height:42px;
}
