:root{
--bg:#07110d;
--panel:#0f1f18;
--panel2:#132c22;
--primary:#7dff9b;
--text:#f4f5f4;
--muted:#8c9891;
--border:rgba(255,255,255,.06);
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
background:var(--bg);
color:var(--text);
font-family:Arial,sans-serif;
overflow-x:hidden;
}

.layout{
display:flex;
min-height:100vh;
}

.sidebar{
width:260px;
background:linear-gradient(180deg,#0e1f18,#08120e);
border-right:1px solid var(--border);
padding:24px;
position:sticky;
top:0;
height:100vh;
}

.logo{
display:flex;
align-items:center;
gap:14px;
margin-bottom:40px;
}

.logo-icon{
width:54px;
height:54px;
border-radius:18px;
background:linear-gradient(135deg,#84b287,#345237);
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
font-weight:800;
box-shadow:0 0 25px rgba(111,154,114,.35);
}

.logo span{
font-size:13px;
color:var(--muted);
}

.system-status{
display:flex;
align-items:center;
gap:10px;
padding:14px;
border-radius:18px;
background:linear-gradient(180deg,rgba(20,40,31,.95),rgba(11,20,15,.96));
border:1px solid rgba(125,255,155,.08);
margin-bottom:24px;
font-size:13px;
}

.system-status i{
width:10px;
height:10px;
border-radius:50%;
background:#6f9a72;
box-shadow:0 0 12px #6f9a72;
}

.menu{
display:flex;
flex-direction:column;
gap:10px;
}

.menu a{
padding:14px 16px;
border-radius:18px;
text-decoration:none;
color:var(--muted);
font-weight:700;
transition:.2s;
}

.menu a:hover,
.menu a.active{
background:var(--panel2);
color:white;
}

.main{
flex:1;
padding:24px;
}

.header{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
margin-bottom:24px;
}

.header input{
flex:1;
height:58px;
border-radius:20px;
background:linear-gradient(180deg,rgba(20,40,31,.95),rgba(11,20,15,.96));
border:1px solid rgba(125,255,155,.08);
padding:0 20px;
color:white;
outline:none;
}

.profile{
display:flex;
align-items:center;
gap:12px;
padding:10px 16px;
background:linear-gradient(180deg,rgba(20,40,31,.95),rgba(11,20,15,.96));
border-radius:20px;
border:1px solid rgba(125,255,155,.08);
}

.avatar{
width:44px;
height:44px;
border-radius:50%;
background:linear-gradient(135deg,#84b287,#345237);
}

.profile span{
font-size:13px;
color:var(--muted);
}

.hero{
display:flex;
justify-content:space-between;
gap:24px;
flex-wrap:wrap;
padding:36px;
background:linear-gradient(135deg,#163528,#0b1511);
border-radius:32px;
border:1px solid rgba(125,255,155,.08);
margin-bottom:24px;
}

.badge{
display:inline-block;
padding:10px 14px;
border-radius:999px;
background:rgba(111,154,114,.16);
color:#a4c5a6;
font-size:13px;
font-weight:700;
margin-bottom:16px;
}

.hero h1{
font-size:52px;
margin-bottom:14px;
}

.hero p{
max-width:650px;
color:var(--muted);
line-height:1.7;
}

.hero-actions{
display:flex;
gap:12px;
margin-top:24px;
flex-wrap:wrap;
}

.action-btn{
height:48px;
padding:0 18px;
border-radius:18px;
border:1px solid rgba(125,255,155,.08);
background:linear-gradient(180deg,rgba(20,40,31,.95),rgba(11,20,15,.96));
color:white;
font-weight:700;
}

.action-btn.primary{
background:linear-gradient(135deg,#6f9a72,#3e5d42);
}

.hero-grid{
display:flex;
gap:14px;
flex-wrap:wrap;
align-items:stretch;
}

.card{
min-width:180px;
padding:24px;
background:linear-gradient(180deg,rgba(20,40,31,.95),rgba(11,20,15,.96));
border-radius:24px;
border:1px solid rgba(125,255,155,.08);
}

.glass-card{
backdrop-filter:blur(12px);
}

.card strong{
display:block;
font-size:30px;
margin-bottom:8px;
}

.card span{
color:var(--muted);
}

.stats-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:18px;
margin-bottom:24px;
}

.stats-card{
padding:24px;
border-radius:28px;
background:linear-gradient(180deg,rgba(20,40,31,.95),rgba(11,20,15,.96));
border:1px solid rgba(125,255,155,.08);
min-height:150px;
}

.stats-card strong{
font-size:36px;
display:block;
margin:20px 0 8px;
}

.stats-card p,
.stats-meta{
color:var(--muted);
}

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

.stats-icon{
font-size:26px;
}

.command-center{
display:grid;
grid-template-columns:2fr 1fr;
gap:20px;
margin-bottom:24px;
}

.command-card,
.mini-panel,
.feed-box{
background:linear-gradient(180deg,rgba(20,40,31,.95),rgba(11,20,15,.96));
padding:24px;
border-radius:30px;
border:1px solid rgba(125,255,155,.08);
}

.section-title,
.feed-head{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:24px;
}

.section-title span,
.feed-head span{
color:#a4c5a6;
}

.command-items{
display:flex;
flex-direction:column;
gap:16px;
}

.command-item{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px;
background:var(--panel2);
border-radius:22px;
border:1px solid rgba(125,255,155,.08);
}

.command-item p{
margin-top:4px;
color:var(--muted);
font-size:14px;
}

.status{
padding:10px 14px;
border-radius:999px;
font-size:12px;
font-weight:700;
}

.status.success{
background:rgba(111,154,114,.16);
color:#a4c5a6;
}

.status.warning{
background:rgba(255,193,7,.12);
color:#f3d57c;
}

.performance-ring{
width:180px;
height:180px;
border-radius:50%;
margin:0 auto 24px;
background:conic-gradient(#6f9a72 0% 98%, rgba(255,255,255,.08) 98% 100%);
padding:14px;
}

.performance-ring div{
width:100%;
height:100%;
border-radius:50%;
background:linear-gradient(180deg,rgba(20,40,31,.95),rgba(11,20,15,.96));
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
}

.performance-ring strong{
font-size:38px;
}

.performance-ring span{
color:var(--muted);
}

.perf-bars{
display:flex;
flex-direction:column;
gap:14px;
}

.perf-line span{
display:block;
margin-bottom:8px;
}

.bar{
height:12px;
border-radius:999px;
background:rgba(255,255,255,.06);
overflow:hidden;
}

.bar i{
display:block;
height:100%;
border-radius:999px;
background:linear-gradient(90deg,#6f9a72,#90c093);
}

.feed-item{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
padding:20px;
background:var(--panel2);
border-radius:22px;
border:1px solid rgba(125,255,155,.08);
margin-bottom:16px;
}

.feed-user{
font-weight:700;
margin-bottom:6px;
}

.feed-action,
.feed-time{
color:var(--muted);
}

.feed-reward{
padding:12px 16px;
border-radius:18px;
background:rgba(111,154,114,.14);
color:#a4c5a6;
font-weight:700;
white-space:nowrap;
}

.loader{
text-align:center;
padding:20px;
color:var(--muted);
}

.skeleton{
position:relative;
overflow:hidden;
}

.skeleton::after{
content:'';
position:absolute;
inset:0;
transform:translateX(-100%);
background:linear-gradient(90deg,transparent,rgba(255,255,255,.06),transparent);
animation:loading 1.2s infinite;
}

.fade-in{
animation:fade .25s ease;
}

@keyframes loading{
100%{transform:translateX(100%)}
}

@keyframes fade{
from{opacity:0;transform:translateY(10px)}
to{opacity:1;transform:none}
}

@media(max-width:980px){
.layout{
flex-direction:column;
}

.sidebar{
width:100%;
height:auto;
position:relative;
}

.command-center{
grid-template-columns:1fr;
}

.hero h1{
font-size:38px;
}
}

@media(max-width:680px){
.main{
padding:14px;
}

.hero,
.command-card,
.mini-panel,
.feed-box,
.stats-card{
padding:18px;
border-radius:24px;
}

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

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

.feed-reward{
width:100%;
text-align:center;
}
}

.view{
    display:none;
}

.active-view{
    display:block;
}

.offerwall-header{
    margin-top:20px;
    padding:30px;
    border-radius:28px;
    background:linear-gradient(135deg, rgba(20,35,20,.95), rgba(10,18,10,.95));
    border:1px solid rgba(132,255,132,.08);
}

.offerwall-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:18px;
    margin-top:20px;
}

.offer-card{
    padding:22px;
    border-radius:24px;
    background:rgba(16,25,16,.95);
    border:1px solid rgba(132,255,132,.08);
}

.offer-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.offer-top span{
    background:#1e3520;
    color:#b7ffb7;
    padding:6px 12px;
    border-radius:30px;
    font-size:12px;
}

.offer-middle h3{
    font-size:28px;
    margin-bottom:8px;
    color:#b7ffb7;
}

.offer-middle p{
    opacity:.7;
    line-height:1.5;
}

.offer-btn{
    width:100%;
    margin-top:20px;
    border:none;
    padding:14px;
    border-radius:16px;
    background:#87d487;
    color:#071107;
    font-weight:700;
    cursor:pointer;
}

.community-grid{
    display:grid;
    gap:18px;
}

.sidebar-footer{
    margin-top:auto;
    padding:14px;
    border:1px solid rgba(140,255,180,.08);
    border-radius:18px;
    background:rgba(16,32,24,.6);
    display:flex;
    align-items:center;
    gap:10px;
    color:#b5d3bb;
    font-size:13px;
}

.mini-server{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#7dff9b;
    box-shadow:0 0 10px #7dff9b;
}


.offer-card,.stats-card,.command-card,.mini-panel,.feed-box,.hero,.card,.command-item,.feed-item{box-shadow:0 10px 35px rgba(0,0,0,.35),0 0 0 1px rgba(125,255,155,.03),0 0 25px rgba(125,255,155,.04);}
.offer-btn{background:linear-gradient(135deg,#7dff9b,#b7ff8a);box-shadow:0 10px 25px rgba(125,255,155,.25);transition:.2s transform,.2s box-shadow;}
.offer-btn:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(125,255,155,.35);}
.feed-item:hover,.offer-card:hover,.stats-card:hover{transform:translateY(-3px);transition:.2s ease;}
body:before{content:"";position:fixed;inset:0;background:radial-gradient(circle at top right,rgba(125,255,155,.10),transparent 30%),radial-gradient(circle at bottom left,rgba(0,255,170,.08),transparent 25%);pointer-events:none;}
