/* =========================================
   PERFIL — STREAMING SYSTEM
   ========================================= */

/* ===== HEADER PERFIL ===== */

.am-profile-header{
    text-align:center;
    margin-bottom:30px;
}

.am-profile-avatar{
    width:110px;
    height:110px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #1f2937;
    margin:auto;
    display:block;
}

.am-profile-avatar:hover{
    border-color:#f59e0b;
}

.am-profile-avatar-initial{
    width:110px;
    height:110px;
    border-radius:50%;
    background:#f59e0b;
    color:black;
    font-size:32px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
}

.am-profile-name{
    margin-top:12px;
    font-size:20px;
    font-weight:600;
}

.am-profile-bio{
    margin-top:6px;
    color:#9ca3af;
    font-size:14px;
    max-width:420px;
    margin-left:auto;
    margin-right:auto;
}

/* ===== CARD MEMBRESÍA ===== */

.am-membership-card{
    background:#0b1220;
    border-radius:14px;
    padding:20px;
    text-align:center;
    margin-bottom:25px;
    border:1px solid rgba(255,255,255,.04);
}

.am-membership-card h2{
    margin:10px 0;
}

/* ===== FORM PERFIL ===== */

.am-profile-form{
    background:#0b1220;
    padding:25px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.04);
}

/* grid */

.am-profile-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

/* inputs */

.am-profile-form input,
.am-profile-form textarea{
    width:100%;
    background:#070b14;
    border:1px solid #1a2030;
    padding:12px 14px;
    border-radius:10px;
    color:white;
    font-size:14px;
    margin-bottom:12px;
    outline:none;
    transition:.2s;
}

.am-profile-form textarea{
    resize:none;
}

.am-profile-form input:focus,
.am-profile-form textarea:focus{
    border-color:#f59e0b;
    box-shadow:0 0 0 1px #f59e0b;
}

/* labels */

.am-profile-form label{
    font-size:13px;
    color:#9ca3af;
    display:block;
    margin-bottom:4px;
}

/* ===== AVATAR EDIT ===== */

.am-profile-avatar-wrapper{
    display:flex;
    flex-direction:column;
    align-items:center;
    margin-bottom:20px;
}

.am-avatar-edit{
    position:relative;
    cursor:pointer;
}

/* overlay */

.am-avatar-overlay{
    position:absolute;
    inset:0;
    border-radius:50%;
    background:rgba(0,0,0,.6);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition:.25s;
    font-size:12px;
}

.am-avatar-edit:hover .am-avatar-overlay{
    opacity:1;
}

.am-avatar-overlay i{
    width:18px;
    height:18px;
    margin-bottom:4px;
}

/* ===== BADGE MEMBRO ===== */

.badge{
    background:#22c55e;
    padding:5px 10px;
    border-radius:6px;
    font-size:11px;
    font-weight:600;
}

.badge.off{
    background:#374151;
}

/* ===== RESPONSIVE ===== */

@media (max-width:768px){

    .am-profile-avatar{
        width:90px;
        height:90px;
    }

    .am-profile-avatar-initial{
        width:90px;
        height:90px;
        font-size:26px;
    }

}

/* ===== MEMBERSHIP CARD PRO ===== */

.am-membership-card{
    position:relative;
    padding:25px;
    border-radius:18px;
    text-align:center;
    margin-bottom:25px;
    overflow:hidden;
    transition:.3s;
}

/* ===== INACTIVA (gris elegante) ===== */

.am-membership-card.inactive{
    background:linear-gradient(145deg,#1a1f2e,#0b1220);
    border:1px solid rgba(255,255,255,.05);
}

/* ===== ACTIVA (dorado + lila) ===== */

.am-membership-card.active{
    background:linear-gradient(135deg,#f59e0b,#7c3aed);
    color:white;
    border:1px solid rgba(255,255,255,.15);
    box-shadow:0 0 40px rgba(124,58,237,.3);
}

/* ===== DIAMANTE ===== */

.am-card-diamond{
    position:absolute;
    top:12px;
    right:12px;
    width:34px;
    height:34px;
    border-radius:50%;
    background:rgba(0,0,0,.25);
    display:flex;
    align-items:center;
    justify-content:center;
    backdrop-filter:blur(6px);
}

.am-membership-card.active .am-card-diamond{
    background:rgba(255,255,255,.2);
}

.am-card-diamond svg{
    width:16px;
    height:16px;
}

/* ===== STATUS ===== */

.am-card-status{
    font-size:11px;
    letter-spacing:.5px;
    margin-bottom:8px;
    opacity:.8;
}

.am-card-status.off{
    opacity:.6;
}

/* ===== WARNING ===== */

.am-warning{
    color:#ff9800;
    margin-top:10px;
}