:root{
    --primary:#6d5dfc;
    --primary-hover:#7f72ff;
    --secondary:#00d4ff;

    --bg:#0b0b0f;
    --card:#14141a;
    --card-2:#1a1a22;
    --border:#24242d;

    --text:#ffffff;
    --text-light:#d4d4d8;
    --text-muted:#8f8f9d;

    --success:#22c55e;
    --danger:#ef4444;
    --warning:#f59e0b;

    --radius:18px;
    --shadow:0 15px 45px rgba(0,0,0,.45);

    --container:1280px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:linear-gradient(180deg,#09090b,#111118);
    color:var(--text);
    font-family:Inter,sans-serif;
    font-size:15px;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:inherit;
    transition:.25s;
}

img{
    max-width:100%;
    display:block;
}

button,
input{
    font-family:inherit;
    outline:none;
    border:none;
}

.container{
    width:min(100% - 30px,var(--container));
    margin:auto;
}

main{
    padding:30px 0 70px;
}

.home-banner{
    margin-bottom:35px;
}

.banner-slider{
    border-radius:22px;
    overflow:hidden;
    border:1px solid var(--border);
    background:var(--card);
    box-shadow:var(--shadow);
}

.banner-item img{
    width:100%;
    height:320px;
    object-fit:cover;
}

.wallet{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:24px;
    padding:30px;
    margin-bottom:35px;
    box-shadow:var(--shadow);
}

.wallet-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.wallet-small{
    color:var(--text-muted);
    font-size:.9rem;
}

.wallet-top h2{
    margin-top:6px;
    font-size:2rem;
    font-weight:700;
}

.wallet-status{
    background:#18181f;
    border:1px solid var(--border);
    color:var(--success);
    padding:10px 18px;
    border-radius:50px;
    font-size:.85rem;
}

.wallet-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.wallet-card{
    background:linear-gradient(180deg,#1b1b24,#15151b);
    border:1px solid var(--border);
    border-radius:20px;
    padding:25px;
    transition:.25s;
}

.wallet-card:hover{
    transform:translateY(-6px);
    border-color:var(--primary);
}

.wallet-icon{
    width:60px;
    height:60px;
    border-radius:16px;
    background:rgba(109,93,252,.15);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    margin-bottom:20px;
}

.wallet-card span{
    color:var(--text-muted);
    display:block;
}

.wallet-card h3{
    margin:12px 0 20px;
    font-size:1.9rem;
    font-weight:700;
}

.wallet-card a{
    display:flex;
    align-items:center;
    justify-content:center;
    height:48px;
    background:var(--primary);
    color:#fff;
    border-radius:12px;
    font-weight:600;
}

.wallet-card a:hover{
    background:var(--primary-hover);
}

.quick-actions{
    margin-bottom:35px;
}

.quick-actions h2{
    margin-bottom:18px;
    font-size:1.5rem;
}

.actions-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.action-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:20px;
    padding:25px;
    text-align:center;
    transition:.25s;
}

.action-card:hover{
    transform:translateY(-6px);
    border-color:var(--primary);
}

.action-card div{
    width:65px;
    height:65px;
    margin:auto auto 18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(109,93,252,.15);
    border-radius:18px;
    font-size:28px;
}

.action-card span{
    font-weight:600;
    font-size:1rem;
}

.latest-transactions{
    margin-bottom:35px;
}

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.section-header h2{
    font-size:1.4rem;
}

.section-header a{
    color:var(--primary);
    font-weight:600;
}

.transactions-list{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:20px;
    overflow:hidden;
}

.transaction-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px;
    border-bottom:1px solid var(--border);
}

.transaction-item:last-child{
    border-bottom:none;
}

.transaction-icon{
    width:55px;
    height:55px;
    border-radius:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(109,93,252,.15);
    color:var(--primary);
    font-size:22px;
}

.transaction-info{
    flex:1;
    padding:0 18px;
}

.transaction-info h4{
    font-size:1rem;
    margin-bottom:6px;
}

.transaction-info span{
    color:var(--text-muted);
    font-size:.9rem;
}

.transaction-value{
    text-align:right;
}

.transaction-value strong{
    display:block;
    font-size:1.05rem;
}

.transaction-value small{
    color:var(--success);
}

.empty-state{
    padding:40px 20px;
    text-align:center;
    color:var(--text-muted);
}

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#2c2c36;
    border-radius:30px;
}

::-webkit-scrollbar-track{
    background:#111;
}

@media(max-width:1100px){

    .wallet-grid,
    .actions-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    main{
        padding:20px 0 40px;
    }

    .banner-item img{
        height:180px;
    }

    .wallet{
        padding:20px;
    }

    .wallet-top{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .wallet-top h2{
        font-size:1.5rem;
    }

    .wallet-grid,
    .actions-grid{
        grid-template-columns:1fr;
    }

    .wallet-card,
    .action-card{
        padding:20px;
    }

    .wallet-card h3{
        font-size:1.5rem;
    }

    .transaction-item{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .transaction-info{
        padding:0;
    }

    .transaction-value{
        text-align:left;
    }

}