/* =========================================================
   CRYSTAL CITY — PROFILE
========================================================= */

[data-page="profile"]{
    display:grid;
    gap:16px;
    padding-bottom:calc(var(--nav-height) + 38px);
}

/* HEADER */

[data-page="profile"] .profile-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:16px;
}

[data-page="profile"] .section-kicker{
    display:block;
    margin-bottom:7px;
    color:var(--accent-3,#efbd52);
    font-size:9px;
    font-weight:850;
    letter-spacing:.14em;
    text-transform:uppercase;
}

[data-page="profile"] .section-heading h1{
    margin:0;
    color:#fff;
    font-size:clamp(28px,7vw,38px);
    font-weight:850;
}

[data-page="profile"] .section-description{
    margin:8px 0 0;
    color:rgba(220,239,229,.60);
    font-size:12px;
    line-height:1.5;
}

.profile-status{
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(14,43,34,.72);
    border:1px solid rgba(255,255,255,.1);
    font-size:10px;
    font-weight:800;
    color:#eef8f3;
}
.profile-status-dot{
    width:8px;height:8px;border-radius:50%;
    background:#42df9c;
    box-shadow:0 0 10px #42df9c;
}

/* HERO */

.profile-hero,
.profile-progress-card,
.profile-stats,
.profile-notice{
    border:1px solid rgba(255,255,255,.10);
    border-radius:24px;
    padding:18px;
    background:linear-gradient(145deg,rgba(12,39,31,.97),rgba(19,49,39,.88));
    box-shadow:0 16px 34px rgba(0,0,0,.24);
    backdrop-filter:blur(18px);
}

.profile-hero{
    display:flex;
    align-items:center;
    gap:18px;
}

.profile-avatar-wrap{
    position:relative;
    flex:0 0 auto;
}

.profile-avatar{
    width:88px;
    height:88px;
    border-radius:50%;
    overflow:hidden;
    display:grid;
    place-items:center;
    background:linear-gradient(180deg,#45dbae,#18805d);
    color:#fff;
    font-size:28px;
    font-weight:900;
}

.profile-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.profile-level-badge{
    position:absolute;
    right:-6px;
    bottom:-4px;
    background:#efbd52;
    color:#332100;
    font-size:10px;
    font-weight:900;
    border-radius:999px;
    padding:4px 8px;
}

.profile-label{
    color:#efbd52;
    font-size:10px;
    text-transform:uppercase;
    font-weight:800;
    letter-spacing:.08em;
}

.profile-identity h2{
    margin:5px 0;
    color:#fff;
    font-size:28px;
}

.profile-identity p,
.profile-id-row{
    color:rgba(220,239,229,.65);
    font-size:12px;
}

.profile-id-row{
    margin-top:8px;
    display:flex;
    justify-content:space-between;
    gap:12px;
}

/* XP */

.profile-progress-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:12px;
    gap:10px;
}

.profile-card-label{
    display:block;
    color:#efbd52;
    font-size:10px;
    text-transform:uppercase;
    margin-bottom:4px;
}

.profile-progress-track{
    height:10px;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    overflow:hidden;
}

.profile-progress-track span{
    display:block;
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,#42df9c,#7af0cb);
}

/* ASSETS */

.profile-assets{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.profile-asset-card{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.1);
    background:linear-gradient(145deg,rgba(12,39,31,.97),rgba(19,49,39,.88));
}

.profile-asset-icon{
    width:54px;height:54px;
    border-radius:16px;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.05);
}

.profile-asset-icon img{
    width:42px;height:42px;object-fit:contain;
}

.profile-usdt-symbol{
    font-size:26px;
    color:#53d98f;
    font-weight:900;
}

.profile-asset-copy span{
    display:block;
    color:rgba(220,239,229,.6);
    font-size:10px;
}

.profile-asset-copy strong{
    display:block;
    margin-top:4px;
    color:#fff;
    font-size:18px;
}

/* STATS */

.profile-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

.profile-stat-item{
    text-align:center;
}

.profile-stat-item span{
    display:block;
    color:rgba(220,239,229,.58);
    font-size:10px;
}

.profile-stat-item strong{
    display:block;
    margin-top:6px;
    color:#fff;
    font-size:20px;
}

/* NOTICE */

.profile-notice{
    display:flex;
    gap:14px;
}

.profile-notice-icon{
    width:84px;height:26px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#efbd52;
    color:#3d2d08;
    font-weight:900;
}

/* ACTIONS */

.profile-actions{
    display:grid;
    gap:12px;
}

.profile-action-button{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    width:100%;
    padding:16px 18px;
    border:none;
    border-radius:20px;
    background:linear-gradient(145deg,rgba(12,39,31,.97),rgba(19,49,39,.88));
    border:1px solid rgba(255,255,255,.1);
    color:#fff;
    cursor:pointer;
}

.profile-action-copy strong{
    display:block;
    text-align:left;
    font-size:15px;
}

.profile-action-copy small{
    display:block;
    margin-top:4px;
    color:rgba(220,239,229,.6);
}

.profile-action-arrow{
    font-size:24px;
    color:#efbd52;
}

@media(min-width:721px){
.profile-assets{grid-template-columns:repeat(4,1fr);}
}

@media(max-width:480px){
.profile-hero{flex-direction:column;text-align:center;}
.profile-id-row{justify-content:center;}
.profile-stats{grid-template-columns:1fr;}
.profile-asset-card{padding:12px;}
.profile-identity h2{font-size:24px;}
}